Add more description to @property getters and setters.

This commit is contained in:
Levi Bostian 2013-12-21 17:37:19 -06:00
parent e97b02c0d5
commit 5d5f3309fa

View File

@ -233,6 +233,9 @@ int main (int argc, const char * argv[])
@property int count;
@property (copy) NSString *name; // Copy the object during assignment.
@property (readonly) id data; // Declare only a getter method.
// To access variable in implementation file, use '_' followed by variable name:
_count = 5;
NSLog("%@", _count); // => prints 5 to console
// Methods
+/- (return type)methodSignature:(Parameter Type *)parameterName;