您的位置:首页 > 移动开发 > Objective-C

Manipulating Strings(Chapter 6 of Objective-C Phrasebook)

2011-03-28 11:48 344 查看
Foundation provides a class for assigning arbitrary attributes to strings. The NSAttributedString class lets you attach dictionaries to ranges in attributed strings. These dictionaries can contain any arbitrary information that you want, including semantic markup. It’s important to remember that sending a -copy message to any NSString subclass will always return an immutable string. If you wanta mutable string, you must use -mutableCopy instead.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: