
IOS
kakugou
这个作者很懒,什么都没留下…
展开
-
使用UIActivityIndicatorView
秘诀:使用UIActivityIndicatorView来源:http://blog.youkuaiyun.com/lukziliary/article/details/4505846UIActivityIndicatorView实例提供轻型视图,这些视图显示一个标准的旋转进度轮。当使用这些视图时,最重要的一个关键词是小。20×20像素是大多数指示器样式获得最清楚显示效果的大小。只要稍大一点,指示转载 2012-03-30 11:22:01 · 286 阅读 · 0 评论 -
iPhone开发技巧之网络篇--- 确认网络环境 3G/WIFI
原文链接 : http://www.yifeiyang.net/iphone-web-development-skills-of-the-article-4-make-sure-the-network-environment-3gwifi/Reachability检测当前网络环境连接状态实时通知Reachability 1.5Reachability 2.0转载 2012-05-29 14:11:20 · 326 阅读 · 0 评论 -
xcode 4.2 自己添加 MainWindow.xib
xcode 4.2 不再支持 Window-Based Application 的解决办法: 1.创建空项目 Empty Application。(在Xcode4.2下创建的这个空项目不再有MainWindow.xib文件了。) 2.Ctrl+N,创建User Interface下面的Window(选择“iOS->User Interface->Window),命名成Mai转载 2012-05-29 11:10:49 · 511 阅读 · 0 评论 -
storyboard和xib不同的人生道路
storyboard和xib不同的人生道路從Storyboard和Xib產生的view controller其實在一開始初始化時即有著細微的差異。如上圖所示,雖然最後都會來到viewDidLoad的終點,但在之前卻各自經歷不同的人生。從Storyboard產生的view controller比較坎坷,繞了遠路,經歷initWithCoder:和awakeFromNi转载 2012-05-17 12:58:59 · 1640 阅读 · 0 评论 -
When does layoutSubviews get called?
When does layoutSubviews get called?It’s important to optimize any UIView layoutSubviews method you create, as it can be frequently called, and has the potential for creating recursion (triggeri转载 2012-05-17 12:46:59 · 388 阅读 · 0 评论 -
layoutSubviews何时调用的问题
layoutSubviews何时调用的问题,这个方法是当你需要在调整subview的大小的时候需要重写(我这个翻译不严谨,以下是原文:You should override this method only if the autoresizing behaviors of the subviews do not offer the behavior you want.),但有时候经常指望它被调用的转载 2012-05-17 09:15:50 · 415 阅读 · 0 评论