Mastering iOS Frameworks (2nd Edition)

Kyle Richter / Joe KeeleyTsinghua University Press2016

No rating yet
Word count
742 words
Chapters
26
Series
Mastering iOS Frameworks (2nd Edition)
ISBN
9787302433811

Tags

Computing Software Tutorials iOS DevelopmentDevelopersModularMobile Development编程Beginner TutorialField CasesSecond Edition

Summary

This book is the Chinese translation of the second edition of Mastering iOS Frameworks: Beyond the Basics, aimed at developers who can already write iOS apps but want to systematically master the various "small yet practical" frameworks in the SDK. Apple's iOS SDK contains a great many frameworks, many of which cannot sustain a book on their own yet are used almost daily by professional developers; this book seeks to fill the gap between introductory tutorials and specialized advanced books.

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

市面上讲 iOS 入门的书很多,讲 Core Data 或安全这类大专题的专著也不少,真正稀缺的恰恰是本书这类“中量级框架合集”。HealthKit、HomeKit、CloudKit、Handoff、AirPrint、extension、PassKit……这些框架中的每一个都撑不起一本 500 页的书,却总在你做真实项目时横在面前,而官方文档零散、示例简陋。两位作者 Kyle Richter 与 Joe Keeley 都是长期承接 iOS 外包项目的工程师,写法务实:先用一段话说清这个框架能解决什么问题,再给一个小而完整的工程,然后逐行解释容易踩坑的地方。 最值得称道的是结构。全书不要求从头读到尾,而是一本可以摊在手边的“菜谱”,你因为要做集合视图而翻到第 21 章,因为要把任务挪到后台而翻到第 17、18 章。跨章节的 Game Center 案例则把排行榜、成就、认证、iTunes Connect 配置串成一条线,让读者看到真实应用里多个框架是如何咬合的。中文版译文术语处理基本规范,441 页、74.2 万字的体量对得起定价。 需要坦白提醒的是时效性:原书对应 iOS 8 与 Yosemite 时代,示例全为 Objective-C,Passbook、Address Book 等已更名或废弃,Swift 与 SwiftUI 也完全未涉及。因此它更适合作为理解“iOS 有哪些系统能力、大致怎么用”的框架地图,具体 API 仍需回到当期官方文档核对。把它当常备参考而非唯一教程,收获最大。

Who it's for

A good fit for

Not a good fit for

Reading tips

  1. 不必从头读到尾:先看目录定位当前项目需要的框架,直接跳到对应章节跑通示例
  2. 每章先跑通 GitHub 上的示例工程再读代码解释,动手改参数观察行为变化,理解会快得多
  3. 读完一章后回到自己的项目做一个最小可用集成,把示例代码裁剪成自己可复用的模块
  4. 遇到已废弃或更名的框架(如 Passbook、Address Book),以当期苹果官方文档为准,把本书当作思路索引

About the publisher

Tsinghua University Press China · Founded in 1980

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

  1. Chapter 1 UIKit Dynamics
  2. Chapter 2 Core Location, MapKit, and Geofencing Frameworks
  3. Chapter 3 Leaderboards
  4. Chapter 4 Achievements
  5. Chapter 5 Getting Started with the Address Book Framework
  6. Chapter 6 Music Libraries Framework
  7. Chapter 7 Implementing the HealthKit Framework
  8. Chapter 8 Implementing the HomeKit Framework
  9. Chapter 9 Working with and Parsing JSON
  10. Chapter 10 Notification Mechanisms
  11. Chapter 11 Cloud Storage with CloudKit
  12. Chapter 12 Extensions
  13. Chapter 13 Handoff
  14. Chapter 14 AirPrint
  15. Chapter 15 Getting Started with Core Data
  16. Chapter 16 Integrating Twitter and Facebook with the Social Framework
  17. Chapter 17 Background Task Processing
  18. Chapter 18 Performance in Multithreaded Development
  19. Chapter 19 Protecting and Accessing Data with Keychain and Touch ID
  20. Chapter 20 Working with Images and Filters
  21. Chapter 21 Collection Views
  22. Chapter 22 Introduction to TextKit
  23. Chapter 23 Gesture Recognition
  24. Chapter 24 Accessing the Photo Library
  25. Chapter 25 Passbook and PassKit
  26. Chapter 26 Debugging and Tools

FAQ

这本书用的是 Swift 还是 Objective-C? 书中几乎每一章的示例工程都用 Objective-C 编写,原书对应 iOS 8 时代。若你只使用 Swift,仍可借鉴框架的使用思路与配置流程,但需要自行翻译代码。
现在 iOS 已经更新很多代,这本书还有用吗? 部分内容已过时,例如 Passbook 已并入 Wallet、Address Book 被 Contacts 框架取代。但 Core Location、Core Data、GCD、Keychain、CloudKit 等框架的核心概念仍然适用,适合当作框架地图来读,具体 API 需对照官方文档。
需要先读完 iOS 入门书才能看吗? 建议至少独立完成过一个 iOS 应用,熟悉 Xcode、视图控制器和基本的内存管理。本书定位是把初学者带向中高级的桥梁,而非零基础教程。
示例代码在哪里获取? 清华大学出版社在书中前言给出了配套下载页面,作者也在 GitHub 上公开了按章节分目录的示例工程,每个 Xcode 项目对应一章,可单独下载运行。
这本书和《iOS组件与框架》是同一本吗? 不是同一本书,但作者 Kyle Richter 也参与过 iOS Components and Frameworks 的写作,主题相近、定位类似,都聚焦于系统框架的实战使用,选购时注意区分书名与版次。

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.

About the author

Kyle Richter Author

Kyle Richter is a technical author with only one work currently listed in our catalog, the representative title Mastering iOS Frameworks (2nd Edition). Because public information is limited, his nationality, dates of birth and death, and fuller personal background cannot be confirmed at present, so this introduction can only focus on what is known about his writing. Judging from the subject matter, his writing centers on iOS development and is aimed at developers who want a deeper understanding of Apple's mobile operating system frameworks. The title's emphasis on "mastering" and its focus on "frameworks" suggest a systematic approach to explanation and practical development skills rather than a collection of scattered tips. The existence of a second edition also indicates that the content is updated as the platform evolves. Within the computer and software learning category, such books typically help readers build a knowledge framework and bridge official documentation and engineering practice. Overall, public information about Kyle Richter is limited, and his profile as an author is mainly reflected through this iOS development title, which may serve readers interested in the technical system of mobile application development.

Joe Keeley Author

Publicly available information about Joe Keeley is currently quite limited, and Chinese readers mainly know him through the translation and writing of computer technology books. The library holds one work by him, Mastering iOS Frameworks (2nd Edition), which is categorized under computer science and software learning and is aimed at readers who wish to gain a deeper understanding of iOS development frameworks. This work suggests that his writing centers on the technical system of mobile application development, emphasizing a systematic overview of frameworks and practical methods, and is suitable for developers with some foundation who want to improve further. Because details such as his birth and death years, nationality, and professional career have not been confirmed, this profile makes no speculation; readers may learn about his approach and characteristics in iOS technical writing from the content of the book.