- Objective-C Memory Management Essentials
- Gibson Tang Maxim Vasilkov
- 355字
- 2021-07-23 20:09:10
What this book covers
Chapter 1, Introduction to Objective-C Memory Management, will introduce you to reference counting, Manual Retain Release (MRR), object ownership, sand life cycle, and memory leaks.
Chapter 2, Automatic Reference Counting, will introduce you to ARC and how it works, its advantages, and how to set up your projects to use ARC, memory models in Objective-C, and UIKit with ARC.
Chapter 3, Using Autorelease Pools, introduces you to autorelease pools, autorelease pools mechanics, Apple-autoreleased classes overview, ARC and autorelease, and blocks and threads.
Chapter 4, Object Creation and Storage, will cover the different ways to create objects; a comparison of different memory management options: ARC, MRC, autorelease pools, garbage collection, memory models; and how @property makes your life easier.
Chapter 5, Managing Your Application Data, will cover disk cache, UI techniques of partial data display, serialization and archiving objects, methods to encode and decode objects, cases when you need SQLite, and SQLite versus Core Data.
Chapter 6, Using Core Data for Persistence, explains what Core Data is and why you should use it, NSManagedObject and its use in your application, memory management when using Core Data, and the common errors.
Chapter 7, Key-value Programming Approaches, explains what key-value coding or KVC is, the NSKeyValueCoding protocol, manual subsets of NSKeyValueCoding behavior, associated objects, selectors as keys, maximum flexibility, and handling keys/values.
Chapter 8, Introduction to Swift, highlights Cocoa binding in OS X, differences between automatic and manual key-value observing, and how key-value observation is implemented.
Chapter 9, Memory Management and Debugging, covers memory overuse, collecting data on your app, how to use instruments in Xcode, using the LLVM/Clang Static Analyzer, using NSZombie to help find an over-released object, and plumbing leaks.
Chapter 10, Tips and Tricks for Memory Management, explains the use of accessor methods, declaring accessors using properties, performance guidelines, and when you should avoid KVC and KVO.
Chapter 11, Features of Xcode 6, introduces you to new tools such as view hierarchy debugger, preview editor, and the addition of new functionalities such as allowing storyboards and NIBs to be used as launch images for your application instead of just static images.
- Mastering QGIS
- Production Ready OpenStack:Recipes for Successful Environments
- JavaScript:Moving to ES2015
- Hands-On Automation Testing with Java for Beginners
- 數(shù)據(jù)結(jié)構(gòu)習(xí)題解析與實驗指導(dǎo)
- jQuery Mobile移動應(yīng)用開發(fā)實戰(zhàn)(第3版)
- Active Directory with PowerShell
- 微服務(wù)架構(gòu)深度解析:原理、實踐與進階
- Learning Continuous Integration with TeamCity
- Quantum Computing and Blockchain in Business
- Node.js開發(fā)指南
- Kotlin極簡教程
- Java Web應(yīng)用開發(fā)給力起飛
- 計算機應(yīng)用技能實訓(xùn)教程
- MySQL 8從零開始學(xué)(視頻教學(xué)版)