开发者

what are the signatures for alloc,init,NSobject

开发者 https://www.devze.com 2023-02-25 15:36 出处:网络
im new to iphone development here i dont the signatures of these methods like ,alloc,init and nsobject,ns开发者_StackOverflow中文版string.

im new to iphone development here i dont the signatures of these methods like ,alloc,init and nsobject,ns开发者_StackOverflow中文版string.

can any one please help me for these signatures.

thank you in advance.


You should use apple documentation for this.

-(id)init;

+ (id)alloc;


NSObject *tempObject = [[NSObjectalloc]init];
NSString *tempString = [[NSString alloc]init];
0

精彩评论

暂无评论...
验证码 换一张
取 消