WWDC 2016 Session笔记 - Session 213 使用最佳实践改进App(Improving Existing Apps with Modern Best Practices)
2017-07-17 12:23
639 查看
WWDC 2016 Session笔记 - Session 213 使用最佳实践改进App(Improving Existing Apps with Modern Best Practices)
WWDC 2016 Session笔记 - Session 213 使用最佳实践改进AppImproving Existing Apps with Modern Best Practices避免技术债务
资源目录管理
依赖注入
避免技术债务的最佳方法是逐步建立技术信用。本次会议建立在去年使用Swift演示的现代化现有应用程序的基础上,向您展示如何在采用最佳实践和添加新功能的同时继续现代化您的代码库。
避免技术债务
舍弃比较老旧、没必要支持的版本尽量不使用我们已经标注已废弃的API,使用我们最新建议的API
尽可能地你要将警报视为错误来处理,强迫团队去解决这些警告
如果你的APP交互涉及到系统辅助功能的,及时添加支持必要的系统辅助功能
使用能识别区域的API,从而尽使你的代码更精简
希望通过这个地址:BugReport.Apple.com反馈错误信息
资源目录管理
要添加各个不同像素大小的缩放图,如@2X @3X等,因为图片转换会占用大量内存。构建自动图片处理绘图工具
依赖注入
希望你用更少的对象间依赖关系来设计打造你的应用相关文章推荐
- WWDC 2016 Session笔记 - Session 716 Core Location最佳实践(Core Location Best Practices)
- WWDC 2016 Session笔记 - Session 711 NSURLSession新功能和最佳实践(NSURLSession: New Features and Best Practices
- WWDC 2017 Session笔记 - Session 708 推送消息新功能和最佳实践(Best Practices and What’s New in User Notifications)
- WWDC 2015 Session笔记 - Session 231 Cocoa Touch最佳实践(Cocoa Touch Best Practices)
- WWDC 2016 Session笔记 - Session 201 国际化最佳实践(Internationalization Best Practices)
- 使用异常的最佳实践(Best Practices for Using Exceptions)
- Android Developers--Best Practices for User Input(第九章) 对用户输入的最佳实践
- android最佳实践的建议(翻译自android-best-practices)
- Web 站点提速的最佳实践(Best Practices for Speeding Up Your Web Site)
- 网站提速的最佳实践-Best Practices for Speeding Up Your Web Site,来自雅虎开发者网络
- WWDC15 Session笔记 - 30 分钟开发一个简单的 watchOS 2 app
- 第62课:SparkSQL下的Parquet使用最佳实践和代码实践学习笔记
- (转)iOS并发编程笔记,包含GCD,Operation Queues,Run Loops,如何在后台绘制UI,后台I/O处理,最佳安全实践避免互斥锁死锁优先级反转等,以及如何使用GCD监视进程文件文件夹,并发测试的方案等
- 以太坊智能合约安全编程最佳实践smart-contract-best-practices
- Aerospike 最佳实践 (Java Client Best Practices)
- Android后台处理最佳实践(Best Practices for Background Jobs)
- Android后台处理最佳实践(Best Practices for Background Jobs)
- Jenkins最佳实践 - Jenkins Best Practices
- 加快您的网站的最佳实践(Best Practices for Speeding Up Your Web Site)
- Android后台处理最佳实践(Best Practices for Background Jobs)