sasori
sasori

Reputation: 5445

Object methods in ObjC documentation that don't have plus or minus signs

What are the methods in class references that have no + or - symbol? Some methods have a plus sign, and these are class methods, and the ones with the minus sign are instance methods.

One example is the NSString method

capitalizedString

What are these functions?

Upvotes: 0

Views: 82

Answers (1)

user1118321
user1118321

Reputation: 26335

They are Objective-C properties.

You can see this if you look at the definition in NSString.h:

@property (readonly, copy) NSString *capitalizedString;

Upvotes: 4

Related Questions