本帖最后由 ios_Beginner 于 2016-3-11 12:31 编辑
#pragma mark *** Case changing ***
/* The following three return the canonical (non-localized) mappings. They are suitable for programming operations that require stable results not depending on the user's locale preference. For locale-aware case mapping for strings presented to users, use the "localized" methods below. */ @property (readonly, copy) NSString *uppercaseString; @property (readonly, copy) NSString *lowercaseString; @property (readonly, copy) NSString *capitalizedString;
在OC中可以使用@property来修饰方法吗?上面Xcode中使用 @property 修饰的是成员变量还是方法?谢谢
|