mindthief
mindthief

Reputation: 13393

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

in function signatures, like:

- (void)dealloc

?

thanks :)

Upvotes: 3

Views: 194

Answers (1)

Marcelo Cantos
Marcelo Cantos

Reputation: 186058

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

Upvotes: 12

Related Questions