home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
100%
| dexvert
| Texinfo Document (document/texInfo)
| magic
| Supported |
1%
| dexvert
| Corel 10 Texture (image/corel10Texture)
| ext
| Unsupported |
1%
| dexvert
| Croteam texture file (image/croteamTextureFile)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| TeX document, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| text/x-matlab
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 43 6f 70 79 72 69 | 67 68 74 20 28 63 29 20 |% Copyri|ght (c) |
|00000010| 31 39 39 36 20 62 79 20 | 4c 65 6c 65 20 47 61 69 |1996 by |Lele Gai|
|00000020| 66 61 78 2e 20 20 41 6c | 6c 20 52 69 67 68 74 73 |fax. Al|l Rights|
|00000030| 20 52 65 73 65 72 76 65 | 64 0a 25 0a 25 20 54 68 | Reserve|d.%.% Th|
|00000040| 69 73 20 66 69 6c 65 20 | 69 73 20 70 61 72 74 20 |is file |is part |
|00000050| 6f 66 20 74 68 65 20 50 | 79 4f 62 6a 43 20 70 61 |of the P|yObjC pa|
|00000060| 63 6b 61 67 65 2e 0a 25 | 0a 25 20 24 52 43 53 66 |ckage..%|.% $RCSf|
|00000070| 69 6c 65 3a 20 6c 69 62 | 50 79 4f 62 6a 43 2e 74 |ile: lib|PyObjC.t|
|00000080| 65 78 2c 76 20 24 0a 25 | 20 24 52 65 76 69 73 69 |ex,v $.%| $Revisi|
|00000090| 6f 6e 3a 20 31 2e 31 2e | 31 2e 32 20 24 0a 25 20 |on: 1.1.|1.2 $.% |
|000000a0| 24 44 61 74 65 3a 20 31 | 39 39 36 2f 31 30 2f 32 |$Date: 1|996/10/2|
|000000b0| 33 20 31 37 3a 32 30 3a | 31 34 20 24 0a 25 0a 25 |3 17:20:|14 $.%.%|
|000000c0| 20 43 72 65 61 74 65 64 | 20 4d 6f 6e 20 4f 63 74 | Created| Mon Oct|
|000000d0| 20 20 37 20 31 37 3a 35 | 35 3a 30 32 20 31 39 39 | 7 17:5|5:02 199|
|000000e0| 36 2e 0a 25 0a 0a 5c 63 | 68 61 70 74 65 72 7b 4f |6..%..\c|hapter{O|
|000000f0| 62 6a 65 63 74 69 76 65 | 2d 43 20 4c 61 6e 67 75 |bjective|-C Langu|
|00000100| 61 67 65 7d 0a 0a 54 68 | 65 20 6d 6f 64 75 6c 65 |age}..Th|e module|
|00000110| 73 20 64 65 73 63 72 69 | 62 65 64 20 69 6e 20 74 |s descri|bed in t|
|00000120| 68 69 73 20 63 68 61 70 | 74 65 72 20 70 72 6f 76 |his chap|ter prov|
|00000130| 69 64 65 20 74 68 65 20 | 69 6e 74 65 72 66 61 63 |ide the |interfac|
|00000140| 65 20 74 6f 20 74 68 65 | 0a 4f 62 6a 65 63 74 69 |e to the|.Objecti|
|00000150| 76 65 2d 43 20 6c 61 6e | 67 75 61 67 65 2e 20 54 |ve-C lan|guage. T|
|00000160| 68 65 69 72 20 75 73 65 | 20 6f 70 65 6e 73 20 74 |heir use| opens t|
|00000170| 68 65 20 72 69 63 68 20 | 4e 65 58 54 53 54 45 50 |he rich |NeXTSTEP|
|00000180| 27 73 20 41 50 49 20 74 | 6f 20 50 79 74 68 6f 6e |'s API t|o Python|
|00000190| 0a 61 70 70 6c 69 63 61 | 74 69 6f 6e 2c 20 62 75 |.applica|tion, bu|
|000001a0| 74 20 73 69 6e 63 65 20 | 69 74 20 77 69 6c 6c 20 |t since |it will |
|000001b0| 73 75 70 70 6f 72 74 20 | 74 68 65 20 47 4e 55 20 |support |the GNU |
|000001c0| 4f 62 6a 65 63 74 69 76 | 65 2d 43 20 52 75 6e 74 |Objectiv|e-C Runt|
|000001d0| 69 6d 65 20 61 73 0a 77 | 65 6c 6c 20 61 73 20 74 |ime as.w|ell as t|
|000001e0| 68 65 20 4e 65 58 54 53 | 54 45 50 20 6f 6e 65 2c |he NeXTS|TEP one,|
|000001f0| 20 47 4e 55 73 74 65 70 | 20 74 6f 6f 20 77 69 6c | GNUstep| too wil|
|00000200| 6c 20 62 65 6e 65 66 69 | 74 20 66 72 6f 6d 20 74 |l benefi|t from t|
|00000210| 68 69 73 20 77 6f 72 6b | 2e 0a 0a 54 68 65 72 65 |his work|...There|
|00000220| 20 69 73 20 61 20 5c 64 | 66 6e 7b 53 70 65 63 69 | is a \d|fn{Speci|
|00000230| 61 6c 20 49 6e 74 65 72 | 65 73 74 20 47 72 6f 75 |al Inter|est Grou|
|00000240| 70 7d 20 77 69 74 68 20 | 61 20 6d 61 69 6c 69 6e |p} with |a mailin|
|00000250| 67 2d 6c 69 73 74 20 63 | 61 6c 6c 65 64 0a 5c 63 |g-list c|alled.\c|
|00000260| 6f 64 65 7b 6f 62 6a 63 | 2d 73 69 67 7d 20 77 68 |ode{objc|-sig} wh|
|00000270| 69 63 68 20 69 73 20 77 | 6f 72 6b 69 6e 67 20 6f |ich is w|orking o|
|00000280| 6e 20 74 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 61 |n this f|unctiona|
|00000290| 6c 69 74 79 2e 20 59 6f | 75 20 6d 61 79 20 66 69 |lity. Yo|u may fi|
|000002a0| 6e 64 0a 6d 6f 72 65 20 | 69 6e 66 6f 72 6d 61 74 |nd.more |informat|
|000002b0| 69 6f 6e 20 6f 6e 20 69 | 74 20 69 6e 20 74 68 65 |ion on i|t in the|
|000002c0| 20 61 70 70 72 6f 70 72 | 69 61 74 65 20 57 45 42 | appropr|iate WEB|
|000002d0| 20 70 61 67 65 20 61 74 | 0a 5c 63 6f 64 65 7b 68 | page at|.\code{h|
|000002e0| 74 74 70 3a 2f 2f 77 77 | 77 2e 70 79 74 68 6f 6e |ttp://ww|w.python|
|000002f0| 2e 6f 72 67 2f 73 69 67 | 73 2f 6f 62 6a 63 2d 73 |.org/sig|s/objc-s|
|00000300| 69 67 2f 7d 2e 0a 0a 54 | 68 65 20 5c 63 6f 64 65 |ig/}...T|he \code|
|00000310| 7b 4f 62 6a 43 7d 20 6d | 6f 64 75 6c 65 20 69 6d |{ObjC} m|odule im|
|00000320| 70 6c 65 6d 65 6e 74 73 | 20 61 6e 20 69 6e 74 65 |plements| an inte|
|00000330| 72 66 61 63 65 20 6c 61 | 79 65 72 20 62 65 74 77 |rface la|yer betw|
|00000340| 65 65 6e 20 50 79 74 68 | 6f 6e 0a 61 6e 64 20 4f |een Pyth|on.and O|
|00000350| 62 6a 65 63 74 69 76 65 | 2d 43 2e 20 4f 6e 65 20 |bjective|-C. One |
|00000360| 6f 66 20 74 68 65 20 67 | 6f 61 6c 73 20 6f 66 20 |of the g|oals of |
|00000370| 74 68 65 20 6d 6f 64 75 | 6c 65 20 77 61 73 20 74 |the modu|le was t|
|00000380| 6f 20 74 72 61 6e 73 70 | 61 72 65 6e 74 6c 79 0a |o transp|arently.|
|00000390| 6d 61 70 20 4f 62 6a 65 | 63 74 69 76 65 2d 43 20 |map Obje|ctive-C |
|000003a0| 6f 62 6a 65 63 74 73 20 | 74 6f 20 50 79 74 68 6f |objects |to Pytho|
|000003b0| 6e 20 6f 6e 65 73 20 61 | 6e 64 20 76 69 63 65 76 |n ones a|nd vicev|
|000003c0| 65 72 73 61 2c 20 69 6e | 20 73 75 63 68 20 61 20 |ersa, in| such a |
|000003d0| 77 61 79 0a 74 68 61 74 | 20 74 68 65 20 75 73 65 |way.that| the use|
|000003e0| 72 20 6f 66 20 74 68 65 | 20 6d 6f 64 75 6c 65 20 |r of the| module |
|000003f0| 73 68 6f 75 6c 64 6e 27 | 74 20 65 76 65 6e 20 62 |shouldn'|t even b|
|00000400| 65 20 61 77 61 72 65 20 | 74 68 61 74 20 28 73 29 |e aware |that (s)|
|00000410| 68 65 20 69 73 0a 61 63 | 63 65 73 73 69 6e 67 20 |he is.ac|cessing |
|00000420| 6f 62 6a 65 63 74 73 20 | 69 6d 70 6c 65 6d 65 6e |objects |implemen|
|00000430| 74 65 64 20 69 6e 20 74 | 68 65 20 6f 74 68 65 72 |ted in t|he other|
|00000440| 20 6c 61 6e 67 75 61 67 | 65 2e 0a 0a 54 68 65 20 | languag|e...The |
|00000450| 5c 63 6f 64 65 7b 4f 62 | 6a 43 53 74 72 65 61 6d |\code{Ob|jCStream|
|00000460| 73 7d 20 6d 6f 64 75 6c | 65 20 69 6d 70 6c 65 6d |s} modul|e implem|
|00000470| 65 6e 74 73 20 61 6e 20 | 69 6e 74 65 72 66 61 63 |ents an |interfac|
|00000480| 65 20 6f 62 6a 65 63 74 | 20 74 6f 0a 4f 62 6a 65 |e object| to.Obje|
|00000490| 63 74 69 76 65 2d 43 20 | 53 74 72 65 61 6d 73 2e |ctive-C |Streams.|
|000004a0| 20 0a 0a 5c 69 6e 70 75 | 74 7b 6c 69 62 4f 62 6a | ..\inpu|t{libObj|
|000004b0| 43 7d 0a 5c 69 6e 70 75 | 74 7b 6c 69 62 4f 62 6a |C}.\inpu|t{libObj|
|000004c0| 43 53 74 72 65 61 6d 73 | 7d 0a 0a 25 0a 25 20 4c |CStreams|}..%.% L|
|000004d0| 6f 63 61 6c 20 56 61 72 | 69 61 62 6c 65 73 3a 0a |ocal Var|iables:.|
|000004e0| 25 20 63 68 61 6e 67 65 | 2d 6c 6f 67 2d 64 65 66 |% change|-log-def|
|000004f0| 61 75 6c 74 2d 6e 61 6d | 65 3a 22 2e 2e 2f 43 68 |ault-nam|e:"../Ch|
|00000500| 61 6e 67 65 4c 6f 67 2e | 50 79 4f 62 6a 43 22 0a |angeLog.|PyObjC".|
|00000510| 25 20 45 6e 64 3a 0a 25 | 0a |% End:.%|. |
+--------+-------------------------+-------------------------+--------+--------+