`

iPhone开发经典语录集锦

    博客分类:
  • IOS
 
阅读更多


如果大家和我一样有感触的话,可以跟在帖子下面,最好简短并附上中英文:)





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

分享到:
评论

相关推荐

    iPhone开发经典实例

    教程名称:iPhone开发经典实例源码课程目录:【】iPhone3D手动翻页特效源代码【】iphone下的金融计算器源代码【】iPhone单页横向翻页特效源代码【】iphone开发 经典效果 源码demo【】iphone开发教程源码...

    iPhone开发实战.pdf

    iPhone开发实战 iPhone开发 iPhone iPhone4 iPhone开发实战 iPhone开发 iPhone iPhone4

    Iphone开发系列源码——Iphone主题源码

    Iphone开发系列源码——Iphone主题源码Iphone开发系列源码——Iphone主题源码Iphone开发系列源码——Iphone主题源码Iphone开发系列源码——Iphone主题源码Iphone开发系列源码——Iphone主题源码Iphone开发系列源码...

    iPhone开发基础教程电子书

    这里推荐两本书《objective-c基础教程》和《iphone开发基础教程》,这两本都是圣经级的巨作,我相信每一个iphone开发人员应该都不会错过这两本书的。  等你xcode和objective-c摸熟之后,或者说,上面提到的那两...

    iphone开发入门经典源码

    《iPhone开发入门经典》基于Apple最新发布的iPhoneOS3.0编写,循序渐进地介绍了从事iPhoneF发所需的基本知识,包括使用Xcode、Interface Builder、objective-C和(Cocoa Touch等开发工具,设计及美化用户界面,读写...

    Iphone开发系列源码——iPhone版Wordpress源代码

    Iphone开发系列源码——iPhone版Wordpress源代码Iphone开发系列源码——iPhone版Wordpress源代码Iphone开发系列源码——iPhone版Wordpress源代码Iphone开发系列源码——iPhone版Wordpress源代码Iphone开发系列源码...

    iPhone开发基础教程

    《iPhone开发基础教程》内容完整丰富,具有较强的通用性,编程领域中各层次读者都能通过《iPhone开发基础教程》快速学习iPhone开发,提高相关技能。iPhone 是一种全新的移动平台,苹果公司为它推出了强大的软件开发...

    iphone开发经典

    iphone开发经典

    iphone开发经典资料

    iphone经典资料 想学iPhone开发的同志请进下 支持下

    Iphone开发系列源码——Image图片缩放随着手指

    Iphone开发系列源码——Image图片缩放随着手指Iphone开发系列源码——Image图片缩放随着手指Iphone开发系列源码——Image图片缩放随着手指Iphone开发系列源码——Image图片缩放随着手指Iphone开发系列源码——Image...

    iPhone游戏开发入门经典——也适用于iPad

    iPhone游戏开发入门经典——也适用于iPad

    iPhone开发基础教程-PDF版

    iPhone开发,iPhone开发教程,iPhone开发基础教程PDF版

    iPhone游戏开发入门经典:也适用于iPad源码

    iPhone游戏开发入门经典:也适用于iPad 代码 非常好的

    iPhone开发入门到精通视频教程

    资源名称:iPhone开发入门到精通视频教程资源目录:【】iOS开发源码系列---工具【】iOS开发源码系列---应用【】iOS开发源码系列---游戏【】iOS开发源码系列---类库与框架【】iOS开发真机测试与发布【】iOS开发视频...

    iphone开发实战

    本书全面探讨了iPhone平台的两种编程方式——Web开发和SDK编程。全在Web开发方面,分别介绍了三个iPhone Web库,即WebKit、iUI和Canvas,并讨论了Web开发环境Dashcode,最后阐述... 本书适合所有iPhone开发人员学习参考

    轻松学iPhone开发

    轻松学iPhone共分3篇。第1篇介绍iPhone的发展、iPhone开发环境以及开发工具的安装过程、iPhone Simulator模拟器

    深入浅出iPhone开发(清晰版,内含中英2个版本的书)

    知名的Head First系列丛书之一,风格与其他Head First系列一脉相承,一定能让读者轻松学会iPhone开发,《深入浅出iPhone开发》是针对iPhone开发的初学者设计的,以几个应用实例的开发为例,循序渐进地对iPhone开发的...

    Iphone开发系列源码——多功能播放器源码

    Iphone开发系列源码——多功能播放器源码Iphone开发系列源码——多功能播放器源码Iphone开发系列源码——多功能播放器源码Iphone开发系列源码——多功能播放器源码Iphone开发系列源码——多功能播放器源码Iphone开发...

    iPhone游戏开发

    iPhone游戏开发iPhone游戏开发iPhone游戏开发iPhone游戏开发iPhone游戏开发iPhone游戏开发iPhone游戏开发iPhone游戏开发iPhone游戏开发iPhone游戏开发

    Iphone开发系列源码——星级评价实现代码

    Iphone开发系列源码——星级评价实现代码Iphone开发系列源码——星级评价实现代码Iphone开发系列源码——星级评价实现代码Iphone开发系列源码——星级评价实现代码Iphone开发系列源码——星级评价实现代码Iphone开发...

Global site tag (gtag.js) - Google Analytics