Objective-C??C++???C????????
???????????? ???????[ 2012/9/27 11:02:08 ] ????????
????????ios??????????Objective-C????????????????????????????????????ù???????c++???????????????????????????????????????????????????????????????????????????—c??????????????c?????????????????????????????????????棬??????л????????????????????????????????????Щ???
?????????
????C????????????AT&T???????????????????C?????????????????????ANSI????????????????C????????????1983????????ANSI C??
????C++???????????????????????Bjarne Strou-strup?????C++?? C++????????????????C??????????????????????????????
????Objective -C?????????????OC????????????????1988??Steve Jobs??NextStep????Objective-C???????????????MacOS X???IOS??????????????????Objective-C?????Objective-C?????Mac OS X ????????????????????Mac OS X ???????NextStep??OpenStep???????????OPENSTEP??????????framework????????Objetive-C д?ɡ????OC????Brad Cox?????????????????????????????Smalltalk??????д?ɡ?Brod Cox??????StepStone???????OC??????????OC??1992??????GNU gcc???????????????OC???GNUstep??Linux???????????????????
???????
?????? C???????
????1????????????????????????????????黯???????????????????????
????2??????????????????????????????????????????????????λ??bit????????????
????3??C?????????????????????????C????????????????????????????—??????????????????????????????????????
????4??C?????????Ч???????????????????????????????????????????????γ??????汾??C?????????????????????C++????
?????? C++???????
????1????C????????????????????????C++??????C???????????????????????????????????????????
????2????????ó?????????????л??????????
????3???????????С???????????????????
????4???????????????????????????????
?????? OC???????
????1??Objecive-C????Smalltalk???????????????C++?????????????Simula 67????????????????????????????
????2??Objective-C ??ANSI C????????????C ????????????????????????????????????‘??У?????Objective-C??????п?????C??C++????????????C???????????????C++????????????
????3??Objective-C????????????????????????????????????????п?????
????C++??OC??????????????????????к???????????????????????????????????????ɡ???????????????????????????????????????
????1????У?Objective-C???Java??Smalltalk????????????У???C++???????????У?????????????????е?Ч????????
????2???????????Objective-C?????????????????????????C++?????к???????
????3???????Objective-C?????????dynamicaly typed????????????????C++??????????Objective-C ????????????????????????????????????????????????????????????C++????????????????????????????????????
????4??????Objective-C????protocolЭ?饗????????????????????????????C++?????麯????????????????
????5???????????c++????????????????????????????????????????????????????????????????????????OC?в???????????????????????????????????????????????????????????????XCode?????
????PS??
????Simula67?????????????????????????????????????????????????????????????α????????????Smalltalk?????????????????????????????Objective-C??C++????????Objective-C????????????????????????????????????????????????????????????????C++???????????????????????????????????????????????????????????????????Smalltalk??????????????Simulr 67???????????????磺
???????????д???NSString *test =(id) [[NSArray alloc] init]??//????????C++????????????OC????????????
??????????????????????Objective-C??????Dynamic Typing??????Static Typing???????????id????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
??????C++??Static Typing?????????????????????????????????????????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11