![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iPhone学习笔记
拙言
这个作者很懒,什么都没留下…
展开
-
Plist文件载入
NSBundle *bundle = [NSBundle mainBundle]; NSString *plistPath = [bundle pathForResource:@"File Name" ofType:@"plist"]; NSDictionary *dictionary = [[NSDictionary alloc] initWithContentsOfFile:plistPa...2011-08-04 17:03:39 · 97 阅读 · 0 评论 -
Cocoa库中移除字符串前后空白的方法
NSString *str = [string stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];2011-12-19 15:13:00 · 83 阅读 · 0 评论