Mastering iOS Frameworks (2nd Edition)
Tags
Summary
The book is structured as a modular reference, and its 26 chapters fall roughly into several categories: interaction and animation (UIKit Dynamics physics effects, gesture recognition, collection views, TextKit, images and filters); location and maps (Core Location, MapKit, geofencing, geocoding, and routing); games and social features (centered on Game Center leaderboards and achievements, tied together by a cross-chapter "Cactus" example showing how multiple features combine); system and data (notifications, CloudKit cloud storage, Core Data, background tasks, Grand Central Dispatch multithreading); device capabilities and the hardware ecosystem (HealthKit, HomeKit, the music and photo libraries, contacts); and inter-app collaboration and security (extensions, Handoff, AirPrint, Passbook/PassKit, Keychain, and Touch ID). It closes with debugging tools and performance profiling.
Nearly every chapter comes with a complete, runnable Objective-C sample project, with source code public on GitHub and downloadable chapter by chapter, so readers can open the chapter they need, modify and run it, and then reuse it in their own projects. Because the book was written some time ago, its APIs and examples reflect the iOS 8 era, and some interfaces (such as Passbook and Address Book) have been replaced in newer systems; readers should check against current official documentation.
Editor's review
Who it's for
A good fit for
- 已能独立完成 iOS 应用、想系统补齐 SDK 各类系统框架的开发者
- 需要接入 HealthKit、HomeKit、CloudKit 等特定能力,想快速找可运行示例的工程师
- 习惯阅读 Objective-C 代码、维护老项目或做技术迁移的开发者
- 想了解 iOS 系统能力全貌,为技术选型与方案评估做准备的技术负责人
Not a good fit for
- 完全没有 iOS 或 Objective-C 基础、需要从零学起的初学者
- 只写 Swift 与 SwiftUI、不接受 Objective-C 示例的读者
- 希望获得与当前最新 iOS 版本完全对应 API 细节的读者
Reading tips
- 不必从头读到尾:先看目录定位当前项目需要的框架,直接跳到对应章节跑通示例
- 每章先跑通 GitHub 上的示例工程再读代码解释,动手改参数观察行为变化,理解会快得多
- 读完一章后回到自己的项目做一个最小可用集成,把示例代码裁剪成自己可复用的模块
- 遇到已废弃或更名的框架(如 Passbook、Address Book),以当期苹果官方文档为准,把本书当作思路索引
About the publisher
Founded in 1980, Tsinghua University Press has 57 titles in our collection, covering popular science, medicine, health, law, philosophy and social sciences. Representative works include medical popular-science books such as Cancer Truth: Doctors Are Reading It Too and New Knowledge on Cancer by Bo Luo (Li Zhizhong), legal titles such as Sunshine Is the Best Preservative: Express Delivery of Major Global Anti-Corruption Cases, and works like Qi Ge's A Brief History of Philosophy with Big Ideas and Liu Yunhao's From the Internet to a New Industrial Revolution. Its authors include science writers, medical researchers, the Renmin University of China anti-corruption master's class and university scholars, reflecting a publishing profile that balances academic seriousness with accessible reading. As public information is limited, this profile is based only on the titles in our collection.
Contents
- Chapter 1 UIKit Dynamics
- Chapter 2 Core Location, MapKit, and Geofencing Frameworks
- Chapter 3 Leaderboards
- Chapter 4 Achievements
- Chapter 5 Getting Started with the Address Book Framework
- Chapter 6 Music Libraries Framework
- Chapter 7 Implementing the HealthKit Framework
- Chapter 8 Implementing the HomeKit Framework
- Chapter 9 Working with and Parsing JSON
- Chapter 10 Notification Mechanisms
- Chapter 11 Cloud Storage with CloudKit
- Chapter 12 Extensions
- Chapter 13 Handoff
- Chapter 14 AirPrint
- Chapter 15 Getting Started with Core Data
- Chapter 16 Integrating Twitter and Facebook with the Social Framework
- Chapter 17 Background Task Processing
- Chapter 18 Performance in Multithreaded Development
- Chapter 19 Protecting and Accessing Data with Keychain and Touch ID
- Chapter 20 Working with Images and Filters
- Chapter 21 Collection Views
- Chapter 22 Introduction to TextKit
- Chapter 23 Gesture Recognition
- Chapter 24 Accessing the Photo Library
- Chapter 25 Passbook and PassKit
- Chapter 26 Debugging and Tools
FAQ
这本书用的是 Swift 还是 Objective-C?
现在 iOS 已经更新很多代,这本书还有用吗?
需要先读完 iOS 入门书才能看吗?
示例代码在哪里获取?
这本书和《iOS组件与框架》是同一本吗?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.