1:如果无法保证子类行为的一致性,那么就用委托 If the subClass cann't keep with superClass,use delegate rather than inheritance. |
2:屏幕上看到的,都是UIVew Everything you see on Screen is UIView. |
3:如果对性能要求高,慎用Interface Build if application's performance is important,be discreet for the interface build. |
4:copy是创建,retain是引用 the copy operation is create a new one,but the retain operation is just a reference. |
5:alloc需要release,convenient不需要release alloc method need corresponding release method,but convenient method not. |
6:加载到NSArray/NSMutableArray里的对象,不需要负责release The objects added to NSArray/NSMutableArray need not to be released. |
7:IBOutlet,IBAction为你开启了访问Interface Build中对象的大门 IBOutlet and IBAction open the door to access the objects in Interface build. |
8:UIApplicationDelegate负责应用程序的生命周期,而UIViewController负责View的生命周期 UIApplicationDelegate is responsible for the application life cycle,but UIViewController for the UIView. |
9:为了程序的健壮性,请尽量实现Delegate的生命周期函数 if you want to develop a robust application,implement the life cycle methods as more as possbile. |
10:哥触摸的不是UIEvent,而是NSSet的UIView what you touch on screen is not UIEvent but UIView |
相关推荐
张星宇-东北大学-iOS开发1
cocos2d初学者学习文档,cocos2d 框架中文文档,介绍了基础开发 ,以及box2d、Chipmunk两个物理引擎基础之上的开发方案。
CocosCreator-IOS 开发篇的代码附件
关东升老师2015年扛鼎之作-iOS开发指南第3版完整版pdf,Objective-C和Swift双语言言传身教,初学者和想深入IOS者,都可以以此书学习参考资料。建议购买纸质书,更舒爽!pdf文件有120M左右,太大,所以压缩成上下两...
上海银联-ios开发文档,应用于手机支付的快捷链接
关东升老师2015年扛鼎之作-iOS开发指南第3版完整版pdf,Objective-C和Swift双语言言传身教,初学者和想深入IOS者,都可以以此书学习参考资料。建议购买纸质书,更舒爽!pdf文件有120M左右,太大,所以压缩成上下两...
ios开发_iOS开发实用demo之TFSlidePage开发
知易Cocco2D-iOS开发教程与源码
AFNetworking第三方网络数据请求类-是iOS开发必备的开发工具类,快捷方便的在开发过程中使用,大大提高开发效率
ios开发_iOS开发实用demo之滚动条开发
本书是一本iOS项目分析与实战的教程,旨在帮助读者实际动手做出一些iOS项目,同时也能够学习到一些理论知识。 本书收录了6个iOS项目,这些项目是在iOS开源社区下载的。涵盖了:工具类应用、体育类应用、效率类应用、...
ios开发_iOS开发实用demo之iOS核心动画集开发
自定义双向slider双向滑动实现文字区间选择并显示
上海机电学院课程作业-IOS开发内含源码和报告.zip
Swift-编-程-实-战-iOS应用开发实例及完整解决方案.pdf 完整版,希望对你有帮助。
IOS开发
12-IOS游戏开发Cocos2d.pdf
内含android ios开发包
iOS开发直播App(集合了ios开发各种常用功能与技巧)