开发者

what do all the +'s and -'s in Objective-C mean?

in function signatures, like:

开发者_开发知识库
- (void)dealloc

?

thanks :)


The - denotes an instance method, while the + denotes a class method that doesn't belong to a specific instance.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜