黑马程序员技术交流社区

标题: 菜鸟提问,望大神解答 [打印本页]

作者: ios_Beginner    时间: 2016-3-11 12:30
标题: 菜鸟提问,望大神解答
本帖最后由 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 修饰的是成员变量还是方法?谢谢





欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) 黑马程序员IT技术论坛 X3.2