home *** CD-ROM | disk | FTP | other *** search
Unknown | 1993-06-20 | 16.1 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Wanton Packer Module (music/wantonPacker)
| ext
| Supported |
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 01 | 04 00 3f 85 04 00 27 1e |........|..?...'.|
|00000010| 04 00 11 b0 04 00 03 5b | 04 00 11 b2 00 04 be f8 |.......[|........|
|00000020| 00 04 be e4 00 04 bf 00 | 00 04 be e8 00 04 be ec |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 04 00 00 00 00 00 00 |........|........|
|00000040| 09 00 00 00 00 ff 00 00 | ff 00 00 00 00 00 2d 7a |........|......-z|
|00000050| 00 00 2f de 03 10 00 00 | 1b 74 00 40 24 2c 00 48 |../.....|.t.@$,.H|
|00000060| 25 bd 02 ad 00 32 00 00 | 37 f5 ff 00 00 00 00 00 |%....2..|7.......|
|00000070| 00 00 00 00 00 00 01 01 | 03 18 00 00 00 48 00 48 |........|.....H.H|
|00000080| 00 00 00 18 02 64 03 18 | 00 00 00 00 02 64 03 18 |.....d..|.....d..|
|00000090| 00 64 00 04 19 00 04 00 | 3c b9 01 5e 2e 6d 02 27 |.d......|<..^.m.'|
|000000a0| 00 18 04 00 3c b9 01 5e | 2e 6d 02 27 00 18 00 9f |....<..^|.m.'....|
|000000b0| 00 00 06 8f 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 40 77 00 00 40 77 00 00 | 40 77 00 00 89 b9 00 00 |@w..@w..|@w......|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 04 00 3f 85 | 04 00 27 1e 04 00 11 b0 |......?.|..'.....|
|00000110| 04 00 03 5b 04 00 11 b2 | 00 04 be f8 00 04 be e4 |...[....|........|
|00000120| 00 04 bf 00 00 04 be e8 | 00 04 be ec 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 04 00 00 | 00 00 00 00 09 00 00 00 |........|........|
|00000140| 00 ff 00 00 00 00 00 00 | 00 00 2d 7a 00 00 2f de |........|..-z../.|
|00000150| 03 10 00 00 1b 74 00 40 | 24 2c 00 48 25 bd 02 ad |.....t.@|$,.H%...|
|00000160| 00 32 00 00 37 f5 ff 00 | 00 00 00 00 00 00 00 00 |.2..7...|........|
|00000170| 00 00 01 01 03 18 00 00 | 00 48 00 48 00 00 00 18 |........|.H.H....|
|00000180| 02 64 03 18 00 00 00 00 | 02 64 03 18 00 64 00 04 |.d......|.d...d..|
|00000190| 19 00 04 00 3c b9 02 d1 | 2f 2d 02 0e 00 18 04 00 |....<...|/-......|
|000001a0| 3c b9 02 d1 2f 2d 02 0e | 00 18 00 9f 00 00 06 8f |<.../-..|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 40 77 00 00 |........|....@w..|
|000001c0| 40 77 00 00 40 77 00 00 | 89 b9 00 00 00 00 00 00 |@w..@w..|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 04 0d 0d 0d 0d 00 04 | 0d 0d 0d 0d 01 4d fc 00 |........|.....M..|
|00000210| 74 02 a4 00 74 02 0e 02 | c4 08 00 f7 ff 00 15 24 |t...t...|.......$|
|00000220| 01 f7 4e 61 6d 69 6e 67 | 20 43 6f 6e 76 65 6e 74 |..Naming| Convent|
|00000230| 69 6f 6e 73 0d ff 00 15 | 18 00 f7 28 63 6f 6e 74 |ions....|...(cont|
|00000240| 69 6e 75 65 64 29 ff 00 | 15 24 01 f7 0d ff 00 15 |inued)..|.$......|
|00000250| 18 01 f7 fc 00 74 02 a4 | 00 5d 00 0e 01 d0 02 88 |.....t..|.]......|
|00000260| f7 0d fc 00 74 02 a4 00 | 74 00 0e 01 d0 08 00 f7 |....t...|t.......|
|00000270| 0d fc 00 74 02 a4 00 5d | 00 0e 01 d0 08 00 f7 2d |...t...]|.......-|
|00000280| 20 56 61 72 69 61 62 6c | 65 73 0d fc 00 74 02 a4 | Variabl|es...t..|
|00000290| 00 74 00 0e 01 d0 08 00 | f7 ff 00 15 18 02 f7 42 |.t......|.......B|
|000002a0| 65 67 69 6e 20 77 69 74 | 68 20 6c 6f 77 65 72 20 |egin wit|h lower |
|000002b0| 63 61 73 65 2e ff 00 15 | 18 01 f7 0d fc 00 74 02 |case....|......t.|
|000002c0| a4 00 5d 00 0e 01 d0 02 | 88 f7 09 09 45 78 3a 20 |..].....|....Ex: |
|000002d0| 20 ff 00 16 18 01 f7 6d | 79 41 70 70 6c 65 ff 00 | ......m|yApple..|
|000002e0| 16 18 00 f7 0d ff 00 15 | 18 01 f7 0d fc 00 74 02 |........|......t.|
|000002f0| a4 00 5d 00 0e 01 d0 08 | 00 f7 2d 20 4d 65 74 68 |..].....|..- Meth|
|00000300| 6f 64 73 0d fc 00 74 02 | a4 00 74 00 0e 01 d0 08 |ods...t.|..t.....|
|00000310| 00 f7 ff 00 15 18 02 f7 | 42 65 67 69 6e 20 77 69 |........|Begin wi|
|00000320| 74 68 20 6c 6f 77 65 72 | 20 63 61 73 65 2e ff 00 |th lower| case...|
|00000330| 15 18 01 f7 0d fc 00 74 | 02 a4 00 5d 00 0e 01 d0 |.......t|...]....|
|00000340| 02 88 f7 09 09 45 78 3a | 20 20 ff 00 16 18 01 f7 |.....Ex:| ......|
|00000350| 67 72 6f 77 ff 00 16 18 | 00 f7 0d 00 3e 00 40 00 |grow....|....>.@.|
|00000360| 00 00 01 f8 be b9 b9 70 | 51 81 0f eb bd 9a a8 c3 |.......p|Q.......|
|00000370| 88 fd d7 7f ee 59 2b a2 | b7 f6 ad 8b 94 0f 5a 79 |.....Y+.|......Zy|
|00000380| 01 c9 a4 f7 9a 15 83 8b | 94 05 61 07 2d c7 ec 05 |........|..a.-...|
|00000390| 16 d1 03 80 7f 3d b8 00 | 61 73 69 00 90 fc 00 5c |.....=..|asi....\|
|000003a0| 02 bc 00 5c 00 0e 02 30 | 08 00 f7 ff 00 15 24 03 |...\...0|......$.|
|000003b0| f7 45 78 61 6d 70 6c 65 | 3a 20 20 54 68 65 20 41 |.Example|: The A|
|000003c0| 70 70 6c 65 20 63 6c 61 | 73 73 2e ff 00 15 24 01 |pple cla|ss....$.|
|000003d0| f7 0d ff 00 14 18 00 f7 | fc 00 74 02 a4 00 74 00 |........|..t...t.|
|000003e0| 0e 02 30 08 00 f7 0d ff | 00 15 18 02 f7 52 65 63 |..0.....|.....Rec|
|000003f0| 61 6c 6c 20 74 68 65 20 | ff 00 15 18 03 f7 41 70 |all the |......Ap|
|00000400| 70 6c 65 ff 00 15 18 02 | f7 20 63 6c 61 73 73 20 |ple.....|. class |
|00000410| 69 6e 68 65 72 69 74 61 | 6e 63 65 20 68 69 65 72 |inherita|nce hier|
|00000420| 61 72 63 68 79 3a ff 00 | 14 18 00 f7 0d 00 26 ff |archy:..|......&.|
|00000430| 00 16 18 00 f7 0d fb 00 | 00 00 01 01 26 01 96 57 |........|....&..W|
|00000440| 4e 47 72 61 70 68 69 63 | 2e 33 32 39 32 38 32 2e |NGraphic|.329282.|
|00000450| 65 70 73 f7 0d 00 15 fc | 00 74 02 a4 00 74 02 0e |eps.....|.t...t..|
|00000460| 02 30 08 00 f7 ff 00 15 | 28 00 f7 0d 02 05 fc 00 |.0......|(.......|
|00000470| 74 02 a4 00 5d 00 0e 01 | d0 02 88 f7 ff 00 15 24 |t...]...|.......$|
|00000480| 03 f7 4d 65 73 73 61 67 | 65 20 45 78 70 72 65 73 |..Messag|e Expres|
|00000490| 73 69 6f 6e 20 20 ff 00 | 15 18 02 f7 28 63 6f 6e |sion ..|....(con|
|000004a0| 74 69 6e 75 65 64 29 ff | 00 15 24 01 f7 0d fc 00 |tinued).|..$.....|
|000004b0| 74 02 a4 00 5d 02 0e 01 | d0 02 88 f7 0d fc 00 74 |t...]...|.......t|
|000004c0| 02 f0 05 00 5d 00 0e 01 | d0 02 88 f7 ff 00 16 1c |....]...|........|
|000004d0| 01 f7 5b 62 6f 78 20 73 | 65 74 53 69 64 65 3a 31 |..[box s|etSide:1|
|000004e0| 20 74 6f 43 6f 6c 6f 72 | 3a 22 72 65 64 22 5d 3b | toColor|:"red"];|
|000004f0| ff 00 16 0c 01 f7 0d fc | 00 89 02 bb 00 88 00 0e |........|........|
|00000500| 02 88 f7 ff 00 15 18 02 | f7 53 65 6e 64 73 20 ff |........|.Sends .|
|00000510| 00 16 1c 01 f7 73 65 74 | 53 69 64 65 3a 74 6f 43 |.....set|Side:toC|
|00000520| 6f 6c 6f 72 3a ff 00 15 | 18 02 f7 20 6d 65 73 73 |olor:...|... mess|
|00000530| 61 67 65 20 74 6f 20 ff | 00 16 1c 01 f7 62 6f 78 |age to .|.....box|
|00000540| ff 00 15 18 02 f7 2e 20 | 20 54 77 6f 20 61 72 67 |....... | Two arg|
|00000550| 75 6d 65 6e 74 73 20 61 | 72 65 20 70 61 73 73 65 |uments a|re passe|
|00000560| 64 2c 20 ff 00 16 1c 01 | f7 31 ff 00 15 18 02 f7 |d, .....|.1......|
|00000570| 20 61 6e 64 20 ff 00 16 | 1c 01 f7 22 72 65 64 22 | and ...|..."red"|
|00000580| ff 00 15 18 02 f7 2e 0d | fc 00 89 02 a4 00 88 00 |........|........|
|00000590| 0e 02 88 f7 0d fc 00 62 | 02 bb 00 61 00 0e 02 88 |.......b|...a....|
|000005a0| f7 ff 00 16 1c 01 f7 5b | 6d 79 56 69 65 77 20 6d |.......[|myView m|
|000005b0| 6f 76 65 54 6f 3a 78 20 | 3a 79 5d 3b ff 00 16 18 |oveTo:x |:y];....|
|000005c0| 01 f7 0d ff 00 15 18 02 | f7 fc 00 89 02 bb 00 88 |........|........|
|000005d0| 00 0e 02 88 f7 53 65 6e | 64 73 20 ff 00 16 1c 01 |.....Sen|ds .....|
|000005e0| f7 6d 6f 76 65 54 6f 3a | 3a ff 00 15 18 02 f7 20 |.moveTo:|:...... |
|000005f0| 6d 65 73 73 61 67 65 20 | 74 6f 20 ff 00 16 1c 01 |message |to .....|
|00000600| f7 6d 79 56 69 65 77 ff | 00 15 18 02 f7 2e 20 20 |.myView.|...... |
|00000610| 54 77 6f 20 61 72 67 75 | 6d 65 6e 74 73 20 61 72 |Two argu|ments ar|
|00000620| 65 20 70 61 73 73 65 64 | 2c 20 ff 00 16 1c 01 f7 |e passed|, ......|
|00000630| 78 ff 00 15 18 02 f7 20 | 61 6e 64 20 ff 00 16 1c |x...... |and ....|
|00000640| 01 f7 79 ff 00 15 18 02 | f7 2e 0d fc 00 89 02 a4 |..y.....|........|
|00000650| 00 88 00 0e 02 88 f7 0d | fc 00 74 02 a4 00 5d 00 |........|..t...].|
|00000660| 0e 01 d0 02 88 f7 ff 00 | 16 1c 01 f7 ff 00 16 18 |........|........|
|00000670| 01 f7 0d 02 70 0d fc 00 | 74 02 a4 00 46 00 0e 01 |....p...|t...F...|
|00000680| d0 06 b0 f7 ff 00 15 24 | 03 f7 4d 65 74 68 6f 64 |.......$|..Method|
|00000690| 20 4f 76 65 72 72 69 64 | 69 6e 67 20 75 73 69 6e | Overrid|ing usin|
|000006a0| 67 20 ff 00 16 28 01 f7 | 73 75 70 65 72 ff 00 15 |g ...(..|super...|
|000006b0| 18 02 f7 0d 0d fc 00 5e | 02 d0 00 47 00 0e 01 d0 |.......^|...G....|
|000006c0| 07 80 f7 ff 00 15 18 00 | f7 46 ff 00 15 18 00 f7 |........|.F......|
|000006d0| 72 65 71 75 65 6e 74 6c | 79 20 74 68 65 20 67 6f |requentl|y the go|
|000006e0| 61 6c 20 69 6e 20 6f 76 | 65 72 72 69 64 69 6e 67 |al in ov|erriding|
|000006f0| 20 74 68 65 20 73 75 70 | 65 72 63 6c 61 73 73 27 | the sup|erclass'|
|00000700| 20 6d 65 74 68 6f 64 20 | 69 73 20 74 6f 20 ff 00 | method |is to ..|
|00000710| 15 18 03 f7 65 6e 68 61 | 6e 63 65 ff 00 15 18 03 |....enha|nce.....|
|00000720| f7 2c 20 ff 00 15 18 02 | f7 6e 6f 74 20 72 65 70 |., .....|.not rep|
|00000730| 6c 61 63 65 2c ff 00 15 | 18 00 f7 20 69 74 73 20 |lace,...|... its |
|00000740| 62 65 68 61 76 69 6f 72 | 2e 20 20 42 65 6c 6f 77 |behavior|. Below|
|00000750| 2c 20 61 6c 6c 20 74 68 | 65 20 66 75 6e 63 74 69 |, all th|e functi|
|00000760| 6f 6e 61 6c 69 74 79 20 | 6f 66 20 74 68 65 20 73 |onality |of the s|
|00000770| 75 70 65 72 63 6c 61 73 | 73 27 20 6d 65 74 68 6f |uperclas|s' metho|
|00000780| 64 20 69 73 20 6b 65 70 | 74 2c 20 77 68 69 6c 65 |d is kep|t, while|
|00000790| 20 ff 00 15 18 03 f7 61 | 64 64 69 6e 67 ff 00 15 | ......a|dding...|
|000007a0| 18 00 f7 20 66 75 6e 63 | 74 69 6f 6e 61 6c 69 74 |... func|tionalit|
|000007b0| 79 20 28 ff 00 16 18 01 | f7 3c 65 78 74 72 61 20 |y (.....|.<extra |
|000007c0| 63 6f 64 65 3e ff 00 15 | 18 00 f7 29 20 69 6e 20 |code>...|...) in |
|000007d0| 74 68 65 20 73 75 62 63 | 6c 61 73 73 2e 20 20 55 |the subc|lass. U|
|000007e0| 73 65 20 ff 00 16 18 01 | f7 73 75 70 65 72 ff 00 |se .....|.super..|
|000007f0| 15 18 00 f7 20 74 6f 20 | 67 65 74 20 74 6f 20 74 |.... to |get to t|
|00000800| 68 65 20 73 75 70 65 72 | 63 6c 61 73 73 20 69 6d |he super|class im|
|00000810| 70 6c 65 6d 65 6e 74 61 | 74 69 6f 6e 2e 0d 0d fc |plementa|tion....|
|00000820| 00 48 02 d1 00 48 00 0e | 02 9c 07 80 f7 ff 00 16 |.H...H..|........|
|00000830| 18 01 f7 2d 6d 65 74 68 | 6f 64 4e 61 6d 65 20 20 |...-meth|odName |
|00000840| 2f 2a 20 6d 65 74 68 6f | 64 20 64 65 66 69 6e 65 |/* metho|d define|
|00000850| 64 20 69 6e 20 73 75 62 | 63 6c 61 73 73 20 2a 2f |d in sub|class */|
|00000860| 0d 7b 0d fc 00 48 02 d1 | 00 48 00 0e 01 b0 07 80 |.{...H..|.H......|
|00000870| f7 09 5b 73 75 70 65 72 | 20 6d 65 74 68 6f 64 4e |..[super| methodN|
|00000880| 61 6d 65 5d 20 20 2f 2f | 73 75 70 65 72 27 73 20 |ame] //|super's |
|00000890| 6d 65 74 68 6f 64 20 66 | 69 72 73 74 0d 09 3c 65 |method f|irst..<e|
|000008a0| 78 74 72 61 20 63 6f 64 | 65 3e 20 0d 09 72 65 74 |xtra cod|e> ..ret|
|000008b0| 75 72 6e 20 73 65 6c 66 | 3b 0d fc 00 5a 02 d1 00 |urn self|;...Z...|
|000008c0| 5a 00 0e 02 9c 07 80 f7 | 7d ff 00 16 14 01 f7 0d |Z.......|}.......|
|000008d0| fc 00 5a 02 d1 00 5a 00 | 0e 01 d0 07 80 f7 ff 00 |..Z...Z.|........|
|000008e0| 15 18 00 f7 0d 02 9f ff | 00 15 24 03 f7 43 72 65 |........|..$..Cre|
|000008f0| 61 74 69 6e 67 20 61 20 | 4e 65 77 20 49 6e 73 74 |ating a |New Inst|
|00000900| 61 6e 63 65 ff 00 15 18 | 00 f7 0d ff 00 15 18 01 |ance....|........|
|00000910| f7 0d fc 00 50 02 9f 00 | 50 00 0e 01 d0 06 b0 f7 |....P...|P.......|
|00000920| ff 00 15 18 00 f7 57 68 | 65 6e 20 63 72 65 61 74 |......Wh|en creat|
|00000930| 69 6e 67 20 61 20 6e 65 | 77 20 69 6e 73 74 61 6e |ing a ne|w instan|
|00000940| 63 65 2c 20 66 69 72 73 | 74 20 6d 65 73 73 61 67 |ce, firs|t messag|
|00000950| 65 20 74 68 65 20 63 6c | 61 73 73 20 6f 62 6a 65 |e the cl|ass obje|
|00000960| 63 74 20 74 6f 20 ff 00 | 15 18 03 f7 61 6c 6c 6f |ct to ..|....allo|
|00000970| 63 61 74 65 ff 00 15 18 | 00 f7 20 74 68 65 20 6d |cate....|.. the m|
|00000980| 65 6d 6f 72 79 2c 20 74 | 68 65 6e 20 ff 00 15 18 |emory, t|hen ....|
|00000990| 03 f7 69 6e 69 74 69 61 | 6c 69 7a 65 ff 00 15 18 |..initia|lize....|
|000009a0| 00 f7 20 74 68 65 20 6e | 65 77 20 69 6e 73 74 61 |.. the n|ew insta|
|000009b0| 6e 63 65 3a 0d fc 00 74 | 02 a4 00 46 00 0e 01 d0 |nce:...t|...F....|
|000009c0| 06 b0 f7 20 0d fc 00 74 | 02 a4 00 5d 00 0e 01 d0 |... ...t|...]....|
|000009d0| 06 b0 f7 ff 00 16 18 01 | f7 6d 79 41 70 70 6c 65 |........|.myApple|
|000009e0| 20 3d 20 5b 41 70 70 6c | 65 20 61 6c 6c 6f 63 5d | = [Appl|e alloc]|
|000009f0| 3b 0d 5b 6d 79 41 70 70 | 6c 65 20 69 6e 69 74 5d |;.[myApp|le init]|
|00000a00| 3b 0d ff 00 15 18 00 f7 | 0d fc 00 50 02 a4 00 50 |;.......|...P...P|
|00000a10| 00 0e 01 d0 06 b0 f7 53 | 69 6e 63 65 20 ff 00 16 |.......S|ince ...|
|00000a20| 18 01 f7 61 6c 6c 6f 63 | ff 00 15 18 00 f7 20 72 |...alloc|...... r|
|00000a30| 65 74 75 72 6e 73 20 74 | 68 65 20 ff 00 16 18 01 |eturns t|he .....|
|00000a40| f7 69 64 ff 00 15 18 00 | f7 20 6f 66 20 74 68 65 |.id.....|. of the|
|00000a50| 20 6e 65 77 20 69 6e 73 | 74 61 6e 63 65 2c 20 61 | new ins|tance, a|
|00000a60| 6e 64 20 69 6e 69 74 20 | 72 65 74 75 72 6e 73 20 |nd init |returns |
|00000a70| ff 00 16 18 01 f7 73 65 | 6c 66 ff 00 15 18 00 f7 |......se|lf......|
|00000a80| 2c 20 74 68 69 73 20 69 | 73 20 62 65 73 74 20 64 |, this i|s best d|
|00000a90| 6f 6e 65 20 28 61 6e 64 | 20 ff 00 15 18 02 f7 73 |one (and| ......s|
|00000aa0| 68 6f 75 6c 64 ff 00 15 | 18 00 f7 20 62 65 20 64 |hould...|... be d|
|00000ab0| 6f 6e 65 29 20 69 6e 20 | 63 6f 6d 62 69 6e 61 74 |one) in |combinat|
|00000ac0| 69 6f 6e 3a 0d fc 00 74 | 02 a4 00 5d 00 0e 01 d0 |ion:...t|...]....|
|00000ad0| 06 b0 f7 0d ff 00 16 18 | 01 f7 6d 79 41 70 70 6c |........|..myAppl|
|00000ae0| 65 20 3d 20 5b 5b 41 70 | 70 6c 65 20 61 6c 6c 6f |e = [[Ap|ple allo|
|00000af0| 63 5d 20 69 6e 69 74 5d | 3b 0d fc 00 5f 02 a4 00 |c] init]|;..._...|
|00000b00| 48 00 0e 01 d0 06 b0 f7 | ff 00 16 18 01 f7 0d fc |H.......|........|
|00000b10| 00 5f 02 d1 00 40 00 0e | 01 d0 06 b0 f7 ff 00 15 |._...@..|........|
|00000b20| 18 02 f7 4e 6f 74 65 3a | 20 20 46 6f 72 20 ff 00 |...Note:| For ..|
|00000b30| 15 18 03 f7 56 69 65 77 | ff 00 15 18 02 f7 20 6f |....View|...... o|
|00000b40| 62 6a 65 63 74 73 2c 20 | 75 73 65 20 ff 00 16 18 |bjects, |use ....|
|00000b50| 01 f7 69 6e 69 74 46 72 | 61 6d 65 3a ff 00 15 18 |..initFr|ame:....|
|00000b60| 02 f7 20 69 6e 73 74 65 | 61 64 20 6f 66 20 ff 00 |.. inste|ad of ..|
|00000b70| 16 18 01 f7 69 6e 69 74 | ff 00 15 18 02 f7 2e ff |....init|........|
|00000b80| 00 16 18 01 f7 0d 02 47 | ff 00 15 24 03 f7 fc 00 |.......G|...$....|
|00000b90| 5f 02 a4 00 48 00 0e 01 | d0 06 b0 f7 52 65 74 75 |_...H...|....Retu|
|00000ba0| 72 6e 69 6e 67 20 53 65 | 6c 66 0d ff 00 15 18 03 |rning Se|lf......|
|00000bb0| f7 fc 00 74 02 a4 00 5d | 00 0e 01 d0 06 b0 f7 0d |...t...]|........|
|00000bc0| fc 00 60 02 cf 00 49 00 | 0e 01 d0 06 b0 f7 ff 00 |..`...I.|........|
|00000bd0| 15 18 00 f7 49 6e 20 74 | 68 65 20 70 72 65 76 69 |....In t|he previ|
|00000be0| 6f 75 73 20 65 78 61 6d | 70 6c 65 2c 20 ff 00 16 |ous exam|ple, ...|
|00000bf0| 18 01 f7 69 6e 69 74 ff | 00 15 18 00 f7 20 72 65 |...init.|..... re|
|00000c00| 74 75 72 6e 65 64 20 ff | 00 16 18 01 f7 73 65 6c |turned .|.....sel|
|00000c10| 66 ff 00 15 18 00 f7 20 | 61 73 20 74 68 65 20 72 |f...... |as the r|
|00000c20| 65 74 75 72 6e 20 76 61 | 6c 75 65 20 6f 66 20 74 |eturn va|lue of t|
|00000c30| 68 65 20 6d 65 74 68 6f | 64 2e 20 20 ff 00 15 18 |he metho|d. ....|
|00000c40| 03 f7 41 6c 6c ff 00 15 | 18 00 f7 20 6d 65 74 68 |..All...|... meth|
|00000c50| 6f 64 73 20 73 68 6f 75 | 6c 64 20 72 65 74 75 72 |ods shou|ld retur|
|00000c60| 6e 20 ff 00 16 18 01 f7 | 73 65 6c 66 ff 00 15 18 |n ......|self....|
|00000c70| 00 f7 20 62 79 20 64 65 | 66 61 75 6c 74 20 ff 00 |.. by de|fault ..|
|00000c80| 15 18 03 f7 75 6e 6c 65 | 73 73 ff 00 15 18 00 f7 |....unle|ss......|
|00000c90| 20 74 68 65 79 20 6d 75 | 73 74 20 65 78 70 6c 69 | they mu|st expli|
|00000ca0| 63 69 74 6c 79 20 72 65 | 74 75 72 6e 20 73 6f 6d |citly re|turn som|
|00000cb0| 65 20 6f 74 68 65 72 20 | 76 61 6c 75 65 2e 20 20 |e other |value. |
|00000cc0| 54 68 69 73 20 61 6c 6c | 6f 77 73 20 6e 65 73 74 |This all|ows nest|
|00000cd0| 65 64 20 63 61 6c 6c 73 | 2e 20 20 46 6f 72 20 65 |ed calls|. For e|
|00000ce0| 78 61 6d 70 6c 65 2c 0d | 0d ff 00 16 18 01 f7 5b |xample,.|.......[|
|00000cf0| 6d 79 42 61 6e 61 6e 61 | 20 73 65 74 53 69 7a 65 |myBanana| setSize|
|00000d00| 3a 32 5d 3b 0d 5b 6d 79 | 42 61 6e 61 6e 61 20 63 |:2];.[my|Banana c|
|00000d10| 6f 6c 6f 72 3a 22 79 65 | 6c 6c 6f 77 22 5d 3b 0d |olor:"ye|llow"];.|
|00000d20| ff 00 15 18 00 f7 0d 49 | 66 20 ff 00 16 18 01 f7 |.......I|f ......|
|00000d30| 73 65 74 53 69 7a 65 3a | ff 00 15 18 00 f7 20 72 |setSize:|...... r|
|00000d40| 65 74 75 72 6e 73 20 ff | 00 16 18 01 f7 73 65 6c |eturns .|.....sel|
|00000d50| 66 ff 00 15 18 00 f7 2c | 20 74 68 65 73 65 20 63 |f......,| these c|
|00000d60| 61 6e 20 62 65 20 6e 65 | 73 74 65 64 20 61 73 20 |an be ne|sted as |
|00000d70| 66 6f 6c 6c 6f 77 73 3a | 0d fc 00 74 02 a4 00 5d |follows:|...t...]|
|00000d80| 00 0e 01 d0 06 b0 f7 0d | ff 00 16 18 01 f7 5b 5b |........|......[[|
|00000d90| 6d 79 42 61 6e 61 6e 61 | 20 73 65 74 53 69 7a 65 |myBanana| setSize|
|00000da0| 3a 32 5d 20 63 6f 6c 6f | 72 3a 22 79 65 6c 6c 6f |:2] colo|r:"yello|
|00000db0| 77 22 5d ff 00 15 18 00 | f7 0d fc 00 74 02 a4 00 |w"].....|....t...|
|00000dc0| 46 00 0e 01 d0 06 b0 f7 | ff 00 15 18 00 f7 0d 01 |F.......|........|
|00000dd0| 5d fc 00 74 02 a4 00 46 | 00 0e 01 d0 06 b0 f7 ff |]..t...F|........|
|00000de0| 00 15 24 03 f7 43 6c 61 | 73 73 ff 00 15 24 03 f7 |..$..Cla|ss...$..|
|00000df0| 20 61 6e 64 20 49 6e 73 | 74 61 6e 63 65 20 4d 65 | and Ins|tance Me|
|00000e00| 74 68 6f 64 73 0d ff 00 | 15 24 01 f7 0d ff 00 15 |thods...|.$......|
|00000e10| 18 00 f7 0d 4d 65 73 73 | 61 67 65 73 20 74 6f 20 |....Mess|ages to |
|00000e20| 69 6e 76 6f 6b 65 20 ff | 00 15 18 03 f7 63 6c 61 |invoke .|.....cla|
|00000e30| 73 73 ff 00 15 18 03 f7 | 20 6d 65 74 68 6f 64 73 |ss......| methods|
|00000e40| ff 00 15 18 00 f7 20 6d | 75 73 74 20 62 65 20 73 |...... m|ust be s|
|00000e50| 65 6e 74 20 74 6f 20 74 | 68 65 20 63 6c 61 73 73 |ent to t|he class|
|00000e60| 20 6f 62 6a 65 63 74 2e | 20 20 54 68 65 20 6d 6f | object.| The mo|
|00000e70| 73 74 20 63 6f 6d 6d 6f | 6e 20 63 6c 61 73 73 20 |st commo|n class |
|00000e80| 6d 65 74 68 6f 64 20 69 | 73 20 ff 00 16 1c 01 f7 |method i|s ......|
|00000e90| 61 6c 6c 6f 63 ff 00 15 | 18 00 f7 20 74 6f 20 61 |alloc...|... to a|
|00000ea0| 6c 6c 6f 63 61 74 65 20 | 6d 65 6d 6f 72 79 20 66 |llocate |memory f|
|00000eb0| 6f 72 20 28 74 6f 20 63 | 72 65 61 74 65 29 20 61 |or (to c|reate) a|
|00000ec0| 20 6e 65 77 20 69 6e 73 | 74 61 6e 63 65 20 6f 66 | new ins|tance of|
|00000ed0| 20 61 20 63 6c 61 73 73 | 2e 0d 0d 0d 4d 65 73 73 | a class|....Mess|
|00000ee0| 61 67 65 73 20 74 6f 20 | 69 6e 76 6f 6b 65 20 ff |ages to |invoke .|
|00000ef0| 00 15 18 03 f7 69 6e 73 | 74 61 6e 63 65 20 6d 65 |.....ins|tance me|
|00000f00| 74 68 6f 64 73 ff 00 15 | 18 00 f7 20 61 72 65 20 |thods...|... are |
|00000f10| 73 65 6e 74 20 6f 6e 6c | 79 20 74 6f 20 69 6e 73 |sent onl|y to ins|
|00000f20| 74 61 6e 63 65 73 ff 00 | 15 18 00 f7 2e 0d 02 7d |tances..|.......}|
|00000f30| fc 00 74 02 a4 00 46 00 | 0e 01 d0 06 b0 f7 ff 00 |..t...F.|........|
|00000f40| 15 24 03 f7 4d 65 74 68 | 6f 64 20 4f 76 65 72 72 |.$..Meth|od Overr|
|00000f50| 69 64 69 6e 67 ff 00 15 | 24 01 f7 20 ff 00 15 24 |iding...|$.. ...$|
|00000f60| 03 f7 75 73 69 6e 67 20 | ff 00 16 28 01 f7 73 75 |..using |...(..su|
|00000f70| 70 65 72 ff 00 15 24 01 | f7 20 ff 00 15 18 02 f7 |per...$.|. ......|
|00000f80| 28 63 6f 6e 74 69 6e 75 | 65 64 29 0d 0d fc 00 5e |(continu|ed)....^|
|00000f90| 02 d0 00 47 00 0e 01 d0 | 07 80 f7 ff 00 15 18 00 |...G....|........|
|00000fa0| f7 54 68 65 20 72 6f 6f | 74 20 63 6c 61 73 73 20 |.The roo|t class |
|00000fb0| ff 00 15 18 03 f7 4f 62 | 6a 65 63 74 ff 00 15 18 |......Ob|ject....|
|00000fc0| 00 f7 20 64 65 66 69 6e | 65 73 20 61 20 64 65 66 |.. defin|es a def|
|00000fd0| 61 75 6c 74 20 ff 00 16 | 18 01 f7 69 6e 69 74 ff |ault ...|...init.|
|00000fe0| 00 15 18 00 f7 20 6d 65 | 74 68 6f 64 2e 20 20 43 |..... me|thod. C|
|00000ff0| 6c 61 73 73 65 73 20 77 | 69 73 68 69 6e 67 20 74 |lasses w|ishing t|
|00001000| 6f 20 61 64 64 20 74 68 | 65 69 72 20 6f 77 6e 20 |o add th|eir own |
|00001010| 69 6e 69 74 69 61 6c 69 | 7a 61 74 69 6f 6e 20 63 |initiali|zation c|
|00001020| 6f 64 65 20 77 68 65 6e | 20 69 6e 73 74 61 6e 63 |ode when| instanc|
|00001030| 65 73 20 61 72 65 20 63 | 72 65 61 74 65 64 20 6d |es are c|reated m|
|00001040| 75 73 74 20 66 69 72 73 | 74 20 69 6e 76 6f 6b 65 |ust firs|t invoke|
|00001050| 20 61 6c 6c 20 69 6e 68 | 65 72 69 74 65 64 20 69 | all inh|erited i|
|00001060| 6e 69 74 69 61 6c 69 7a | 61 74 69 6f 6e 20 63 6f |nitializ|ation co|
|00001070| 64 65 2e 0d ff 00 15 0c | 00 f7 0d ff 00 15 18 00 |de......|........|
|00001080| f7 46 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 69 66 |.For exa|mple, if|
|00001090| 20 61 6c 6c 20 6e 65 77 | 20 69 6e 73 74 61 6e 63 | all new| instanc|
|000010a0| 65 73 20 6f 66 20 41 70 | 70 6c 65 20 6d 75 73 74 |es of Ap|ple must|
|000010b0| 20 62 65 20 69 6e 69 74 | 69 61 6c 69 7a 65 64 20 | be init|ialized |
|000010c0| 77 69 74 68 20 61 20 73 | 69 7a 65 20 6f 66 20 31 |with a s|ize of 1|
|000010d0| 3a 0d ff 00 16 14 01 f7 | fc 00 74 02 a4 00 5d 00 |:.......|..t...].|
|000010e0| 0e 01 d0 07 80 f7 0d fc | 00 5d 02 a4 00 5d 00 0e |........|.]...]..|
|000010f0| 02 9c 07 80 f7 ff 00 16 | 18 01 f7 2d 69 6e 69 74 |........|...-init|
|00001100| ff 00 16 18 01 f7 7b 2f | 2a 20 49 6e 69 74 20 6d |......{/|* Init m|
|00001110| 65 74 68 6f 64 20 66 6f | 72 20 41 70 70 6c 65 20 |ethod fo|r Apple |
|00001120| 63 6c 61 73 73 2a 2f 0d | fc 00 5d 02 ac 00 5d 00 |class*/.|..]...].|
|00001130| 0e 02 04 07 80 f7 09 5b | 73 75 70 65 72 20 69 6e |.......[|super in|
|00001140| 69 74 5d 20 20 20 2f 2f | 66 69 72 73 74 2c 20 69 |it] //|first, i|
|00001150| 6e 68 65 72 69 74 65 64 | 20 69 6e 69 74 0d fc 00 |nherited| init...|
|00001160| 5d 02 a4 00 5d 00 0e 02 | 04 07 80 f7 09 5b 73 65 |]...]...|.....[se|
|00001170| 6c 66 20 73 65 74 53 69 | 7a 65 3a 31 5d 20 20 20 |lf setSi|ze:1] |
|00001180| 2f 2f 3c 65 78 74 72 61 | 20 63 6f 64 65 3e 0d 09 |//<extra| code>..|
|00001190| 72 65 74 75 72 6e 20 73 | 65 6c 66 3b 0d fc 00 5d |return s|elf;...]|
|000011a0| 02 a4 00 5d 00 0e 02 44 | 07 80 f7 7d 0d 00 01 0d |...]...D|...}....|
|000011b0| 00 00 00 78 00 03 00 00 | 00 48 00 48 00 00 00 00 |...x....|.H.H....|
|000011c0| 02 64 03 18 00 00 00 00 | 02 64 03 18 01 5b 05 28 |.d......|.d...[.(|
|000011d0| 03 fc 00 02 00 00 00 48 | 00 48 00 00 00 00 03 18 |.......H|.H......|
|000011e0| 02 64 00 01 00 00 00 64 | 00 00 00 01 00 01 01 01 |.d.....d|........|
|000011f0| 00 00 00 01 27 0f 00 01 | 00 01 00 00 00 00 00 00 |....'...|........|
|00001200| 00 00 00 00 00 00 00 02 | 00 19 01 90 00 00 00 00 |........|........|
|00001210| 00 40 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.@......|........|
|00001220| 00 00 00 00 00 00 00 00 | 00 00 00 00 01 f2 fc 00 |........|........|
|00001230| 74 02 a4 00 46 00 0e 01 | d0 06 b0 f7 ff 00 15 24 |t...F...|.......$|
|00001240| 03 f7 4d 65 74 68 6f 64 | 20 4f 76 65 72 72 69 64 |..Method| Overrid|
|00001250| 69 6e 67 ff 00 15 24 01 | f7 20 ff 00 15 24 03 f7 |ing...$.|. ...$..|
|00001260| 75 73 69 6e 67 20 ff 00 | 16 28 01 f7 73 75 70 65 |using ..|.(..supe|
|00001270| 72 ff 00 15 24 01 f7 20 | ff 00 15 18 02 f7 28 63 |r...$.. |......(c|
|00001280| 6f 6e 74 69 6e 75 65 64 | 29 0d 0d 41 6e 6f 74 68 |ontinued|)..Anoth|
|00001290| 65 72 20 65 78 61 6d 70 | 6c 65 3a 20 20 20 53 75 |er examp|le: Su|
|000012a0| 70 70 6f 73 65 20 ff 00 | 15 18 03 f7 4d 61 63 69 |ppose ..|....Maci|
|000012b0| 6e 74 6f 73 68 ff 00 15 | 18 02 f7 20 69 73 20 61 |ntosh...|... is a|
|000012c0| 20 73 75 62 63 6c 61 73 | 73 20 6f 66 20 ff 00 15 | subclas|s of ...|
|000012d0| 18 03 f7 41 70 70 6c 65 | ff 00 15 18 02 f7 2c 20 |...Apple|......, |
|000012e0| 61 6e 64 20 65 76 65 72 | 79 20 74 69 6d 65 20 69 |and ever|y time i|
|000012f0| 74 20 67 72 6f 77 73 2c | 20 69 74 73 20 63 6f 6c |t grows,| its col|
|00001300| 6f 72 20 67 65 74 73 20 | 64 61 72 6b 65 72 2e 20 |or gets |darker. |
|00001310| 20 54 68 65 20 ff 00 15 | 18 03 f7 67 72 6f 77 ff | The ...|...grow.|
|00001320| 00 15 18 02 f7 20 6d 65 | 74 68 6f 64 20 66 6f 72 |..... me|thod for|
|00001330| 20 ff 00 15 18 03 f7 4d | 61 63 69 6e 74 6f 73 68 | ......M|acintosh|
|00001340| ff 00 15 18 02 f7 20 6d | 69 67 68 74 20 6c 6f 6f |...... m|ight loo|
|00001350| 6b 20 6c 69 6b 65 3a 0d | 0d 0d fc 00 48 02 d1 00 |k like:.|....H...|
|00001360| 48 00 0e 02 9c 07 80 f7 | ff 00 16 18 01 f7 2d 67 |H.......|......-g|
|00001370| 72 6f 77 ff 00 16 18 01 | f7 20 20 2f 2a 20 6d 65 |row.....|. /* me|
|00001380| 74 68 6f 64 20 64 65 66 | 69 6e 65 64 20 69 6e 20 |thod def|ined in |
|00001390| 4d 61 63 69 6e 74 6f 73 | 68 20 2a 2f 0d 7b 0d fc |Macintos|h */.{..|
|000013a0| 00 48 02 d1 00 48 00 0e | 01 b0 07 80 f7 09 5b 73 |.H...H..|......[s|
|000013b0| 75 70 65 72 20 67 72 6f | 77 5d 20 20 2f 2f 41 70 |uper gro|w] //Ap|
|000013c0| 70 6c 65 27 73 20 6d 65 | 74 68 6f 64 20 66 69 72 |ple's me|thod fir|
|000013d0| 73 74 0d 09 3c 65 78 74 | 72 61 20 63 6f 64 65 20 |st..<ext|ra code |
|000013e0| 74 6f 20 73 65 74 20 74 | 6f 20 61 20 64 61 72 6b |to set t|o a dark|
|000013f0| 65 72 20 63 6f 6c 6f 72 | 3e 20 0d 09 72 65 74 75 |er color|> ..retu|
|00001400| 72 6e 20 73 65 6c 66 3b | 0d fc 00 5a 02 d1 00 5a |rn self;|...Z...Z|
|00001410| 00 0e 02 9c 07 80 f7 7d | ff 00 16 14 01 f7 0d 0d |.......}|........|
|00001420| 00 1a ff 00 15 0c 00 f7 | 0d 0d ff 00 15 12 03 f7 |........|........|
|00001430| 4f 62 6a 65 63 74 69 76 | 65 2d 43 0d 00 10 ff 00 |Objectiv|e-C.....|
|00001440| 15 12 00 f7 33 20 2d 20 | fd 00 f7 0d 0d 0d 00 d6 |....3 - |........|
|00001450| ff 00 15 1c 01 f7 49 6e | 74 65 72 66 61 63 65 20 |......In|terface |
|00001460| 28 48 65 61 64 65 72 29 | 20 46 69 6c 65 20 20 28 |(Header)| File (|
|00001470| 41 70 70 6c 65 2e 68 29 | ff 00 15 18 01 f7 0d ff |Apple.h)|........|
|00001480| 00 16 18 00 f7 0d fc 00 | 76 02 a4 00 76 00 0e 02 |........|v...v...|
|00001490| c4 08 00 f7 ff 00 16 18 | 01 f7 23 69 6d 70 6f 72 |........|..#impor|
|000014a0| 74 20 22 46 72 75 69 74 | 2e 68 22 0d 0d 40 69 6e |t "Fruit|.h"..@in|
|000014b0| 74 65 72 66 61 63 65 20 | 41 70 70 6c 65 3a 46 72 |terface |Apple:Fr|
|000014c0| 75 69 74 0d 0d 2f 2a 20 | 49 6e 73 74 61 6e 63 65 |uit../* |Instance|
|000014d0| 20 56 61 72 69 61 62 6c | 65 73 20 2a 2f 0d 7b 0d | Variabl|es */.{.|
|000014e0| 09 63 68 61 72 2a 20 20 | 63 6f 6c 6f 72 3b 0d 7d |.char* |color;.}|
|000014f0| 0d 0d 20 2f 2a 20 4d 65 | 74 68 6f 64 73 20 2a 2f |.. /* Me|thods */|
|00001500| 0d 2d 20 28 63 68 61 72 | 20 2a 29 63 6f 6c 6f 72 |.- (char| *)color|
|00001510| 3b 0d 2d 20 67 72 6f 77 | 3b 0d 0d 40 65 6e 64 ff |;.- grow|;..@end.|
|00001520| 00 16 18 00 f7 0d 01 af | fc 00 74 02 a4 00 74 02 |........|..t...t.|
|00001530| 0e 02 30 08 00 f7 ff 00 | 15 24 01 f7 53 79 6e 74 |..0.....|.$..Synt|
|00001540| 61 78 20 6f 66 20 4f 62 | 6a 65 63 74 69 76 65 2d |ax of Ob|jective-|
|00001550| 43 ff 00 15 28 01 f7 0d | ff 00 14 18 00 f7 fc 00 |C...(...|........|
|00001560| 74 02 a4 00 74 00 0e 02 | 30 08 00 f7 0d fc 00 6b |t...t...|0......k|
|00001570| 02 ad 00 6b 00 0e 03 84 | 08 00 f7 ff 00 15 18 00 |...k....|........|
|00001580| f7 54 68 65 20 73 79 6e | 74 61 78 20 6f 66 20 4f |.The syn|tax of O|
|00001590| 62 6a 65 63 74 69 76 65 | 2d 43 20 69 73 20 74 68 |bjective|-C is th|
|000015a0| 65 20 73 61 6d 65 20 61 | 73 20 73 74 61 6e 64 61 |e same a|s standa|
|000015b0| 72 64 20 43 2c 20 77 69 | 74 68 20 74 68 65 20 66 |rd C, wi|th the f|
|000015c0| 6f 6c 6c 6f 77 69 6e 67 | 20 61 64 64 69 74 69 6f |ollowing| additio|
|000015d0| 6e 73 3a 0d ff 00 16 18 | 00 f7 fc 00 74 02 a4 00 |ns:.....|....t...|
|000015e0| 74 00 0e 03 84 08 00 f7 | 0d 0d fc 00 e6 02 a4 00 |t.......|........|
|000015f0| 5c 00 0e 03 a4 08 00 f7 | ff 00 16 18 01 f7 2b ff |\.......|......+.|
|00001600| 00 15 18 00 f7 09 69 6e | 64 69 63 61 74 65 73 20 |......in|dicates |
|00001610| 61 20 63 6c 61 73 73 20 | 6d 65 74 68 6f 64 2e 0d |a class |method..|
|00001620| 0d ff 00 16 18 01 f7 2d | ff 00 15 18 00 f7 09 69 |.......-|.......i|
|00001630| 6e 64 69 63 61 74 65 73 | 20 61 6e 20 69 6e 73 74 |ndicates| an inst|
|00001640| 61 6e 63 65 20 6d 65 74 | 68 6f 64 2e 0d 0d ff 00 |ance met|hod.....|
|00001650| 16 18 01 f7 5b 20 20 5d | ff 00 15 18 00 f7 09 69 |....[ ]|.......i|
|00001660| 6e 64 69 63 61 74 65 73 | 20 73 65 6e 64 69 6e 67 |ndicates| sending|
|00001670| 20 61 20 6d 65 73 73 61 | 67 65 2e 0d 0d ff 00 16 | a messa|ge......|
|00001680| 18 01 f7 3a ff 00 15 18 | 00 f7 09 41 20 6d 65 73 |...:....|...A mes|
|00001690| 73 61 67 65 20 61 72 67 | 75 6d 65 6e 74 20 66 6f |sage arg|ument fo|
|000016a0| 6c 6c 6f 77 73 20 61 20 | 63 6f 6c 6f 6e 2e 20 20 |llows a |colon. |
|000016b0| 54 68 65 20 63 6f 6c 6f | 6e 20 69 73 20 70 61 72 |The colo|n is par|
|000016c0| 74 20 6f 66 20 74 68 65 | 20 6d 65 73 73 61 67 65 |t of the| message|
|000016d0| 20 6e 61 6d 65 2e 0d 01 | cb fc 00 74 02 a4 00 74 | name...|...t...t|
|000016e0| 02 0e 02 30 08 00 f7 ff | 00 15 24 01 f7 53 79 6e |...0....|..$..Syn|
|000016f0| 74 61 78 20 6f 66 20 4f | 62 6a 65 63 74 69 76 65 |tax of O|bjective|
|00001700| 2d 43 ff 00 15 28 01 f7 | 0d fc 00 74 02 a4 00 74 |-C...(..|...t...t|
|00001710| 02 0e 04 10 08 00 f7 ff | 00 15 18 00 f7 28 63 6f |........|.....(co|
|00001720| 6e 74 69 6e 75 65 64 29 | 0d fc 00 e6 02 a4 00 5c |ntinued)|.......\|
|00001730| 00 0e 03 a4 08 00 f7 0d | 0d ff 00 16 18 01 f7 69 |........|.......i|
|00001740| 64 ff 00 15 18 00 f7 09 | 61 20 6e 65 77 20 76 61 |d.......|a new va|
|00001750| 72 69 61 62 6c 65 20 ff | 00 15 18 02 f7 74 79 70 |riable .|.....typ|
|00001760| 65 ff 00 15 18 00 f7 20 | 6d 65 61 6e 69 6e 67 3a |e...... |meaning:|
|00001770| 0d 09 ff 00 15 18 03 f7 | 61 20 70 6f 69 6e 74 65 |........|a pointe|
|00001780| 72 20 74 6f 20 61 6e 20 | 6f 62 6a 65 63 74 20 ff |r to an |object .|
|00001790| 00 15 18 02 f7 28 63 6c | 61 73 73 20 75 6e 73 70 |.....(cl|ass unsp|
|000017a0| 65 63 69 66 69 65 64 2c | 20 64 79 6e 61 6d 69 63 |ecified,| dynamic|
|000017b0| 20 74 79 70 69 6e 67 29 | ff 00 15 18 03 f7 2e 0d | typing)|........|
|000017c0| ff 00 15 18 00 f7 0d ff | 00 16 18 01 f7 73 65 6c |........|.....sel|
|000017d0| 66 ff 00 15 18 00 f7 09 | 61 20 70 6f 69 6e 74 65 |f.......|a pointe|
|000017e0| 72 20 74 6f 20 74 68 65 | 20 6f 62 6a 65 63 74 20 |r to the| object |
|000017f0| 72 65 63 65 69 76 69 6e | 67 20 61 20 6d 65 73 73 |receivin|g a mess|
|00001800| 61 67 65 2c 20 73 65 74 | 20 62 79 20 74 68 65 20 |age, set| by the |
|00001810| 72 75 6e 74 69 6d 65 20 | 73 79 73 74 65 6d 20 6f |runtime |system o|
|00001820| 6e 20 65 6e 74 72 79 20 | 74 6f 20 74 68 65 20 6d |n entry |to the m|
|00001830| 65 74 68 6f 64 2e 0d 0d | ff 00 16 18 01 f7 73 75 |ethod...|......su|
|00001840| 70 65 72 ff 00 15 18 00 | f7 09 61 20 72 65 66 65 |per.....|..a refe|
|00001850| 72 65 6e 63 65 20 74 6f | 20 74 68 65 20 73 75 70 |rence to| the sup|
|00001860| 65 72 63 6c 61 73 73 20 | 6f 66 20 74 68 65 20 6f |erclass |of the o|
|00001870| 62 6a 65 63 74 20 73 65 | 6e 64 69 6e 67 20 61 20 |bject se|nding a |
|00001880| 6d 65 73 73 61 67 65 20 | 74 6f 20 ff 00 16 18 01 |message |to .....|
|00001890| f7 73 75 70 65 72 ff 00 | 15 18 00 f7 2e ff 00 15 |.super..|........|
|000018a0| 18 03 f7 0d 02 30 fc 00 | 74 02 a4 00 74 02 0e 02 |.....0..|t...t...|
|000018b0| 30 08 00 f7 ff 00 15 28 | 01 f7 ff 00 15 28 01 f7 |0......(|.....(..|
|000018c0| 43 6c 61 73 73 20 44 65 | 66 69 6e 69 74 69 6f 6e |Class De|finition|
|000018d0| 73 0d ff 00 15 18 01 f7 | fc 00 74 02 a4 00 74 00 |s.......|..t...t.|
|000018e0| 0e 02 30 08 00 f7 0d fc | 00 5d 02 bb 00 5d 00 0e |..0.....|.]...]..|
|000018f0| 02 30 08 00 f7 ff 00 15 | 18 00 f7 54 68 65 20 ff |.0......|...The .|
|00001900| 00 15 18 03 f7 63 6c 61 | 73 73 20 64 65 66 69 6e |.....cla|ss defin|
|00001910| 69 74 69 6f 6e ff 00 15 | 18 00 f7 20 69 73 20 74 |ition...|... is t|
|00001920| 68 65 20 70 72 6f 74 6f | 74 79 70 65 20 66 6f 72 |he proto|type for|
|00001930| 20 61 20 6b 69 6e 64 20 | 6f 66 20 6f 62 6a 65 63 | a kind |of objec|
|00001940| 74 2e 20 20 49 74 20 64 | 65 63 6c 61 72 65 73 20 |t. It d|eclares |
|00001950| 74 68 65 20 69 6e 73 74 | 61 6e 63 65 20 76 61 72 |the inst|ance var|
|00001960| 69 61 62 6c 65 73 20 61 | 6e 64 20 64 65 66 69 6e |iables a|nd defin|
|00001970| 65 73 20 74 68 65 20 73 | 65 74 20 6f 66 20 6d 65 |es the s|et of me|
|00001980| 74 68 6f 64 73 20 74 68 | 61 74 20 61 6c 6c 20 6f |thods th|at all o|
|00001990| 62 6a 65 63 74 73 20 69 | 6e 20 74 68 65 20 63 6c |bjects i|n the cl|
|000019a0| 61 73 73 20 63 61 6e 20 | 75 73 65 2e 0d fc 00 74 |ass can |use....t|
|000019b0| 02 a4 00 74 00 0e 02 30 | 08 00 f7 0d fc 00 5d 02 |...t...0|......].|
|000019c0| ba 00 5d 00 0e 02 30 08 | 00 f7 ff 00 15 18 02 f7 |..]...0.|........|
|000019d0| 0d 43 6c 61 73 73 65 73 | 20 61 72 65 20 64 65 66 |.Classes| are def|
|000019e0| 69 6e 65 64 20 69 6e 20 | 74 77 6f 20 ff 00 15 18 |ined in |two ....|
|000019f0| 03 f7 73 65 70 61 72 61 | 74 65 ff 00 15 18 02 f7 |..separa|te......|
|00001a00| 20 70 61 72 74 73 20 28 | 69 6e 66 6f 72 6d 61 74 | parts (|informat|
|00001a10| 69 6f 6e 20 68 69 64 69 | 6e 67 29 3a ff 00 15 18 |ion hidi|ng):....|
|00001a20| 00 f7 0d 0d fc 00 74 02 | bc 00 74 00 0e 02 30 08 |......t.|..t...0.|
|00001a30| 00 f7 ff 00 15 18 01 f7 | 49 6e 74 65 72 66 61 63 |........|Interfac|
|00001a40| 65 20 66 69 6c 65 ff 00 | 15 18 00 f7 2e 20 20 ff |e file..|..... .|
|00001a50| 00 15 18 02 f7 54 68 65 | 20 70 75 62 6c 69 63 20 |.....The| public |
|00001a60| 64 65 63 6c 61 72 61 74 | 69 6f 6e 73 20 6f 66 20 |declarat|ions of |
|00001a70| 74 68 65 20 63 6c 61 73 | 73 2e ff 00 15 18 00 f7 |the clas|s.......|
|00001a80| 0d 0d ff 00 15 18 01 f7 | 49 6d 70 6c 65 6d 65 6e |........|Implemen|
|00001a90| 74 61 74 69 6f 6e 20 66 | 69 6c 65 ff 00 15 18 00 |tation f|ile.....|
|00001aa0| f7 2e 20 20 ff 00 15 18 | 02 f7 54 68 65 20 70 72 |.. ....|..The pr|
|00001ab0| 69 76 61 74 65 20 64 65 | 66 69 6e 69 74 69 6f 6e |ivate de|finition|
|00001ac0| 73 20 6f 66 20 74 68 65 | 20 63 6c 61 73 73 2e ff |s of the| class..|
|00001ad0| 00 15 18 00 f7 0d 01 ed | fc 00 74 02 a4 00 74 00 |........|..t...t.|
|00001ae0| 0e 02 30 08 00 f7 ff 00 | 15 24 03 f7 49 6e 74 65 |..0.....|.$..Inte|
|00001af0| 72 66 61 63 65 20 46 69 | 6c 65 ff 00 15 24 01 f7 |rface Fi|le...$..|
|00001b00| 0d ff 00 15 18 01 f7 0d | ff 00 15 18 00 f7 0d fc |........|........|
|00001b10| 00 8a 02 ba 00 74 00 0e | 02 30 08 00 f7 2d 20 ff |.....t..|.0...- .|
|00001b20| 00 15 18 03 f7 44 65 63 | 6c 61 72 65 73 ff 00 15 |.....Dec|lares...|
|00001b30| 18 00 f7 20 74 68 65 20 | 69 6e 74 65 72 66 61 63 |... the |interfac|
|00001b40| 65 20 28 74 68 65 20 69 | 6e 73 74 61 6e 63 65 20 |e (the i|nstance |
|00001b50| 76 61 72 69 61 62 6c 65 | 73 20 61 6e 64 20 6d 65 |variable|s and me|
|00001b60| 74 68 6f 64 73 29 20 74 | 6f 20 74 68 65 20 6e 65 |thods) t|o the ne|
|00001b70| 77 20 63 6c 61 73 73 2e | ff 00 15 18 02 f7 0d ff |w class.|........|
|00001b80| 00 15 18 00 f7 0d fc 00 | 8a 02 a4 00 74 00 0e 02 |........|....t...|
|00001b90| 30 08 00 f7 2d 20 48 61 | 73 20 61 20 22 ff 00 15 |0...- Ha|s a "...|
|00001ba0| 18 01 f7 2e 68 ff 00 15 | 18 00 f7 22 20 65 78 74 |....h...|..." ext|
|00001bb0| 65 6e 73 69 6f 6e 20 62 | 79 20 63 6f 6e 76 65 6e |ension b|y conven|
|00001bc0| 74 69 6f 6e 2e 0d 0d 2d | 20 53 70 65 63 69 66 69 |tion...-| Specifi|
|00001bd0| 65 73 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |es the n|ame of t|
|00001be0| 68 65 20 ff 00 15 18 03 | f7 73 75 70 65 72 63 6c |he .....|.supercl|
|00001bf0| 61 73 73 ff 00 15 18 00 | f7 20 61 6e 64 20 ff 00 |ass.....|. and ..|
|00001c00| 15 18 03 f7 69 6d 70 6f | 72 74 73 ff 00 15 18 00 |....impo|rts.....|
|00001c10| f7 20 74 68 65 20 69 6e | 74 65 72 66 61 63 65 20 |. the in|terface |
|00001c20| 66 69 6c 65 20 6f 66 20 | 74 68 65 20 73 75 70 65 |file of |the supe|
|00001c30| 72 63 6c 61 73 73 2e 0d | 0d 2d 20 54 68 65 20 69 |rclass..|.- The i|
|00001c40| 6e 74 65 72 66 61 63 65 | 20 69 73 20 74 68 65 20 |nterface| is the |
|00001c50| ff 00 15 18 03 f7 70 75 | 62 6c 69 63 20 64 65 63 |......pu|blic dec|
|00001c60| 6c 61 72 61 74 69 6f 6e | ff 00 15 18 00 f7 20 6f |laration|...... o|
|00001c70| 66 20 74 68 65 20 63 6c | 61 73 73 20 61 6e 64 20 |f the cl|ass and |
|00001c80| 69 73 20 61 6c 6c 20 74 | 68 61 74 20 61 20 ff 00 |is all t|hat a ..|
|00001c90| 15 18 03 f7 75 73 65 72 | ff 00 15 18 00 f7 20 77 |....user|...... w|
|00001ca0| 69 6c 6c 20 73 65 65 2e | 0d 0d fc 00 74 02 a4 00 |ill see.|....t...|
|00001cb0| 74 00 0e 02 30 08 00 f7 | ff 00 14 18 03 f7 ff 00 |t...0...|........|
|00001cc0| 14 18 00 f7 0d 01 e8 ff | 00 15 24 03 f7 fc 00 74 |........|..$....t|
|00001cd0| 02 a4 00 74 00 0e 02 30 | 08 00 f7 49 6d 70 6c 65 |...t...0|...Imple|
|00001ce0| 6d 65 6e 74 61 74 69 6f | 6e 20 46 69 6c 65 ff 00 |mentatio|n File..|
|00001cf0| 15 24 01 f7 0d ff 00 15 | 18 01 f7 0d ff 00 15 18 |.$......|........|
|00001d00| 00 f7 0d fc 00 8a 02 ba | 00 78 00 0e 02 30 08 00 |........|.x...0..|
|00001d10| f7 2d 20 ff 00 15 18 03 | f7 44 65 66 69 6e 65 73 |.- .....|.Defines|
|00001d20| ff 00 15 18 00 f7 20 74 | 68 65 20 63 6c 61 73 73 |...... t|he class|
|00001d30| 20 61 6e 64 20 63 6f 6e | 74 61 69 6e 73 20 74 68 | and con|tains th|
|00001d40| 65 20 ff 00 15 18 03 f7 | 63 6f 64 65 ff 00 15 18 |e ......|code....|
|00001d50| 00 f7 20 74 68 61 74 20 | 69 6d 70 6c 65 6d 65 6e |.. that |implemen|
|00001d60| 74 73 20 69 74 2e ff 00 | 15 18 02 f7 0d ff 00 15 |ts it...|........|
|00001d70| 18 00 f7 0d fc 00 8a 02 | a4 00 78 00 0e 02 30 08 |........|..x...0.|
|00001d80| 00 f7 2d 20 48 61 73 20 | 61 20 22 ff 00 15 18 01 |..- Has |a ".....|
|00001d90| f7 2e 6d ff 00 15 18 00 | f7 22 20 65 78 74 65 6e |..m.....|." exten|
|00001da0| 73 69 6f 6e 20 62 79 20 | 63 6f 6e 76 65 6e 74 69 |sion by |conventi|
|00001db0| 6f 6e 2e 0d 0d 2d 20 4d | 75 73 74 20 ff 00 15 18 |on...- M|ust ....|
|00001dc0| 03 f7 69 6d 70 6f 72 74 | ff 00 15 18 00 f7 20 74 |..import|...... t|
|00001dd0| 68 65 20 69 6e 74 65 72 | 66 61 63 65 20 66 69 6c |he inter|face fil|
|00001de0| 65 20 6f 66 20 69 74 73 | 20 6f 77 6e 20 63 6c 61 |e of its| own cla|
|00001df0| 73 73 2e 0d 0d 2d 20 4d | 75 73 74 20 61 6c 73 6f |ss...- M|ust also|
|00001e00| 20 ff 00 15 18 03 f7 69 | 6d 70 6f 72 74 ff 00 15 | ......i|mport...|
|00001e10| 18 00 f7 20 74 68 65 20 | 69 6e 74 65 72 66 61 63 |... the |interfac|
|00001e20| 65 20 66 69 6c 65 73 20 | 6f 66 20 61 6e 79 20 6f |e files |of any o|
|00001e30| 62 6a 65 63 74 73 20 69 | 74 20 77 69 6c 6c 20 73 |bjects i|t will s|
|00001e40| 65 6e 64 20 6d 65 73 73 | 61 67 65 73 20 74 6f 2e |end mess|ages to.|
|00001e50| 0d 0d 2d 20 54 68 65 20 | 69 6d 70 6c 65 6d 65 6e |..- The |implemen|
|00001e60| 74 61 74 69 6f 6e 20 69 | 73 20 ff 00 15 18 03 f7 |tation i|s ......|
|00001e70| 70 72 69 76 61 74 65 ff | 00 15 18 00 f7 20 74 6f |private.|..... to|
|00001e80| 20 74 68 65 20 ff 00 15 | 18 03 f7 64 65 76 65 6c | the ...|...devel|
|00001e90| 6f 70 65 72 ff 00 15 18 | 00 f7 20 6f 66 20 74 68 |oper....|.. of th|
|00001ea0| 65 20 63 6c 61 73 73 2e | ff 00 14 0c 01 f7 0d 01 |e class.|........|
|00001eb0| 44 fc 00 74 02 a4 00 74 | 02 0e 02 c4 08 00 f7 ff |D..t...t|........|
|00001ec0| 00 15 24 01 f7 4e 61 6d | 69 6e 67 20 43 6f 6e 76 |..$..Nam|ing Conv|
|00001ed0| 65 6e 74 69 6f 6e 73 0d | fc 00 74 02 a4 00 74 00 |entions.|..t...t.|
|00001ee0| 0e 02 c4 08 00 f7 0d fc | 00 74 02 a4 00 5d 00 0e |........|.t...]..|
|00001ef0| 01 d0 08 00 f7 ff 00 15 | 18 01 f7 2d 20 43 61 73 |........|...- Cas|
|00001f00| 65 0d fc 00 74 02 a4 00 | 74 00 0e 01 d0 08 00 f7 |e...t...|t.......|
|00001f10| ff 00 15 18 02 f7 55 73 | 65 20 75 70 70 65 72 63 |......Us|e upperc|
|00001f20| 61 73 65 20 6c 65 74 74 | 65 72 73 20 69 6e 73 74 |ase lett|ers inst|
|00001f30| 65 61 64 20 6f 66 20 74 | 68 65 20 75 6e 64 65 72 |ead of t|he under|
|00001f40| 73 63 6f 72 65 20 22 5f | 22 20 63 68 61 72 61 63 |score "_|" charac|
|00001f50| 74 65 72 2e ff 00 15 18 | 01 f7 0d fc 00 74 02 a4 |ter.....|.....t..|
|00001f60| 00 5d 00 0e 01 d0 02 88 | f7 09 09 45 78 3a 20 20 |.]......|...Ex: |
|00001f70| ff 00 16 18 01 f7 6e 61 | 6d 65 56 61 6c 75 65 ff |......na|meValue.|
|00001f80| 00 15 18 01 f7 0d 0d fc | 00 74 02 a4 00 5d 00 0e |........|.t...]..|
|00001f90| 01 d0 08 00 f7 2d 20 43 | 6c 61 73 73 20 4e 61 6d |.....- C|lass Nam|
|00001fa0| 65 73 0d fc 00 74 02 a4 | 00 74 00 0e 01 d0 08 00 |es...t..|.t......|
|00001fb0| f7 ff 00 15 18 02 f7 42 | 65 67 69 6e 20 77 69 74 |.......B|egin wit|
|00001fc0| 68 20 75 70 70 65 72 20 | 63 61 73 65 2e ff 00 15 |h upper |case....|
|00001fd0| 18 01 f7 0d fc 00 74 02 | a4 00 5d 00 0e 01 d0 02 |......t.|..].....|
|00001fe0| 88 f7 09 09 45 78 3a 20 | 20 ff 00 16 18 01 f7 41 |....Ex: | ......A|
|00001ff0| 70 70 6c 65 0d 01 67 fc | 00 74 02 a4 00 5d 02 0e |pple..g.|.t...]..|
|00002000| 01 d0 02 88 f7 ff 00 15 | 24 01 f7 4d 65 74 68 6f |........|$..Metho|
|00002010| 64 73 20 61 6e 64 20 4d | 65 73 73 61 67 65 73 0d |ds and M|essages.|
|00002020| 0d ff 00 15 18 00 f7 fc | 00 74 02 a4 00 5d 00 0e |........|.t...]..|
|00002030| 01 d0 02 88 f7 2d 20 ff | 00 15 18 03 f7 4d 65 74 |.....- .|.....Met|
|00002040| 68 6f 64 ff 00 15 18 00 | f7 20 72 65 66 65 72 73 |hod.....|. refers|
|00002050| 20 74 6f 20 74 68 65 20 | ff 00 15 18 02 f7 64 65 | to the |......de|
|00002060| 66 69 6e 69 74 69 6f 6e | ff 00 15 18 00 f7 20 69 |finition|...... i|
|00002070| 6e 20 74 68 65 20 69 6d | 70 6c 65 6d 65 6e 74 61 |n the im|plementa|
|00002080| 74 69 6f 6e 20 66 69 6c | 65 2e 0d 0d 2d 20 ff 00 |tion fil|e...- ..|
|00002090| 15 18 03 f7 4d 65 73 73 | 61 67 65 ff 00 15 18 00 |....Mess|age.....|
|000020a0| f7 20 72 65 66 65 72 73 | 20 74 6f 20 74 68 65 20 |. refers| to the |
|000020b0| ff 00 15 18 02 f7 69 6e | 76 6f 63 61 74 69 6f 6e |......in|vocation|
|000020c0| ff 00 15 18 00 f7 20 6f | 66 20 61 20 6d 65 74 68 |...... o|f a meth|
|000020d0| 6f 64 20 61 74 20 72 75 | 6e 74 69 6d 65 2e 0d 0d |od at ru|ntime...|
|000020e0| 2d 20 4d 65 74 68 6f 64 | 3a 20 20 6c 69 6b 65 20 |- Method|: like |
|000020f0| 61 20 43 2d 66 75 6e 63 | 74 69 6f 6e 20 64 65 66 |a C-func|tion def|
|00002100| 69 6e 69 74 69 6f 6e 2e | 0d 0d 2d 20 4d 65 73 73 |inition.|..- Mess|
|00002110| 61 67 65 3a 20 20 6c 69 | 6b 65 20 61 20 43 2d 66 |age: li|ke a C-f|
|00002120| 75 6e 63 74 69 6f 6e 20 | 63 61 6c 6c 2e 0d 0d 2d |unction |call...-|
|00002130| 20 4d 65 73 73 61 67 65 | 20 53 65 6e 64 69 6e 67 | Message| Sending|
|00002140| 20 2d 2d 3e 20 4d 65 74 | 68 6f 64 20 49 6e 76 6f | --> Met|hod Invo|
|00002150| 63 61 74 69 6f 6e 0d ff | 00 15 24 01 f7 0d 01 c4 |cation..|..$.....|
|00002160| ff 00 15 1c 01 f7 ff 00 | 15 1c 01 f7 fc 00 74 02 |........|......t.|
|00002170| a4 00 74 00 0e 02 30 08 | 00 f7 49 6d 70 6c 65 6d |..t...0.|..Implem|
|00002180| 65 6e 74 61 74 69 6f 6e | 20 46 69 6c 65 20 20 28 |entation| File (|
|00002190| 41 70 70 6c 65 2e 6d 29 | ff 00 15 18 01 f7 0d ff |Apple.m)|........|
|000021a0| 00 16 0c 00 f7 0d ff 00 | 16 18 01 f7 23 69 6d 70 |........|....#imp|
|000021b0| 6f 72 74 20 22 41 70 70 | 6c 65 2e 68 22 0d 40 69 |ort "App|le.h".@i|
|000021c0| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 20 41 70 |mplement|ation Ap|
|000021d0| 70 6c 65 0d fc 00 74 02 | a4 00 74 00 0e 02 c4 08 |ple...t.|..t.....|
|000021e0| 00 f7 2f 2a 20 52 65 74 | 75 72 6e 20 74 68 65 20 |../* Ret|urn the |
|000021f0| 70 72 65 73 65 6e 74 20 | 63 6f 6c 6f 72 20 2a 2f |present |color */|
|00002200| 0d 2d 28 63 68 61 72 20 | 2a 29 63 6f 6c 6f 72 7b |.-(char |*)color{|
|00002210| 0d 09 72 65 74 75 72 6e | 20 63 6f 6c 6f 72 3b 0d |..return| color;.|
|00002220| 7d 0d 2f 2a 20 47 72 6f | 77 20 74 68 65 20 61 70 |}./* Gro|w the ap|
|00002230| 70 6c 65 20 2a 2f 0d 2d | 67 72 6f 77 7b 0d 09 73 |ple */.-|grow{..s|
|00002240| 69 7a 65 20 3d 20 73 69 | 7a 65 20 2b 20 31 3b 0d |ize = si|ze + 1;.|
|00002250| 09 72 65 74 75 72 6e 20 | 73 65 6c 66 3b 0d 7d 0d |.return |self;.}.|
|00002260| 40 65 6e 64 0d 0d fc 00 | 59 02 be 00 59 00 0e 02 |@end....|Y...Y...|
|00002270| c4 08 00 f7 ff 00 15 18 | 02 f7 4e 6f 74 65 3a 20 |........|..Note: |
|00002280| ff 00 15 18 00 f7 20 53 | 69 6e 63 65 20 f9 00 f7 |...... S|ince ...|
|00002290| ff 00 16 18 01 f7 73 69 | 7a 65 ff 00 15 18 00 f7 |......si|ze......|
|000022a0| 20 69 73 20 61 6e 20 ff | 00 15 18 02 f7 69 6e 68 | is an .|.....inh|
|000022b0| 65 72 69 74 65 64 ff 00 | 15 18 00 f7 20 69 6e 73 |erited..|.... ins|
|000022c0| 74 61 6e 63 65 20 76 61 | 72 69 61 62 6c 65 2c 20 |tance va|riable, |
|000022d0| 69 74 20 6d 69 67 68 74 | 20 62 65 20 77 69 73 65 |it might| be wise|
|000022e0| 72 20 74 6f 20 77 72 69 | 74 65 3a f9 00 f7 ff 00 |r to wri|te:.....|
|000022f0| 16 18 01 f7 0d fc 00 74 | 02 a4 00 74 00 0e 02 c4 |.......t|...t....|
|00002300| 08 00 f7 09 5b 73 65 6c | 66 20 73 65 74 53 69 7a |....[sel|f setSiz|
|00002310| 65 3a 28 5b 73 65 6c 66 | 20 73 69 7a 65 5d 2b 31 |e:([self| size]+1|
|00002320| 29 5d 3b 0d 00 26 fc 00 | 76 02 a4 00 76 02 0e 02 |)];..&..|v...v...|
|00002330| 9c 07 80 f7 ff 00 15 24 | 01 f7 4f 62 6a 65 63 74 |.......$|..Object|
|00002340| 73 20 69 6e 20 4d 65 6d | 6f 72 79 0d 00 0f fc 00 |s in Mem|ory.....|
|00002350| 73 02 a4 00 5d 02 0e 02 | 30 08 00 f7 0d 01 6e fc |s...]...|0.....n.|
|00002360| 00 73 02 a4 00 5d 00 0e | 02 30 08 00 f7 ff 00 15 |.s...]..|.0......|
|00002370| 18 02 f7 46 6f 72 20 65 | 61 63 68 20 63 6c 61 73 |...For e|ach clas|
|00002380| 73 20 75 73 65 64 20 69 | 6e 20 61 20 70 72 6f 67 |s used i|n a prog|
|00002390| 72 61 6d 2c 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |ram, the| followi|
|000023a0| 6e 67 20 69 73 20 69 6e | 20 6d 65 6d 6f 72 79 3a |ng is in| memory:|
|000023b0| ff 00 15 18 00 f7 0d 0d | ff 00 15 1c 03 f7 43 6c |........|......Cl|
|000023c0| 61 73 73 20 4f 62 6a 65 | 63 74 ff 00 15 18 00 f7 |ass Obje|ct......|
|000023d0| 0d 0d 54 68 65 72 65 20 | 69 73 20 6f 6e 65 20 63 |..There |is one c|
|000023e0| 6f 70 79 20 6f 66 20 65 | 61 63 68 20 63 6c 61 73 |opy of e|ach clas|
|000023f0| 73 20 6f 62 6a 65 63 74 | 2e 20 20 49 74 20 63 6f |s object|. It co|
|00002400| 6e 74 61 69 6e 73 20 74 | 68 65 20 ff 00 15 18 03 |ntains t|he .....|
|00002410| f7 73 68 61 72 65 61 62 | 6c 65 ff 00 15 18 00 f7 |.shareab|le......|
|00002420| 20 63 6f 64 65 20 66 6f | 72 20 74 68 65 20 6d 65 | code fo|r the me|
|00002430| 74 68 6f 64 73 2c 20 61 | 6e 64 20 6f 74 68 65 72 |thods, a|nd other|
|00002440| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 64 65 73 | informa|tion des|
|00002450| 63 72 69 62 69 6e 67 20 | 74 68 65 20 73 74 72 75 |cribing |the stru|
|00002460| 63 74 75 72 65 20 6f 66 | 20 74 68 65 20 63 6c 61 |cture of| the cla|
|00002470| 73 73 2e 20 20 54 68 69 | 73 20 63 6c 61 73 73 20 |ss. Thi|s class |
|00002480| 6f 62 6a 65 63 74 20 68 | 61 73 20 6c 69 6e 6b 73 |object h|as links|
|00002490| 20 75 70 20 74 68 65 20 | 69 6e 68 65 72 69 74 61 | up the |inherita|
|000024a0| 6e 63 65 20 63 68 61 69 | 6e 20 74 6f 20 73 75 70 |nce chai|n to sup|
|000024b0| 65 72 63 6c 61 73 73 20 | 63 6c 61 73 73 20 6f 62 |erclass |class ob|
|000024c0| 6a 65 63 74 73 2e ff 00 | 14 0c 01 f7 0d 01 aa fc |jects...|........|
|000024d0| 00 76 02 a4 00 76 02 0e | 02 9c 07 80 f7 ff 00 15 |.v...v..|........|
|000024e0| 24 01 f7 4f 62 6a 65 63 | 74 73 20 69 6e 20 4d 65 |$..Objec|ts in Me|
|000024f0| 6d 6f 72 79 0d fc 00 73 | 02 a4 00 5d 02 0e 02 30 |mory...s|...]...0|
|00002500| 08 00 f7 ff 00 15 18 00 | f7 28 63 6f 6e 74 69 6e |........|.(contin|
|00002510| 75 65 64 29 0d 0d ff 00 | 15 18 00 f7 fc 00 73 02 |ued)....|......s.|
|00002520| a4 00 5d 00 0e 02 30 08 | 00 f7 0d ff 00 15 1c 03 |..]...0.|........|
|00002530| f7 49 6e 73 74 61 6e 63 | 65 73 ff 00 15 18 00 f7 |.Instanc|es......|
|00002540| 0d 0d 45 61 63 68 20 69 | 6e 73 74 61 6e 63 65 20 |..Each i|nstance |
|00002550| 61 70 70 65 61 72 73 20 | 61 73 20 73 69 6d 70 6c |appears |as simpl|
|00002560| 79 20 61 20 64 61 74 61 | 20 73 74 72 75 63 74 75 |y a data| structu|
|00002570| 72 65 20 63 6f 6e 74 61 | 69 6e 69 6e 67 20 74 68 |re conta|ining th|
|00002580| 61 74 20 69 6e 73 74 61 | 6e 63 65 27 73 20 ff 00 |at insta|nce's ..|
|00002590| 15 18 03 f7 70 72 69 76 | 61 74 65 ff 00 15 18 00 |....priv|ate.....|
|000025a0| f7 20 63 6f 70 69 65 73 | 20 6f 66 20 74 68 65 20 |. copies| of the |
|000025b0| ff 00 15 18 03 f7 69 6e | 73 74 61 6e 63 65 20 76 |......in|stance v|
|000025c0| 61 72 69 61 62 6c 65 73 | ff 00 15 18 00 f7 2e 20 |ariables|....... |
|000025d0| 20 54 68 65 20 ff 00 15 | 18 03 f7 69 73 61 ff 00 | The ...|...isa..|
|000025e0| 15 18 00 f7 20 76 61 72 | 69 61 62 6c 65 20 70 6f |.... var|iable po|
|000025f0| 69 6e 74 73 20 74 6f 20 | 74 68 65 20 69 6e 73 74 |ints to |the inst|
|00002600| 61 6e 63 65 27 73 20 43 | 6c 61 73 73 20 4f 62 6a |ance's C|lass Obj|
|00002610| 65 63 74 20 77 68 65 72 | 65 20 6d 65 73 73 61 67 |ect wher|e messag|
|00002620| 65 73 20 77 69 6c 6c 20 | 62 65 20 64 69 72 65 63 |es will |be direc|
|00002630| 74 65 64 20 69 6e 20 73 | 65 61 72 63 68 20 6f 66 |ted in s|earch of|
|00002640| 20 61 20 6d 65 74 68 6f | 64 2c 20 66 6f 6c 6c 6f | a metho|d, follo|
|00002650| 77 69 6e 67 20 74 68 65 | 20 69 6e 68 65 72 69 74 |wing the| inherit|
|00002660| 61 6e 63 65 20 63 68 61 | 69 6e 20 61 73 20 6e 65 |ance cha|in as ne|
|00002670| 63 65 73 73 61 72 79 2e | 0d 00 58 fc 00 49 02 d9 |cessary.|..X..I..|
|00002680| 00 48 00 0e 02 30 08 00 | f7 ff 00 15 18 03 f7 45 |.H...0..|.......E|
|00002690| 78 61 6d 70 6c 65 3a 20 | 20 43 6c 61 73 73 ff 00 |xample: | Class..|
|000026a0| 14 0c 03 f7 20 ff 00 15 | 18 03 f7 6f 62 6a 65 63 |.... ...|...objec|
|000026b0| 74 73 20 61 6e 64 20 69 | 6e 73 74 61 6e 63 65 73 |ts and i|nstances|
|000026c0| 20 69 6e 20 6d 65 6d 6f | 72 79 2e 0d ff 00 15 0c | in memo|ry......|
|000026d0| 03 f7 0d 00 2b ff 00 15 | 18 03 f7 fb 00 00 00 01 |....+...|........|
|000026e0| 01 92 02 91 57 4e 47 72 | 61 70 68 69 63 2e 34 35 |....WNGr|aphic.45|
|000026f0| 30 39 31 31 2e 65 70 73 | f7 ff 00 16 18 01 f7 0d |0911.eps|........|
|00002700| 00 1c 0d 0d 0d ff 00 15 | 30 03 f7 4f 62 6a 65 63 |........|0..Objec|
|00002710| 74 69 76 65 2d 43 ff 00 | 15 28 00 f7 0d 0d 00 18 |tive-C..|.(......|
|00002720| 04 00 02 00 00 4c 04 00 | 02 06 00 4c 24 00 14 20 |.....L..|...L$.. |
|00002730| 00 31 24 00 14 3c 00 3f | 02 d0 fc 00 63 02 d0 00 |.1$..<.?|....c...|
|00002740| 48 00 0e f7 ff 00 15 24 | 03 f7 52 65 66 65 72 65 |H......$|..Refere|
|00002750| 6e 63 65 73 ff 00 15 0e | 03 f7 0d fc 00 5a 02 d1 |nces....|.....Z..|
|00002760| 00 5a 00 0e 02 9c 07 80 | f7 0d fc 00 63 02 d0 00 |.Z......|....c...|
|00002770| 48 00 0e f7 ff 00 15 14 | 03 f7 2f 4e 65 78 74 4c |H.......|../NextL|
|00002780| 69 62 72 61 72 79 2f 44 | 6f 63 75 6d 65 6e 74 61 |ibrary/D|ocumenta|
|00002790| 74 69 6f 6e 2f 4e 65 78 | 74 44 65 76 2f 4e 65 78 |tion/Nex|tDev/Nex|
|000027a0| 74 53 74 65 70 2f 43 6f | 6e 63 65 70 74 73 5f 76 |tStep/Co|ncepts_v|
|000027b0| 2e 31 2e 30 2f 0d 09 30 | 33 5f 4f 62 6a 43 2e 72 |.1.0/..0|3_ObjC.r|
|000027c0| 74 66 64 0d 2f 4e 65 78 | 74 4c 69 62 72 61 72 79 |tfd./Nex|tLibrary|
|000027d0| 2f 44 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 2f 4e |/Documen|tation/N|
|000027e0| 65 78 74 44 65 76 2f 52 | 65 6c 65 61 73 65 4e 6f |extDev/R|eleaseNo|
|000027f0| 74 65 73 2f 4f 62 6a 43 | 2e 72 74 66 64 0d ff 00 |tes/ObjC|.rtfd...|
|00002800| 15 14 00 f7 09 44 65 73 | 63 72 69 62 65 73 20 6f |.....Des|cribes o|
|00002810| 62 6a 65 63 74 2d 6f 72 | 69 65 6e 74 65 64 20 70 |bject-or|iented p|
|00002820| 72 6f 67 72 61 6d 6d 69 | 6e 67 20 63 6f 6e 63 65 |rogrammi|ng conce|
|00002830| 70 74 73 2e 20 20 ff 00 | 15 14 02 f7 42 61 73 65 |pts. ..|....Base|
|00002840| 64 20 6f 6e 20 52 65 6c | 65 61 73 65 20 31 2e 30 |d on Rel|ease 1.0|
|00002850| ff 00 15 14 00 f7 2c 20 | 73 6f 20 72 65 61 64 20 |......, |so read |
|00002860| 74 68 65 20 72 65 6c 65 | 61 73 65 20 6e 6f 74 65 |the rele|ase note|
|00002870| 73 2e 0d 0d ff 00 15 14 | 02 f7 4f 62 6a 65 63 74 |s.......|..Object|
|00002880| 2d 4f 72 69 65 6e 74 65 | 64 20 50 72 6f 67 72 61 |-Oriente|d Progra|
|00002890| 6d 6d 69 6e 67 3a 20 41 | 6e 20 45 76 6f 6c 75 74 |mming: A|n Evolut|
|000028a0| 69 6f 6e 61 72 79 20 41 | 70 70 72 6f 61 63 68 ff |ionary A|pproach.|
|000028b0| 00 15 14 00 f7 2c 20 62 | 79 20 42 72 61 64 20 43 |....., b|y Brad C|
|000028c0| 6f 78 2c 20 41 64 64 69 | 73 6f 6e 2d 57 65 73 6c |ox, Addi|son-Wesl|
|000028d0| 65 79 2c 20 31 39 38 37 | 2e 20 20 54 68 69 73 20 |ey, 1987|. This |
|000028e0| 62 6f 6f 6b 20 68 61 73 | 20 4f 62 6a 65 63 74 69 |book has| Objecti|
|000028f0| 76 65 2d 43 20 65 78 61 | 6d 70 6c 65 73 2c 20 62 |ve-C exa|mples, b|
|00002900| 75 74 20 69 73 20 62 65 | 73 74 20 66 6f 72 20 62 |ut is be|st for b|
|00002910| 61 63 6b 67 72 6f 75 6e | 64 20 69 6e 66 6f 72 6d |ackgroun|d inform|
|00002920| 61 74 69 6f 6e 2c 20 6e | 6f 74 20 61 73 20 61 20 |ation, n|ot as a |
|00002930| 72 65 66 65 72 65 6e 63 | 65 20 6d 61 6e 75 61 6c |referenc|e manual|
|00002940| 2e 0d 0d ff 00 15 14 02 | f7 41 6e 20 49 6e 74 72 |........|.An Intr|
|00002950| 6f 64 75 63 74 69 6f 6e | 20 74 6f 20 4f 62 6a 65 |oduction| to Obje|
|00002960| 63 74 2d 4f 72 69 65 6e | 74 65 64 20 50 72 6f 67 |ct-Orien|ted Prog|
|00002970| 72 61 6d 6d 69 6e 67 ff | 00 15 14 00 f7 2c 20 62 |ramming.|....., b|
|00002980| 79 20 54 69 6d 6f 74 68 | 79 20 42 75 64 64 2c 20 |y Timoth|y Budd, |
|00002990| 41 64 64 69 73 6f 6e 2d | 57 65 73 6c 65 79 2c 20 |Addison-|Wesley, |
|000029a0| 31 39 39 31 2e 20 20 41 | 6e 20 65 78 63 65 6c 6c |1991. A|n excell|
|000029b0| 65 6e 74 20 62 6f 6f 6b | 20 6f 6e 20 4f 4f 50 2c |ent book| on OOP,|
|000029c0| 20 77 69 74 68 20 63 6f | 6d 70 61 72 69 73 6f 6e | with co|mparison|
|000029d0| 73 20 62 65 74 77 65 65 | 6e 20 4f 62 6a 65 63 74 |s betwee|n Object|
|000029e0| 69 76 65 2d 43 2c 20 43 | 2b 2b 2c 20 4f 62 6a 65 |ive-C, C|++, Obje|
|000029f0| 63 74 20 50 61 73 63 61 | 6c 2c 20 61 6e 64 20 53 |ct Pasca|l, and S|
|00002a00| 6d 61 6c 6c 74 61 6c 6b | 2e 0d 01 dd ff 00 15 24 |malltalk|.......$|
|00002a10| 03 f7 52 65 66 65 72 65 | 6e 63 65 73 20 ff 00 15 |..Refere|nces ...|
|00002a20| 18 02 f7 28 63 6f 6e 74 | 69 6e 75 65 64 29 ff 00 |...(cont|inued)..|
|00002a30| 15 0e 03 f7 0d ff 00 15 | 14 00 f7 0d ff 00 15 14 |........|........|
|00002a40| 02 f7 4f 62 6a 65 63 74 | 69 76 65 2d 43 20 3a 20 |..Object|ive-C : |
|00002a50| 4f 62 6a 65 63 74 2d 4f | 72 69 65 6e 74 65 64 20 |Object-O|riented |
|00002a60| 50 72 6f 67 72 61 6d 6d | 69 6e 67 20 54 65 63 68 |Programm|ing Tech|
|00002a70| 6e 69 71 75 65 73 ff 00 | 15 14 00 f7 2c 20 62 79 |niques..|...., by|
|00002a80| 20 4c 65 77 69 73 20 4a | 2e 20 50 69 6e 73 6f 6e | Lewis J|. Pinson|
|00002a90| 20 26 20 52 69 63 68 61 | 72 64 20 53 2e 20 57 69 | & Richa|rd S. Wi|
|00002aa0| 65 6e 65 72 2c 20 41 64 | 64 69 73 6f 6e 2d 57 65 |ener, Ad|dison-We|
|00002ab0| 73 6c 65 79 2c 20 31 39 | 39 31 2e 20 20 41 20 67 |sley, 19|91. A g|
|00002ac0| 6f 6f 64 20 62 6f 6f 6b | 20 66 6f 72 20 4f 4f 50 |ood book| for OOP|
|00002ad0| 20 77 69 74 68 20 4f 62 | 6a 65 63 74 69 76 65 2d | with Ob|jective-|
|00002ae0| 43 20 65 78 61 6d 70 6c | 65 73 2e 0d 0d ff 00 15 |C exampl|es......|
|00002af0| 14 02 f7 41 6e 20 49 6e | 74 72 6f 64 75 63 74 69 |...An In|troducti|
|00002b00| 6f 6e 20 74 6f 20 ff 00 | 15 14 02 f7 4f 62 6a 65 |on to ..|....Obje|
|00002b10| 63 74 2d 4f 72 69 65 6e | 74 65 64 20 50 72 6f 67 |ct-Orien|ted Prog|
|00002b20| 72 61 6d 6d 69 6e 67 20 | 61 6e 64 20 53 6d 61 6c |ramming |and Smal|
|00002b30| 6c 74 61 6c 6b ff 00 15 | 14 00 f7 2c 20 62 79 20 |ltalk...|..., by |
|00002b40| 4c 65 77 69 73 20 4a 2e | 20 50 69 6e 73 6f 6e 20 |Lewis J.| Pinson |
|00002b50| 26 20 52 69 63 68 61 72 | 64 20 53 2e 20 57 69 65 |& Richar|d S. Wie|
|00002b60| 6e 65 72 2c 20 41 64 64 | 69 73 6f 6e 2d 57 65 73 |ner, Add|ison-Wes|
|00002b70| 6c 65 79 2c 20 31 39 38 | 38 2e 20 20 41 6c 74 68 |ley, 198|8. Alth|
|00002b80| 6f 75 67 68 20 74 68 65 | 20 62 6f 6f 6b 20 69 73 |ough the| book is|
|00002b90| 20 61 62 6f 75 74 20 53 | 6d 61 6c 6c 74 61 6c 6b | about S|malltalk|
|00002ba0| 2c 20 43 68 61 70 74 65 | 72 20 31 20 68 61 73 20 |, Chapte|r 1 has |
|00002bb0| 73 6f 6d 65 20 67 6f 6f | 64 20 67 65 6e 65 72 61 |some goo|d genera|
|00002bc0| 6c 20 4f 4f 50 20 69 6e | 66 6f 72 6d 61 74 69 6f |l OOP in|formatio|
|00002bd0| 6e 20 74 68 61 74 20 69 | 73 20 77 6f 72 74 68 20 |n that i|s worth |
|00002be0| 72 65 61 64 69 6e 67 2e | 0d 01 da fc 00 5a 02 a4 |reading.|.....Z..|
|00002bf0| 00 5a 00 0e 02 30 08 00 | f7 ff 00 15 1c 03 f7 45 |.Z...0..|.......E|
|00002c00| 78 61 6d 70 6c 65 3a 20 | 20 41 64 64 69 6e 67 20 |xample: | Adding |
|00002c10| 74 6f 20 74 68 65 20 46 | 72 75 69 74 20 63 6c 61 |to the F|ruit cla|
|00002c20| 73 73 ff 00 15 18 03 f7 | 0d ff 00 16 18 00 f7 fc |ss......|........|
|00002c30| 00 74 02 a4 00 74 00 0e | 02 30 08 00 f7 0d ff 00 |.t...t..|.0......|
|00002c40| 15 1c 01 f7 49 6e 74 65 | 72 66 61 63 65 20 46 69 |....Inte|rface Fi|
|00002c50| 6c 65 20 20 28 52 65 61 | 6c 46 72 75 69 74 2e 68 |le (Rea|lFruit.h|
|00002c60| 29 ff 00 15 18 01 f7 0d | fc 00 76 02 a4 00 76 00 |).......|..v...v.|
|00002c70| 0e 02 c4 08 00 f7 ff 00 | 16 0c 01 f7 0d ff 00 16 |........|........|
|00002c80| 18 01 f7 23 69 6d 70 6f | 72 74 20 22 46 72 75 69 |...#impo|rt "Frui|
|00002c90| 74 2e 68 22 0d 40 69 6e | 74 65 72 66 61 63 65 20 |t.h".@in|terface |
|00002ca0| 46 72 75 69 74 28 52 65 | 61 6c 46 72 75 69 74 29 |Fruit(Re|alFruit)|
|00002cb0| 0d fc 00 76 02 a4 00 76 | 00 0e 04 f0 08 08 00 f7 |...v...v|........|
|00002cc0| 2d 20 72 6f 74 3b 09 2f | 2f 6e 65 77 20 6d 65 74 |- rot;./|/new met|
|00002cd0| 68 6f 64 20 0d fc 00 76 | 02 a4 00 76 00 0e 02 c4 |hod ...v|...v....|
|00002ce0| 08 00 f7 40 65 6e 64 ff | 00 15 18 00 f7 0d fc 00 |...@end.|........|
|00002cf0| 74 02 a4 00 74 00 0e 02 | c4 08 00 f7 0d fc 00 74 |t...t...|.......t|
|00002d00| 02 a4 00 74 00 0e 02 30 | 08 00 f7 ff 00 15 1c 01 |...t...0|........|
|00002d10| f7 49 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 20 |.Impleme|ntation |
|00002d20| 46 69 6c 65 20 20 28 52 | 65 61 6c 46 72 75 69 74 |File (R|ealFruit|
|00002d30| 2e 6d 29 ff 00 15 18 01 | f7 0d ff 00 16 0c 00 f7 |.m).....|........|
|00002d40| 0d ff 00 16 18 01 f7 23 | 69 6d 70 6f 72 74 20 22 |.......#|import "|
|00002d50| 52 65 61 6c 46 72 75 69 | 74 2e 68 22 0d 40 69 6d |RealFrui|t.h".@im|
|00002d60| 70 6c 65 6d 65 6e 74 61 | 74 69 6f 6e 20 46 72 75 |plementa|tion Fru|
|00002d70| 69 74 28 52 65 61 6c 46 | 72 75 69 74 29 0d fc 00 |it(RealF|ruit)...|
|00002d80| 74 02 a4 00 74 00 0e 02 | c4 08 00 f7 2d 20 72 6f |t...t...|....- ro|
|00002d90| 74 7b 0d 09 3c 63 6f 64 | 65 20 74 6f 20 74 75 72 |t{..<cod|e to tur|
|00002da0| 6e 20 63 6f 6c 6f 72 20 | 64 61 72 6b 65 72 3e 0d |n color |darker>.|
|00002db0| 09 72 65 74 75 72 6e 20 | 73 65 6c 66 3b 0d 7d 0d |.return |self;.}.|
|00002dc0| 40 65 6e 64 0d 01 b5 fc | 00 74 02 a4 00 74 02 0e |@end....|.t...t..|
|00002dd0| 02 30 08 00 f7 ff 00 15 | 24 01 f7 53 79 6e 74 61 |.0......|$..Synta|
|00002de0| 78 20 6f 66 20 4f 62 6a | 65 63 74 69 76 65 2d 43 |x of Obj|ective-C|
|00002df0| ff 00 15 28 01 f7 0d fc | 00 74 02 a4 00 74 02 0e |...(....|.t...t..|
|00002e00| 04 10 08 00 f7 ff 00 15 | 18 00 f7 28 63 6f 6e 74 |........|...(cont|
|00002e10| 69 6e 75 65 64 29 0d 0d | fc 00 74 02 a4 00 74 00 |inued)..|..t...t.|
|00002e20| 0e 03 84 08 00 f7 0d fc | 01 2f 02 a4 00 5d 00 0e |........|./...]..|
|00002e30| 04 bc 08 00 f7 ff 00 16 | 18 00 f7 20 20 20 ff 00 |........|... ..|
|00002e40| 15 18 03 f7 0d ff 00 16 | 18 01 f7 23 69 6d 70 6f |........|...#impo|
|00002e50| 72 74 ff 00 16 18 00 f7 | 09 ff 00 15 18 02 f7 ff |rt......|........|
|00002e60| 00 15 18 02 f7 23 49 6d | 70 6f 72 74 ff 00 15 18 |.....#Im|port....|
|00002e70| 00 f7 20 69 73 20 6a 75 | 73 74 20 6c 69 6b 65 20 |.. is ju|st like |
|00002e80| 43 20 ff 00 15 18 02 f7 | 23 69 6e 63 6c 75 64 65 |C ......|#include|
|00002e90| 2c ff 00 15 18 00 f7 20 | 62 75 74 20 77 69 6c 6c |,...... |but will|
|00002ea0| 20 6e 6f 74 20 64 75 70 | 6c 69 63 61 74 65 20 70 | not dup|licate p|
|00002eb0| 72 65 76 69 6f 75 73 6c | 79 20 69 6e 63 6c 75 64 |reviousl|y includ|
|00002ec0| 65 64 20 66 69 6c 65 73 | 2e 0d 0d ff 00 16 18 01 |ed files|........|
|00002ed0| f7 3c 20 3e ff 00 14 18 | 00 f7 09 ff 00 15 18 00 |.< >....|........|
|00002ee0| f7 69 6e 64 69 63 61 74 | 65 73 20 61 20 73 79 73 |.indicat|es a sys|
|00002ef0| 74 65 6d 20 66 69 6c 65 | 2e 0d ff 00 14 18 00 f7 |tem file|........|
|00002f00| 0d ff 00 16 18 01 f7 22 | 20 22 ff 00 14 18 00 f7 |......."| "......|
|00002f10| 09 ff 00 15 18 00 f7 69 | 6e 64 69 63 61 74 65 73 |.......i|ndicates|
|00002f20| 20 61 20 6c 6f 63 61 6c | 20 66 69 6c 65 2e 0d 0d | a local| file...|
|00002f30| 40 6b 65 79 77 6f 72 64 | 09 64 65 66 69 6e 65 73 |@keyword|.defines|
|00002f40| 20 73 74 61 72 74 20 61 | 6e 64 20 65 6e 64 20 6f | start a|nd end o|
|00002f50| 66 20 63 6f 64 65 20 73 | 65 63 74 69 6f 6e 73 2e |f code s|ections.|
|00002f60| ff 00 14 18 00 f7 0d fc | 00 89 02 a4 00 89 00 0e |........|........|
|00002f70| 02 30 08 00 f7 ff 00 15 | 18 00 f7 0d 02 8f ff 00 |.0......|........|
|00002f80| 15 24 03 f7 4d 65 74 68 | 6f 64 20 4f 76 65 72 72 |.$..Meth|od Overr|
|00002f90| 69 64 69 6e 67 0d ff 00 | 15 18 02 f7 0d fc 00 5a |iding...|.......Z|
|00002fa0| 02 a4 00 48 00 0e 01 d0 | 06 b0 f7 49 6e 20 67 65 |...H....|...In ge|
|00002fb0| 6e 65 72 61 6c 2c 20 61 | 20 73 75 62 63 6c 61 73 |neral, a| subclas|
|00002fc0| 73 20 69 6e 68 65 72 69 | 74 73 20 61 6c 6c 20 6f |s inheri|ts all o|
|00002fd0| 66 20 74 68 65 20 6d 65 | 74 68 6f 64 73 20 6f 66 |f the me|thods of|
|00002fe0| 20 69 74 73 20 73 75 70 | 65 72 63 6c 61 73 73 2e | its sup|erclass.|
|00002ff0| 20 20 46 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 61 | For ex|ample, a|
|00003000| 20 ff 00 16 18 01 f7 73 | 69 7a 65 ff 00 15 18 02 | ......s|ize.....|
|00003010| f7 20 6d 65 74 68 6f 64 | 20 77 61 73 20 64 65 66 |. method| was def|
|00003020| 69 6e 65 64 20 69 6e 20 | 74 68 65 20 ff 00 15 18 |ined in |the ....|
|00003030| 03 f7 46 72 75 69 74 ff | 00 15 18 02 f7 20 63 6c |..Fruit.|..... cl|
|00003040| 61 73 73 20 61 6e 64 20 | 77 61 73 20 69 6e 68 65 |ass and |was inhe|
|00003050| 72 69 74 65 64 20 62 79 | 20 ff 00 15 18 03 f7 41 |rited by| ......A|
|00003060| 70 70 6c 65 ff 00 15 18 | 02 f7 2e 20 20 41 20 6d |pple....|... A m|
|00003070| 65 73 73 61 67 65 20 74 | 6f 20 ff 00 16 18 01 f7 |essage t|o ......|
|00003080| 6d 79 41 70 70 6c 65 f9 | 00 f7 ff 00 15 18 02 f7 |myApple.|........|
|00003090| 20 69 6e 76 6f 6b 65 73 | 20 ff 00 15 18 03 f7 46 | invokes| ......F|
|000030a0| 72 75 69 74 ff 00 15 18 | 02 f7 27 73 20 69 6d 70 |ruit....|..'s imp|
|000030b0| 6c 65 6d 65 6e 74 61 74 | 69 6f 6e 3a 0d 0d ff 00 |lementat|ion:....|
|000030c0| 16 18 01 f7 5b 6d 79 41 | 70 70 6c 65 20 73 69 7a |....[myA|pple siz|
|000030d0| 65 5d 20 20 2f 2f 69 6e | 68 65 72 69 74 65 64 20 |e] //in|herited |
|000030e0| 73 69 7a 65 20 6d 65 74 | 68 6f 64 0d ff 00 15 18 |size met|hod.....|
|000030f0| 02 f7 0d 48 6f 77 65 76 | 65 72 2c 20 69 66 20 ff |...Howev|er, if .|
|00003100| 00 15 18 03 f7 41 70 70 | 6c 65 ff 00 15 18 02 f7 |.....App|le......|
|00003110| 20 77 65 72 65 20 74 6f | 20 64 65 66 69 6e 65 20 | were to| define |
|00003120| 69 74 73 20 ff 00 15 18 | 03 f7 6f 77 6e ff 00 15 |its ....|..own...|
|00003130| 18 02 f7 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 ff |... vers|ion of .|
|00003140| 00 16 18 01 f7 73 69 7a | 65 ff 00 15 18 02 f7 20 |.....siz|e...... |
|00003150| 69 6e 20 69 74 73 20 69 | 6d 70 6c 65 6d 65 6e 74 |in its i|mplement|
|00003160| 61 74 69 6f 6e 20 66 69 | 6c 65 2c 20 74 68 65 20 |ation fi|le, the |
|00003170| 6d 65 73 73 61 67 65 20 | 74 6f 20 ff 00 16 18 01 |message |to .....|
|00003180| f7 6d 79 41 70 70 6c 65 | ff 00 15 18 02 f7 20 77 |.myApple|...... w|
|00003190| 6f 75 6c 64 20 67 6f 20 | 74 6f 20 ff 00 15 18 03 |ould go |to .....|
|000031a0| f7 41 70 70 6c 65 27 ff | 00 15 18 00 f7 73 ff 00 |.Apple'.|.....s..|
|000031b0| 15 18 02 f7 20 69 6d 70 | 6c 65 6d 65 6e 74 61 74 |.... imp|lementat|
|000031c0| 69 6f 6e 20 69 6e 73 74 | 65 61 64 2c 20 74 68 75 |ion inst|ead, thu|
|000031d0| 73 20 ff 00 15 18 03 f7 | 6f 76 65 72 72 69 64 69 |s ......|overridi|
|000031e0| 6e 67 ff 00 15 18 02 f7 | 20 ff 00 15 18 03 f7 46 |ng......| ......F|
|000031f0| 72 75 69 74 27 ff 00 15 | 18 02 f7 73 20 69 6d 70 |ruit'...|...s imp|
|00003200| 6c 65 6d 65 6e 74 61 74 | 69 6f 6e 2e 0d 00 2e ff |lementat|ion.....|
|00003210| 00 15 18 02 f7 fb 00 00 | 00 01 01 91 02 65 6e 65 |........|.....ene|
|00003220| 77 41 70 70 6c 65 4f 76 | 65 72 72 69 64 65 49 43 |wAppleOv|errideIC|
|00003230| 2e 30 38 35 38 39 34 2e | 65 70 73 f7 0d 01 fe fc |.085894.|eps.....|
|00003240| 00 74 02 a4 00 74 02 0e | 02 c4 08 00 f7 ff 00 15 |.t...t..|........|
|00003250| 24 01 f7 43 61 74 65 67 | 6f 72 69 65 73 0d ff 00 |$..Categ|ories...|
|00003260| 15 18 00 f7 0d fc 00 74 | 02 a4 00 74 00 0e 02 c4 |.......t|...t....|
|00003270| 08 00 f7 41 20 ff 00 15 | 18 03 f7 63 61 74 65 67 |...A ...|...categ|
|00003280| 6f 72 79 ff 00 15 18 00 | f7 20 73 70 65 63 69 66 |ory.....|. specif|
|00003290| 69 65 73 20 ff 00 15 18 | 02 f7 61 64 64 69 74 69 |ies ....|..additi|
|000032a0| 6f 6e 73 ff 00 15 18 00 | f7 20 74 6f 20 61 6e 20 |ons.....|. to an |
|000032b0| 65 78 69 73 74 69 6e 67 | 20 63 6c 61 73 73 2c 20 |existing| class, |
|000032c0| 77 68 69 63 68 20 61 72 | 65 20 74 68 65 6e 20 61 |which ar|e then a|
|000032d0| 76 61 69 6c 61 62 6c 65 | 20 74 6f 20 ff 00 15 18 |vailable| to ....|
|000032e0| 02 f7 61 6c 6c ff 00 15 | 18 00 f7 20 69 6e 73 74 |..all...|... inst|
|000032f0| 61 6e 63 65 73 20 6f 66 | 20 74 68 65 20 63 6c 61 |ances of| the cla|
|00003300| 73 73 20 6f 72 20 69 74 | 73 20 73 75 62 63 6c 61 |ss or it|s subcla|
|00003310| 73 73 65 73 2e 0d 0d 4f | 6e 6c 79 20 6d 65 74 68 |sses...O|nly meth|
|00003320| 6f 64 73 20 63 61 6e 20 | 62 65 20 61 64 64 65 64 |ods can |be added|
|00003330| 2c 20 6e 6f 74 20 69 6e | 73 74 61 6e 63 65 20 76 |, not in|stance v|
|00003340| 61 72 69 61 62 6c 65 73 | 2e 0d 0d 4d 65 74 68 6f |ariables|...Metho|
|00003350| 64 73 20 69 6e 68 65 72 | 69 74 65 64 20 66 72 6f |ds inher|ited fro|
|00003360| 6d 20 74 68 65 20 73 75 | 70 65 72 63 6c 61 73 73 |m the su|perclass|
|00003370| 20 63 61 6e 20 62 65 20 | 6f 76 65 72 72 69 64 65 | can be |override|
|00003380| 6e 2c 20 62 75 74 20 6e | 6f 74 20 6d 65 74 68 6f |n, but n|ot metho|
|00003390| 64 73 20 64 65 66 69 6e | 65 64 20 65 6c 73 65 77 |ds defin|ed elsew|
|000033a0| 68 65 72 65 20 69 6e 20 | 74 68 65 20 63 6c 61 73 |here in |the clas|
|000033b0| 73 20 69 74 73 65 6c 66 | 2e 0d 0d 43 61 74 65 67 |s itself|...Categ|
|000033c0| 6f 72 69 65 73 20 61 72 | 65 20 64 65 66 69 6e 65 |ories ar|e define|
|000033d0| 64 20 73 69 6d 69 6c 61 | 72 20 74 6f 20 73 75 62 |d simila|r to sub|
|000033e0| 63 6c 61 73 73 65 73 3a | 20 20 54 68 65 79 20 72 |classes:| They r|
|000033f0| 65 71 75 69 72 65 20 61 | 6e 20 ff 00 15 18 02 f7 |equire a|n ......|
|00003400| 69 6e 74 65 72 66 61 63 | 65 20 66 69 6c 65 ff 00 |interfac|e file..|
|00003410| 15 18 00 f7 20 61 6e 64 | 20 61 6e 20 ff 00 15 18 |.... and| an ....|
|00003420| 02 f7 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |..implem|entation|
|00003430| 20 66 69 6c 65 ff 00 15 | 18 00 f7 2e 0d 02 72 fc | file...|......r.|
|00003440| 00 74 02 a4 00 74 02 0e | 02 c4 08 00 f7 ff 00 15 |.t...t..|........|
|00003450| 24 01 f7 43 61 74 65 67 | 6f 72 69 65 73 20 ff 00 |$..Categ|ories ..|
|00003460| 15 24 02 f7 28 63 6f 6e | 74 27 64 29 ff 00 15 24 |.$..(con|t'd)...$|
|00003470| 01 f7 0d fc 00 74 02 a4 | 00 74 00 0e 02 30 08 00 |.....t..|.t...0..|
|00003480| f7 f9 00 f7 ff 00 15 1c | 02 f7 0d ff 00 15 18 00 |........|........|
|00003490| f7 49 6e 20 74 68 65 20 | 65 78 61 6d 70 6c 65 20 |.In the |example |
|000034a0| 61 62 6f 76 65 2c 20 ff | 00 15 18 03 f7 61 6c 6c |above, .|.....all|
|000034b0| ff 00 15 18 00 f7 20 69 | 6e 73 74 61 6e 63 65 73 |...... i|nstances|
|000034c0| 20 6f 66 20 74 68 65 20 | 46 72 75 69 74 20 63 6c | of the |Fruit cl|
|000034d0| 61 73 73 2c 20 6f 72 20 | 6f 66 20 73 75 62 63 6c |ass, or |of subcl|
|000034e0| 61 73 73 65 73 20 6f 66 | 20 46 72 75 69 74 2c 20 |asses of| Fruit, |
|000034f0| 77 69 6c 6c 20 6e 6f 77 | 20 68 61 76 65 20 74 68 |will now| have th|
|00003500| 65 20 ff 00 16 18 01 f7 | 72 6f 74 ff 00 15 18 00 |e ......|rot.....|
|00003510| f7 20 6d 65 74 68 6f 64 | 2e 0d 0d 54 68 69 73 20 |. method|...This |
|00003520| 69 73 20 75 73 65 66 75 | 6c 20 77 68 65 6e 20 74 |is usefu|l when t|
|00003530| 68 65 20 70 72 6f 67 72 | 61 6d 6d 65 72 20 64 6f |he progr|ammer do|
|00003540| 65 73 20 6e 6f 74 20 68 | 61 76 65 20 61 63 63 65 |es not h|ave acce|
|00003550| 73 73 20 74 6f 20 74 68 | 65 20 6f 72 69 67 69 6e |ss to th|e origin|
|00003560| 61 6c 20 63 6c 61 73 73 | 20 74 6f 20 6d 6f 64 69 |al class| to modi|
|00003570| 66 79 20 69 74 20 28 62 | 65 63 61 75 73 65 20 69 |fy it (b|ecause i|
|00003580| 74 20 77 61 73 20 64 65 | 66 69 6e 65 64 20 62 79 |t was de|fined by|
|00003590| 20 73 6f 6d 65 6f 6e 65 | 20 65 6c 73 65 29 2e 0d | someone| else)..|
|000035a0| 0d ff 00 15 18 03 f7 43 | 61 74 65 67 6f 72 79 20 |.......C|ategory |
|000035b0| 76 73 2e 20 53 75 62 63 | 6c 61 73 73 3a ff 00 15 |vs. Subc|lass:...|
|000035c0| 18 00 f7 20 20 53 75 62 | 63 6c 61 73 73 69 6e 67 |... Sub|classing|
|000035d0| 20 46 72 75 69 74 20 74 | 6f 20 67 65 74 20 61 20 | Fruit t|o get a |
|000035e0| 52 65 61 6c 46 72 75 69 | 74 20 63 6c 61 73 73 20 |RealFrui|t class |
|000035f0| 77 6f 75 6c 64 20 61 6c | 6c 6f 77 20 63 72 65 61 |would al|low crea|
|00003600| 74 69 6e 67 20 69 6e 73 | 74 61 6e 63 65 73 20 6f |ting ins|tances o|
|00003610| 66 20 52 65 61 6c 46 72 | 75 69 74 20 77 69 74 68 |f RealFr|uit with|
|00003620| 20 61 6c 6c 20 6f 66 20 | 74 68 65 20 64 65 73 69 | all of |the desi|
|00003630| 72 65 64 20 62 65 68 61 | 76 69 6f 72 2e 20 20 48 |red beha|vior. H|
|00003640| 6f 77 65 76 65 72 2c 20 | 69 6e 73 74 61 6e 63 65 |owever, |instance|
|00003650| 73 20 6f 66 20 46 72 75 | 69 74 20 6f 72 20 69 74 |s of Fru|it or it|
|00003660| 73 20 73 75 62 63 6c 61 | 73 73 65 73 20 77 6f 75 |s subcla|sses wou|
|00003670| 6c 64 20 6e 6f 74 20 68 | 61 76 65 20 74 68 65 20 |ld not h|ave the |
|00003680| 6e 65 77 20 62 65 68 61 | 76 69 6f 72 2e 20 20 57 |new beha|vior. W|
|00003690| 69 74 68 20 61 20 63 61 | 74 65 67 6f 72 79 20 74 |ith a ca|tegory t|
|000036a0| 68 65 79 20 77 6f 75 6c | 64 2e ff 00 15 18 01 f7 |hey woul|d.......|
|000036b0| 0d 02 a4 ff 00 15 24 03 | f7 4d 65 73 73 61 67 65 |......$.|.Message|
|000036c0| 20 45 78 70 72 65 73 73 | 69 6f 6e 0d fc 00 74 02 | Express|ion...t.|
|000036d0| a4 00 5d 02 0e 01 d0 02 | 88 f7 ff 00 15 18 01 f7 |..].....|........|
|000036e0| 0d fc 00 5f 02 a4 00 5e | 00 0e 01 d0 02 88 f7 ff |..._...^|........|
|000036f0| 00 16 1c 01 f7 5b 72 65 | 63 65 69 76 65 72 20 6d |.....[re|ceiver m|
|00003700| 65 73 73 61 67 65 5d 3b | ff 00 16 18 01 f7 0d ff |essage];|........|
|00003710| 00 15 18 02 f7 fc 00 89 | 02 bb 00 88 00 0e 02 88 |........|........|
|00003720| f7 53 65 6e 64 73 20 ff | 00 16 1c 01 f7 6d 65 73 |.Sends .|.....mes|
|00003730| 73 61 67 65 ff 00 15 18 | 02 f7 20 74 6f 20 ff 00 |sage....|.. to ..|
|00003740| 16 1c 01 f7 72 65 63 65 | 69 76 65 72 ff 00 15 18 |....rece|iver....|
|00003750| 02 f7 2e 20 20 54 68 65 | 20 6e 61 6d 65 20 6f 66 |... The| name of|
|00003760| 20 74 68 65 20 6d 65 73 | 73 61 67 65 20 69 73 20 | the mes|sage is |
|00003770| 63 61 6c 6c 65 64 20 74 | 68 65 20 ff 00 15 18 03 |called t|he .....|
|00003780| f7 73 65 6c 65 63 74 6f | 72 ff 00 15 18 02 f7 2e |.selecto|r.......|
|00003790| 0d fc 00 89 02 a4 00 88 | 00 0e 02 88 f7 0d fc 00 |........|........|
|000037a0| 63 02 a4 00 63 00 0e 01 | d0 02 88 f7 ff 00 16 1c |c...c...|........|
|000037b0| 01 f7 6d 79 43 6f 6c 6f | 72 ff 00 16 1c 01 f7 3d |..myColo|r......=|
|000037c0| 5b 6d 79 41 70 70 6c 65 | 20 63 6f 6c 6f 72 5d 3b |[myApple| color];|
|000037d0| ff 00 16 18 01 f7 0d ff | 00 15 18 02 f7 fc 00 89 |........|........|
|000037e0| 02 bc 00 88 00 0e 02 88 | f7 53 65 6e 64 73 20 ff |........|.Sends .|
|000037f0| 00 16 1c 01 f7 63 6f 6c | 6f 72 ff 00 15 18 02 f7 |.....col|or......|
|00003800| 20 6d 65 73 73 61 67 65 | 20 74 6f 20 ff 00 16 1c | message| to ....|
|00003810| 01 f7 6d 79 41 70 70 6c | 65 ff 00 15 18 02 f7 2e |..myAppl|e.......|
|00003820| 20 20 41 20 76 61 6c 75 | 65 20 69 73 20 72 65 74 | A valu|e is ret|
|00003830| 75 72 6e 65 64 20 61 6e | 64 20 61 73 73 69 67 6e |urned an|d assign|
|00003840| 65 64 20 74 6f 20 ff 00 | 16 1c 01 f7 6d 79 43 6f |ed to ..|....myCo|
|00003850| 6c 6f 72 ff 00 15 18 02 | f7 2e 0d 0d fc 00 5b 02 |lor.....|......[.|
|00003860| bc 00 5a 00 0e 02 88 f7 | ff 00 16 1c 01 f7 5b 62 |..Z.....|......[b|
|00003870| 61 6e 61 6e 61 20 63 6f | 6c 6f 72 3a 22 79 65 6c |anana co|lor:"yel|
|00003880| 6c 6f 77 22 5d 3b ff 00 | 16 18 01 f7 0d ff 00 15 |low"];..|........|
|00003890| 18 02 f7 fc 00 89 02 bc | 00 88 00 0e 02 88 f7 53 |........|.......S|
|000038a0| 65 6e 64 73 20 ff 00 16 | 1c 01 f7 63 6f 6c 6f 72 |ends ...|...color|
|000038b0| ff 00 16 1c 01 f7 3a ff | 00 15 18 02 f7 20 20 6d |......:.|..... m|
|000038c0| 65 73 73 61 67 65 20 28 | 70 72 6f 6e 6f 75 6e 63 |essage (|pronounc|
|000038d0| 65 64 20 22 63 6f 6c 6f | 72 20 63 6f 6c 6f 6e 22 |ed "colo|r colon"|
|000038e0| 29 20 74 6f 20 ff 00 16 | 1c 01 f7 62 61 6e 61 6e |) to ...|...banan|
|000038f0| 61 ff 00 15 18 02 f7 2e | 20 20 41 72 67 75 6d 65 |a.......| Argume|
|00003900| 6e 74 20 70 61 73 73 65 | 64 20 69 73 20 ff 00 16 |nt passe|d is ...|
|00003910| 1c 01 f7 22 79 65 6c 6c | 6f 77 22 ff 00 15 18 02 |..."yell|ow".....|
|00003920| f7 2e 20 20 28 4e 6f 74 | 20 74 68 65 20 73 61 6d |.. (Not| the sam|
|00003930| 65 20 6d 65 73 73 61 67 | 65 20 61 73 20 ff 00 16 |e messag|e as ...|
|00003940| 1c 01 f7 63 6f 6c 6f 72 | ff 00 15 18 02 f7 2e ff |...color|........|
|00003950| 00 15 18 02 f7 29 0d 00 | 4b ff 00 15 18 03 f7 45 |.....)..|K......E|
|00003960| 78 61 6d 70 6c 65 3a 20 | 20 4f 76 65 72 72 69 64 |xample: | Overrid|
|00003970| 69 6e 67 20 74 68 65 20 | ff 00 16 18 01 f7 73 69 |ing the |......si|
|00003980| 7a 65 ff 00 15 18 03 f7 | 20 6d 65 74 68 6f 64 20 |ze......| method |
|00003990| 69 6e 20 41 70 70 6c 65 | 2e 0d f9 00 f7 ff 00 15 |in Apple|........|
|000039a0| 08 02 f7 0d 02 1b ff 00 | 15 24 00 f7 f5 f6 ff 00 |........|.$......|
|000039b0| 15 28 01 f7 4f 62 6a 65 | 63 74 69 76 65 2d 43 20 |.(..Obje|ctive-C |
|000039c0| 46 65 61 74 75 72 65 73 | 0d ff 00 15 18 00 f7 0d |Features|........|
|000039d0| fc 00 74 02 a4 00 74 00 | 0e 02 30 08 00 f7 ff 00 |..t...t.|..0.....|
|000039e0| 15 18 02 f7 41 6c 6c 20 | 4f 4f 50 20 70 72 6f 70 |....All |OOP prop|
|000039f0| 65 72 74 69 65 73 20 61 | 72 65 20 73 75 70 70 6f |erties a|re suppo|
|00003a00| 72 74 65 64 2c 20 77 69 | 74 68 20 74 68 65 73 65 |rted, wi|th these|
|00003a10| 20 71 75 61 6c 69 66 69 | 63 61 74 69 6f 6e 73 3a | qualifi|cations:|
|00003a20| 0d ff 00 15 18 00 f7 0d | fc 00 89 02 a4 00 89 00 |........|........|
|00003a30| 0e 02 30 08 00 f7 45 76 | 65 72 79 20 63 6c 61 73 |..0...Ev|ery clas|
|00003a40| 73 20 69 73 20 61 20 73 | 75 62 63 6c 61 73 73 20 |s is a s|ubclass |
|00003a50| 6f 66 20 73 6f 6d 65 20 | 6f 74 68 65 72 20 63 6c |of some |other cl|
|00003a60| 61 73 73 2c 20 69 6e 68 | 65 72 69 74 69 6e 67 20 |ass, inh|eriting |
|00003a70| 75 6c 74 69 6d 61 74 65 | 6c 79 20 66 72 6f 6d 20 |ultimate|ly from |
|00003a80| 74 68 65 20 72 6f 6f 74 | 20 ff 00 15 18 01 f7 4f |the root| ......O|
|00003a90| 62 6a 65 63 74 ff 00 15 | 18 00 f7 20 63 6c 61 73 |bject...|... clas|
|00003aa0| 73 2e 0d 0d 4f 62 6a 65 | 63 74 69 76 65 2d 43 20 |s...Obje|ctive-C |
|00003ab0| 64 6f 65 73 20 6e 6f 74 | 20 73 75 70 70 6f 72 74 |does not| support|
|00003ac0| 20 6d 75 6c 74 69 70 6c | 65 20 69 6e 68 65 72 69 | multipl|e inheri|
|00003ad0| 74 61 6e 63 65 2e 0d 0d | 43 6c 61 73 73 20 6d 65 |tance...|Class me|
|00003ae0| 74 68 6f 64 73 2c 20 69 | 6e 73 74 61 6e 63 65 20 |thods, i|nstance |
|00003af0| 6d 65 74 68 6f 64 73 2c | 20 61 6e 64 20 69 6e 73 |methods,| and ins|
|00003b00| 74 61 6e 63 65 20 76 61 | 72 69 61 62 6c 65 73 20 |tance va|riables |
|00003b10| 61 72 65 20 69 6e 68 65 | 72 69 74 65 64 20 62 79 |are inhe|rited by|
|00003b20| 20 73 75 62 63 6c 61 73 | 73 65 73 2e 20 20 53 74 | subclas|ses. St|
|00003b30| 61 74 69 63 20 76 61 72 | 69 61 62 6c 65 73 20 63 |atic var|iables c|
|00003b40| 61 6e 20 62 65 20 75 73 | 65 64 20 61 73 20 22 63 |an be us|ed as "c|
|00003b50| 6c 61 73 73 20 76 61 72 | 69 61 62 6c 65 73 22 20 |lass var|iables" |
|00003b60| 62 75 74 20 61 72 65 20 | 6e 6f 74 20 69 6e 68 65 |but are |not inhe|
|00003b70| 72 69 74 65 64 20 62 79 | 20 73 75 62 63 6c 61 73 |rited by| subclas|
|00003b80| 73 65 73 2e 0d fc 00 89 | 02 a4 00 89 02 0e 02 30 |ses.....|.......0|
|00003b90| 08 00 f7 0d fc 00 89 02 | a4 00 89 00 0e 02 30 08 |........|......0.|
|00003ba0| 00 f7 41 6c 6c 20 6d 65 | 74 68 6f 64 20 62 69 6e |..All me|thod bin|
|00003bb0| 64 69 6e 67 20 69 73 20 | 64 79 6e 61 6d 69 63 2e |ding is |dynamic.|
|00003bc0| 0d 00 f6 64 00 04 55 00 | 2e 25 00 27 00 00 f1 04 |...d..U.|.%.'....|
|00003bd0| 00 11 ad 00 2e 74 00 39 | a4 00 2f a6 00 14 20 00 |.....t.9|../... .|
|00003be0| 00 a7 00 14 3c 01 96 74 | 00 15 26 01 8e 74 00 16 |....<..t|..&..t..|
|00003bf0| d7 01 95 74 00 2d c5 01 | c9 74 00 18 a4 01 93 74 |...t.-..|.t.....t|
|00003c00| 00 1a d6 01 ab 74 00 03 | 9b 00 62 25 00 04 2d 01 |.....t..|..b%..-.|
|00003c10| 45 74 00 14 4e 01 98 75 | 00 1c c5 01 ab 74 00 21 |Et..N..u|.....t.!|
|00003c20| 5e 01 c5 74 00 23 24 00 | 2b 4d 00 23 4c 00 2b 64 |^..t.#$.|+M.#L.+d|
|00003c30| 00 23 5d 01 15 7c 00 24 | cd 01 5c 7c 00 26 79 00 |.#]..|.$|..\|.&y.|
|00003c40| 2b 25 00 26 d3 01 98 74 | 00 32 3d 01 8b 74 00 2b |+%.&...t|.2=..t.+|
|00003c50| e9 01 c9 74 00 34 3d 01 | ae 74 00 1e af 01 37 74 |...t.4=.|.t....7t|
|00003c60| 00 02 0c 01 54 74 00 1f | f5 01 ac 74 00 36 b1 01 |....Tt..|...t.6..|
|00003c70| 9e 74 00 04 6c 01 53 74 | 00 0d cf 01 4d 74 00 08 |.t..l.St|....Mt..|
|00003c80| e5 01 be 74 00 0b 86 01 | 8d 74 00 2f 7c 01 76 34 |...t....|.t./|.v4|
|00003c90| 00 39 57 00 2b 25 00 32 | 0d 01 91 74 00 06 73 01 |.9W.+%.2|...t..s.|
|00003ca0| ba 74 00 0f 2e 01 a7 74 | 00 12 2c 01 98 74 00 27 |.t.....t|..,..t.'|
|00003cb0| 38 01 73 34 00 2a 0a 01 | 03 02 ca fc 00 63 02 d0 |8.s4.*..|.....c..|
|00003cc0| 00 48 00 0e f7 ff 00 15 | 24 03 f7 52 65 66 65 72 |.H......|$..Refer|
|00003cd0| 65 6e 63 65 73 ff 00 15 | 0e 03 f7 0d fc 00 5a 02 |ences...|......Z.|
|00003ce0| d1 00 5a 00 0e 02 9c 07 | 80 f7 0d fc 00 63 02 d0 |..Z.....|.....c..|
|00003cf0| 00 48 00 0e f7 ff 00 15 | 14 03 f7 ff 00 15 14 00 |.H......|........|
|00003d00| f7 0d ff 00 15 14 02 f7 | 4f 62 6a 65 63 74 2d 4f |........|Object-O|
|00003d10| 72 69 65 6e 74 65 64 20 | 50 72 6f 67 72 61 6d 6d |riented |Programm|
|00003d20| 69 6e 67 3a 20 41 6e 20 | 45 76 6f 6c 75 74 69 6f |ing: An |Evolutio|
|00003d30| 6e 61 72 79 20 41 70 70 | 72 6f 61 63 68 ff 00 15 |nary App|roach...|
|00003d40| 14 00 f7 2c 20 62 79 20 | 42 72 61 64 20 43 6f 78 |..., by |Brad Cox|
|00003d50| 2c 20 41 64 64 69 73 6f | 6e 2d 57 65 73 6c 65 79 |, Addiso|n-Wesley|
|00003d60| 2c 20 31 39 38 37 2e 20 | 20 54 68 69 73 20 62 6f |, 1987. | This bo|
|00003d70| 6f 6b 20 68 61 73 20 4f | 62 6a 65 63 74 69 76 65 |ok has O|bjective|
|00003d80| 2d 43 20 65 78 61 6d 70 | 6c 65 73 2c 20 62 75 74 |-C examp|les, but|
|00003d90| 20 69 73 20 62 65 73 74 | 20 66 6f 72 20 62 61 63 | is best| for bac|
|00003da0| 6b 67 72 6f 75 6e 64 20 | 69 6e 66 6f 72 6d 61 74 |kground |informat|
|00003db0| 69 6f 6e 2c 20 6e 6f 74 | 20 61 73 20 61 20 72 65 |ion, not| as a re|
|00003dc0| 66 65 72 65 6e 63 65 20 | 6d 61 6e 75 61 6c 2e 0d |ference |manual..|
|00003dd0| 0d ff 00 15 14 02 f7 41 | 6e 20 49 6e 74 72 6f 64 |.......A|n Introd|
|00003de0| 75 63 74 69 6f 6e 20 74 | 6f 20 4f 62 6a 65 63 74 |uction t|o Object|
|00003df0| 2d 4f 72 69 65 6e 74 65 | 64 20 50 72 6f 67 72 61 |-Oriente|d Progra|
|00003e00| 6d 6d 69 6e 67 ff 00 15 | 14 00 f7 2c 20 62 79 20 |mming...|..., by |
|00003e10| 54 69 6d 6f 74 68 79 20 | 42 75 64 64 2c 20 41 64 |Timothy |Budd, Ad|
|00003e20| 64 69 73 6f 6e 2d 57 65 | 73 6c 65 79 2c 20 31 39 |dison-We|sley, 19|
|00003e30| 39 31 2e 20 20 41 6e 20 | 65 78 63 65 6c 6c 65 6e |91. An |excellen|
|00003e40| 74 20 62 6f 6f 6b 20 6f | 6e 20 4f 4f 50 2c 20 77 |t book o|n OOP, w|
|00003e50| 69 74 68 20 63 6f 6d 70 | 61 72 69 73 6f 6e 73 20 |ith comp|arisons |
|00003e60| 62 65 74 77 65 65 6e 20 | 4f 62 6a 65 63 74 69 76 |between |Objectiv|
|00003e70| 65 2d 43 2c 20 43 2b 2b | 2c 20 4f 62 6a 65 63 74 |e-C, C++|, Object|
|00003e80| 20 50 61 73 63 61 6c 2c | 20 61 6e 64 20 53 6d 61 | Pascal,| and Sma|
|00003e90| 6c 6c 74 61 6c 6b 2e 0d | 0d f9 00 f7 ff 00 15 14 |lltalk..|........|
|00003ea0| 02 f7 4f 62 6a 65 63 74 | 69 76 65 2d 43 20 3a 20 |..Object|ive-C : |
|00003eb0| 4f 62 6a 65 63 74 2d 4f | 72 69 65 6e 74 65 64 20 |Object-O|riented |
|00003ec0| 50 72 6f 67 72 61 6d 6d | 69 6e 67 20 54 65 63 68 |Programm|ing Tech|
|00003ed0| 6e 69 71 75 65 73 ff 00 | 15 14 00 f7 2c 20 62 79 |niques..|...., by|
|00003ee0| 20 4c 65 77 69 73 20 4a | 2e 20 50 69 6e 73 6f 6e | Lewis J|. Pinson|
|00003ef0| 20 26 20 52 69 63 68 61 | 72 64 20 53 2e 20 57 69 | & Richa|rd S. Wi|
|00003f00| 65 6e 65 72 2c 20 41 64 | 64 69 73 6f 6e 2d 57 65 |ener, Ad|dison-We|
|00003f10| 73 6c 65 79 2c 20 31 39 | 39 31 2e 20 20 41 20 67 |sley, 19|91. A g|
|00003f20| 6f 6f 64 20 62 6f 6f 6b | 20 66 6f 72 20 4f 4f 50 |ood book| for OOP|
|00003f30| 20 77 69 74 68 20 4f 62 | 6a 65 63 74 69 76 65 2d | with Ob|jective-|
|00003f40| 43 20 65 78 61 6d 70 6c | 65 73 2e 0d ff 00 15 14 |C exampl|es......|
|00003f50| 00 f7 f9 00 f7 0d 44 6f | 63 75 6d 65 6e 74 61 74 |......Do|cumentat|
|00003f60| 69 6f 6e 20 6d 61 6e 75 | 61 6c 73 20 66 72 6f 6d |ion manu|als from|
|00003f70| 20 4e 65 58 54 20 43 6f | 6d 70 75 74 65 72 2c 20 | NeXT Co|mputer, |
|00003f80| 49 6e 63 2e 0d 00 f0 64 | 00 04 55 00 2e 25 00 27 |Inc....d|..U..%.'|
|00003f90| 00 00 f1 04 00 11 ad 00 | 2e 74 00 39 a4 00 2f a6 |........|.t.9../.|
|00003fa0| 00 14 20 00 00 a7 00 14 | 3c 01 96 74 00 15 26 01 |.. .....|<..t..&.|
|00003fb0| 8e 74 00 16 d7 01 95 74 | 00 2d c5 01 c9 74 00 18 |.t.....t|.-...t..|
|00003fc0| a4 01 93 74 00 1a d6 01 | ab 74 00 03 9b 00 62 25 |...t....|.t....b%|
|00003fd0| 00 04 2d 01 45 74 00 14 | 4e 01 98 75 00 1c c5 01 |..-.Et..|N..u....|
|00003fe0| ab 74 00 21 5e 01 c5 74 | 00 23 24 00 2b 4d 00 23 |.t.!^..t|.#$.+M.#|
|00003ff0| 4c 00 2b 64 00 23 5d 01 | 15 7c 00 24 cd 01 5c 7c |L.+d.#].|.|.$..\||
|00004000| 00 26 79 00 2b 25 00 26 | d3 01 98 74 00 32 3d 01 |.&y.+%.&|...t.2=.|
|00004010| 8b 74 00 2b e9 01 c9 74 | 00 34 3d 01 ae 74 00 1e |.t.+...t|.4=..t..|
|00004020| af 01 37 74 00 02 0c 01 | 54 74 00 1f f5 01 ac 74 |..7t....|Tt.....t|
|00004030| 00 36 b1 01 9e 74 00 04 | 6c 01 53 74 00 0d cf 01 |.6...t..|l.St....|
|00004040| 4d 74 00 08 e5 01 be 74 | 00 0b 86 01 8d 74 00 2f |Mt.....t|.....t./|
|00004050| 7c 01 76 34 00 39 57 00 | 2b 25 00 32 0d 01 91 74 ||.v4.9W.|+%.2...t|
|00004060| 00 06 73 01 ba 74 00 0f | 2e 01 a7 74 00 12 2c 01 |..s..t..|...t..,.|
|00004070| 98 74 00 3c b9 01 8b | |.t.<... | |
+--------+-------------------------+-------------------------+--------+--------+