图书说明:
在iOS和macOS?性能调优中,Marcel Weiher深入到代码级别,可帮助您在任何Objective-C,Cocoa或CocoaTouch程序中系统地优化CPU,内存,I / O,图形和程序响应。
本指南完全侧重于macOS和iOS的性能优化。凭借超过25年优化Apple设备软件的经验,Weiher确定了可通过测量凭经验发现的具体性能问题。然后,基于对基本原理的深刻理解,他提出了解决它们的具体技巧。
Weiher提供了您在其他任何地方都找不到的见解,其中大多数都适用于macOS和iOS开发。在整个过程中,他揭示了有关Apple设备性能的常见缺陷和误解,解释了现实,并帮助您在代码中反映出那些表现出色的现实。
了解优化原则,测量,工具,陷阱和技术
认识到何时需要仔细优化,何时不值得花时间
平衡性能和封装,以创建有效的对象表示,通信,数据访问和计算
避免错误降低Objective-C程序并阻碍以后的优化
修复内存和资源管理的泄漏和其他问题
解决与驱动器,网络,序列化和SQLite相关的I / O问题
代码图形和UI不会超过有限的iOS设备资源
了解所有开发人员需要了解的Swift性能
本书的源代码可以从github.com/mpw/iOS-macOS-performance下载。
在informit.com/register上注册您的产品,以便在下载,更新和更正可用时方便地访问。
云盘下载