What do all the + and - in Objective-C symbols mean?

in function signatures, for example:

- (void)dealloc

      

?

thanks:)

+2


a source to share


1 answer


-

denotes an instance method, but +

denotes a class method that does not belong to a particular instance.



+11


a source







All Articles