iOS?????????
???????????? ???????[ 2015/5/8 15:23:34 ] ???????????????
??????????????????????豸?????????????????????????????У?????????????????????Ч????????????棬?????????????????????????????
???????Objective-C??????????
????IOS?????У?????е????????????????????????????int??float??struct?????????????????????????????????????NSObject??????е?OC??????????????????????????????????????????????????????????????????????????????????
?????????????????????????????????????????????????????????淽????????
????????????????У????????ν??????У??????????????????????????????????????????????????????У??????????????????????????????浱?п????????????????????????в??????С???????????????????????????????????
????????????????????????????????????棬???????????????????????????????????????????????????????????????????????????????????У??????д???????????????????????????????????????????????е??????
????????????????????????????????????????????????????????????????????int????NSNumber?????????????????????????????????????????????????????????????????????NSNumer??float????????????У??????????????????е??????????????????????2??????????????????????????????????????????????????????????????????????????
??????IOS?????????У??????е????????????????????????е??????????????????????????OC???????????????????????洢???ü???????????????????????????????????????????????ж??????????????????ü????0?????????????0????????????????alloc??new????retain??????ü?????1??release??????ü?????1??
????????Objective-C??????????
????Objective-c???????????????????MRC??Mannul Reference Counting????ARC(Automatic Reference Counting)???????????????????????????????????????MRC??ARC??????????????
????1.MRC????????ü????????????????檔
????MRC???£????е???????????????retain??release????????????檔???MRC?????????????????????????????alloc???release???retain???release??
?????????ü????0????????????????ü??????0????????????????ü????0????????л????????????й?????????ü????0??????????????????????????????????????????????????????=nil??
????2.ARC(??????ü???)???????????檔
????ARC??IOS5??????1???????ARC????????????????檔??ARC???£?????????????????????????????????ARC???£??????????retain??release??retainCount??????????????????dealloc????????????????[super dealloc]??????
????ARC???μ?property???????δ??strong??weak??????MRC???μ?retain??assign??strong:????retain??????????????????á?weak??????assign??????????????????????nil??????????????assign????????????????????????????????????????????
??????
???·???
??????????????????
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