Skip to content

ApesTalk/effective-iOS-tricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

effective-iOS-tricks

有效提高iOS开发效率的技巧集合,期待有兴趣的朋友参与进来! 这里将持续收集一些在实际开发中非常实用的开发技巧、奇淫巧技、踩过的坑、疑难杂症解决方案等等。

A collection of skills that effectively improve the efficiency of iOS development. Interested friends are welcome to contribute.

使用技巧

按 T 可以进入搜索页面,查找你需要的内容

Contents

  • 提升Xcode编译速度
  • 禁止Xcode打印杂七杂八的系统日志
  • 打印App启动时间信息
  • Xcode无法注释(注释快捷键不能使用)问题
  • 通过模拟器给你的APP录制一个视频(模拟器录屏功能)
  • 关于符号表(dSYM)的误解与事实
  • UITableViewStyleGrouped类型的UITableView的使用技巧
  • UITableView常见crash原因及解决方案
  • 从NSURL中获取键值对
  • 用语法糖创建实例对象
  • NSMutableDictionary防止setObject:forKey: object cannot be nil奔溃的写法
  • 给UILabel、UITextField、UITextView、UIButton等设置富文本时必须知道的一点
  • 用语法糖创建实例对象
  • 让数组中的对象执行指定方法
  • 批量删除数组中的对象
  • 禁止iCloud同步Document目录下的某文件
  • 查看dSYM和.ipa文件的uuid
  • Xcode常用调试命令
    • p and po
    • call 执行一段代码,对点语法不敏感。如 call (void)([[self view] setBackgroundColor:[UIColor redColor]]])call (void)(self.view.backgroundColor = [UIColor redColor])
    • bt 或 bt all 打印堆栈信息
    • watchpoint 检测变量值发生改变
    • Debug Memory Graph检测内存泄漏
    • 断点查看方法返回值
    • x命令查看内存地址中的值

投稿说明 Contribute Guide

如果你也刚好有提高开发效率的技巧并且乐于分享,欢迎直接提issue或发送邮件到 apestalk@gmail.com ,请在邮件中请详细说明你的技巧并注明你的GitHub个人主页地址或个人博客地址。一旦你的投稿被采纳,我会将你的GitHub个人主页地址或个人博客地址放在下面贡献者列表中以示感谢。

If you happen to have the tricks to improve your development efficiency and are happy to share, please feel free to post issue or email me at apestalk@gmail.com. Please specify your tricks and indicate your GitHub homepage address or personal blog address. Once your submission has been accepted, I will place your GitHub homepage address or personal blog address in the list of contributors below to thank you.

贡献者 Contributor

License

MIT license.

About

有效提高iOS开发效率的技巧集合,欢迎大家投稿参与。A collection of effective tricks for iOS develop, welcome to contribute.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published