摘要:
空block用法:@interface Demo (){ void(^firstBlock)(); //局部变量}@end//回调的block^(void){ NSLog(@"---------------------------0");}typedef void (^Block... 阅读全文
摘要:
iPhone开发笔记——Xcode升级后的警告、错误的解决办法(一)http://blog.sina.com.cn/s/blog_58af95150101slit.htmliPhone开发笔记——Xcode升级后的警告、错误的解决办法(二)http://blog.sina.com.cn/s/blog... 阅读全文
摘要:
一、项目文件结构示意图二、文件介绍1.products文件夹:主要用于mac电脑开发的可执行文件,ios开发用不到这个文件2.frameworks文件夹主要用来放依赖的框架3.test文件夹是用来做单元测试的4.常用的文件夹(项目名称文件夹)(1)XXXinfo.plist文件(在该项目中为 01-... 阅读全文
摘要:
1> 显示隐藏文件# 显示隐藏文件 $ defaults write com.apple.finder AppleShowAllFiles Yes && killall Finder# 不显示隐藏文件 $ defaults write com.apple.finder AppleShowAllFil... 阅读全文
摘要:
There are only two hard things in Computer Science: cache invalidation and naming things.在计算机科学中只有两件难事:缓存失效和命名。— Phil Karlton计算机语言是人和计算机之间通讯的媒介。好的代码应该... 阅读全文