OC
拥抱自由煮意拥抱文明
rookie as donkey
展开
-
4-ios_OCBasic-1
1.OC-keywordssome start with "@"2.Foundation.ha basic lib of OC3.NSLoga method to show logoc-string start with a "@"@"@%" output a NSString4.state a class in ocstartwith:@interface...原创 2019-03-04 17:38:46 · 68 阅读 · 0 评论 -
5-ios_OCBasic-2
1.anonymous objscene: we just invoke a obj's method once2.selfself in oc ~ this in Javaa subjectin a obj method A which is ahead of "self" invoke method Bthe self here is a obj who invokes ...原创 2019-03-11 16:32:44 · 64 阅读 · 0 评论 -
6-ios_OCAdvance-1
1.reference countwhen a obj was created,it's RC is 1,the system will callback when RC = 0know what isAMR & MRC modelrelease: RC - 1retain: RC + 12.@property in ARM Manager@pro...原创 2019-03-12 17:15:19 · 74 阅读 · 0 评论 -
7-ios_OCAdvance-2
1.expandexpand a Class, create a objective-c fileFile Type:CategoryClass:the target classAim:add a method without changing the original classif we expand the NSobject,all class can use the e...原创 2019-03-22 13:56:25 · 226 阅读 · 0 评论