https://github.com/apestalk/effective-ios-tricks
有效提高iOS开发效率的技巧集合,欢迎大家投稿参与。A collection of effective tricks for iOS develop, welcome to contribute.
https://github.com/apestalk/effective-ios-tricks
develop developer-experience effective effective-ios guide ios objective-c swift tips tricks
Last synced: about 2 months ago
JSON representation
有效提高iOS开发效率的技巧集合,欢迎大家投稿参与。A collection of effective tricks for iOS develop, welcome to contribute.
- Host: GitHub
- URL: https://github.com/apestalk/effective-ios-tricks
- Owner: ApesTalk
- License: mit
- Created: 2018-08-25T09:35:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-22T05:43:32.000Z (almost 6 years ago)
- Last Synced: 2025-01-05T23:23:12.813Z (4 months ago)
- Topics: develop, developer-experience, effective, effective-ios, guide, ios, objective-c, swift, tips, tricks
- Size: 522 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 Tricks](https://github.com/ApesTalk/effective-iOS-tricks/blob/master/Xcode%20Tricks/Tricks/Xcode-config-and-tricks.md)
- 提升Xcode编译速度
- 禁止Xcode打印杂七杂八的系统日志
- 打印App启动时间信息
- Xcode无法注释(注释快捷键不能使用)问题
- 通过模拟器给你的APP录制一个视频(模拟器录屏功能)
- 关于符号表(dSYM)的误解与事实
## [Develop Tricks](https://github.com/ApesTalk/effective-iOS-tricks/blob/master/Develop%20Tricks/Tricks)
### [UITableView-tricks](https://github.com/ApesTalk/effective-iOS-tricks/blob/master/Develop%20Tricks/Tricks/UITableView-tricks.md)
- UITableViewStyleGrouped类型的UITableView的使用技巧
- UITableView常见crash原因及解决方案### [NSURL-tricks](https://github.com/ApesTalk/effective-iOS-tricks/blob/master/Develop%20Tricks/Tricks/NSURL-tricks.md)
- 从NSURL中获取键值对
### [NSDictionary-tricks](https://github.com/ApesTalk/effective-iOS-tricks/blob/master/Develop%20Tricks/Tricks/NSDictionary-tricks.md)
- 用语法糖创建实例对象
- NSMutableDictionary防止setObject:forKey: object cannot be nil奔溃的写法### [NSAttributedString-tricks](https://github.com/ApesTalk/effective-iOS-tricks/blob/master/Develop%20Tricks/Tricks/NSAttributedString-tricks.md)
- 给UILabel、UITextField、UITextView、UIButton等设置富文本时必须知道的一点
### [NSArray-tricks](https://github.com/ApesTalk/effective-iOS-tricks/blob/master/Develop%20Tricks/Tricks/NSArray-tricks.md)
- 用语法糖创建实例对象
- 让数组中的对象执行指定方法
- 批量删除数组中的对象### [Document-tricks](https://github.com/ApesTalk/effective-iOS-tricks/blob/master/Develop%20Tricks/Tricks/Document-tricks.md)
- 禁止iCloud同步Document目录下的某文件
### [创建静态库-tricks](https://github.com/ApesTalk/effective-iOS-tricks/blob/master/Develop%20Tricks/Tricks/创建静态库-tricks-tricks.md)
## [Debug Tricks](https://github.com/ApesTalk/effective-iOS-tricks/blob/master/Debug%20Tricks/Tricks/Debug-tricks.md)
- 查看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或发送邮件到 [email protected] ,请在邮件中请详细说明你的技巧并注明你的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 [email protected]. 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
- [ApesTalk](https://github.com/ApesTalk)
# License
MIT license.