Core Data
- Length: 312 pages
- Edition: 1
- Language: English
- Publisher: objc.io
- Publication Date: 2015-10-8
- ISBN-10: 1518602649
- ISBN-13: 9781518602641
- Sales Rank: #1981349 (See Top 100 Books)
From simple persistency to multithreading and syncing: Core Data best practices by example.
This book strives to give you clear guidelines for how to get the most out of Core Data, while avoiding the pitfalls of this flexible and powerful framework. We start with a simple example app and extend it step by step, as we talk about relationships, advanced data types, concurrency, syncing, and many other topics.
Later on we go well beyond what’s needed for the basic example app: we’ll discuss in-depth how Core Data works behind the scenes, how to get great performance, the trade-offs between different Core Data setups, and how to debug and profile your Core Data code.
WHAT’LL BE IN THE BOOK
- Data Modeling: Mapping your domain specific data into Core Data entities
- Data Types: Using built-in and custom data types efficiently
- Core Data Stacks: Understand the trade-offs between different Core Data setups
- Under the Hood: Understand what’s happening behind the scenes
- Concurrency: Leverage the power of concurrency while keeping things simple
- Performance: Get great performance for your app
- Memory Efficiency: Understand Core Data’s powerful mechanisms for efficient memory-use
- Syncing with Web-Services: Keep a local Core Data store in sync with data stored remotely
- Debugging and Profiling: How to track down performance and other issues
- SQLite and SQL Basics: Learn the basics of Core Data’s default storage system
Table of Contents
Part 1: Core Data Basics
Chapter 1. Hello Core Data
Chapter 2. Relationships
Chapter 3. Data Types
Part 2: Understanding Core Data
Chapter 4. Accessing Data
Chapter 5. Changing and Saving Data
Chapter 6. Performance
Part 3: Concurrency and Syncing
Chapter 7. Syncing with a Network Service
Chapter 8. Working with Multiple Contexts
Chapter 9. Problems with Multiple Contexts
Part 4: Advanced Topics
Chapter 10. Predicates
Chapter 11. Text
Chapter 12. Model Versions and Migrating Data
Chapter 13. Profiling
Chapter 14. Relational Database Basics and SQL