views:

105

answers:

2

in function signatures, like:

- (void)dealloc

?

thanks :)

+11  A: 

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

Marcelo Cantos
awesome, thanks! and if you don't have a + or a - then it's just a regular function (no associated class)?
mindthief
If there's no + or -, it's not an Objective-C method (i.e, a C function).
zpasternack
: great, thanks!
mindthief
A: 

try google next time. it sounds like an intro tutorial to objective-c would be helpful for you (http://cocoadevcentral.com/d/learn_objectivec/)

btw.. mindthief's a friend of mine. but come on.. it is a stupid question...
Don't even have to Google for it, it's right here on the site, several times over. http://stackoverflow.com/search?q=objective-c+plus+sign and http://stackoverflow.com/questions/2097294/ Linking to a duplicate question more politely would be better form, though.
Quinn Taylor