开发者

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

开发者 https://www.devze.com 2022-12-28 20:55 出处:网络
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.

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

精彩评论

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