描述
开 本: 16开纸 张: 胶版纸包 装: 平装-胶订是否套装: 否国际标准书号ISBN: 9787564170028
通过*小化内存和电力消耗来编写高效应用,并且探索使用可用CPU内核的选项
优化应用的生命周期和用户界面及其网络、数据分享和安全功能
学习应用测试、调试和分析工具.且在真实环境中监控应用
从真实用户那里搜集数据以分析应用的使用情况,找出瓶颈,提供解决方案
使用iOS9升级以提高应用的性能
Part Ⅰ Getting Started
1. Performance in Mobile Apps
Defining Performance
Performance Metrics
Memory
Power Consumption
Initialization Time
Execution Speed
Responsiveness
Local Storage
Interoperability
Network Condition
Bandwidth
Data Refresh
Multiuser Support
Single Sign-on
Security
Crashes
App Profiling
Sampling
Instrumentation
Measurement
Project and Code Setup
Crash Reporting Setup
Instrumenting Your App
Logging
Summary
Part Ⅱ Core Optimizations
2. Memory Management
Memory Consumption
Stack Size
Heap Size
Memory Management Model
Autoreleasing Objects
Autorelease Pool Blocks
Automatic Reference Counting
Rules of ARC
Reference Types
Variable Qualifiers
Property Qualifiers
Getting Your Hands Dirty
Photo Model
Storyboard Update
Method Implementations
Output Analysis
Zombies
Rules of Memory Management
Retain Cycles
Rules to Avoid Retain Cycles
Common Scenarios for Retain Cycles
Observers
Returning Errors
Weak Type: id
Solution to the Problem
Object Longevity and Leaks
Singletons
Finding Mystery Retains
Best Practices
Memory Usage in Production
Summary
3. Energy
cpu
……
Part Ⅲ iOS Performance
Part Ⅳ Beyond code
Part Ⅴ iOS 9
Index
评论
还没有评论。