随笔分类 - ios开发
学习ing
摘要:没看明白之一:Error handlingWhen methods return an error parameter by reference, check the returned value, not the error variable.Preferred:NSError *error = ...
阅读全文
摘要:当执行pod install时候出现以下信息:Analyzing dependencies[!] The version of CocoaPods used to generate the lockfile (0.34.4) is higher than the version of the cur...
阅读全文
摘要:类方法 在A类中定义的静态方法+(void)function;在其他包含了此类的头文件的文件里,直接调用[A function];实例方法 在B类中定义实例方法- (void)function;在其他包含此类的头文件的文件里,先生成一个对象实例,比如@property (XX,XX)(B*) Exa...
阅读全文
摘要:http://ourcoders.com/thread/show/117/以上文章,对SDK的帮助文档阅读进行梳理。
阅读全文
摘要: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...
阅读全文
摘要:更多:http://blog.csdn.net/totogo2010/article/details/7640612转自网络1.po 命令:为 print object 的缩写,显示对象的文本描述(显示从对象的 description 消息获得的字符串信息)。2.print 命令:有点类似于格式化输...
阅读全文
摘要:转自网络:1、得到一个storyboard对象(UIStoryBoard类的对象)。如果你有一个已经存在的view controller,而且这个view controller是从同一个storyboard实例化而来的,那么可以通过它的storyboard属性获得storyboard对象。要加载另外...
阅读全文
浙公网安备 33010602011771号