随笔分类 -  ios开发

学习ing
摘要:没看明白之一:Error handlingWhen methods return an error parameter by reference, check the returned value, not the error variable.Preferred:NSError *error = ... 阅读全文
posted @ 2015-01-02 11:22 memorecool 阅读(138) 评论(0) 推荐(0)
摘要:当执行pod install时候出现以下信息:Analyzing dependencies[!] The version of CocoaPods used to generate the lockfile (0.34.4) is higher than the version of the cur... 阅读全文
posted @ 2014-11-20 13:40 memorecool 阅读(379) 评论(0) 推荐(0)
摘要:类方法 在A类中定义的静态方法+(void)function;在其他包含了此类的头文件的文件里,直接调用[A function];实例方法 在B类中定义实例方法- (void)function;在其他包含此类的头文件的文件里,先生成一个对象实例,比如@property (XX,XX)(B*) Exa... 阅读全文
posted @ 2014-11-03 14:41 memorecool 阅读(628) 评论(0) 推荐(0)
摘要:http://ourcoders.com/thread/show/117/以上文章,对SDK的帮助文档阅读进行梳理。 阅读全文
posted @ 2014-10-30 12:31 memorecool 阅读(194) 评论(0) 推荐(0)
摘要:ElementSize (in points)Window (including status bar)320 x 480 ptsStatus Bar(How to hide the status bar)20 ptsView inside window(visible status bar)320... 阅读全文
posted @ 2014-10-29 17:35 memorecool 阅读(262) 评论(0) 推荐(0)
摘要:更多:http://blog.csdn.net/totogo2010/article/details/7640612转自网络1.po 命令:为 print object 的缩写,显示对象的文本描述(显示从对象的 description 消息获得的字符串信息)。2.print 命令:有点类似于格式化输... 阅读全文
posted @ 2014-10-29 14:44 memorecool 阅读(1473) 评论(0) 推荐(0)
摘要:转自网络:1、得到一个storyboard对象(UIStoryBoard类的对象)。如果你有一个已经存在的view controller,而且这个view controller是从同一个storyboard实例化而来的,那么可以通过它的storyboard属性获得storyboard对象。要加载另外... 阅读全文
posted @ 2014-10-28 14:59 memorecool 阅读(665) 评论(0) 推荐(0)