Authors | |
Publisher | Springer, Berlin |
Year | |
Pages | 329 |
Version | paperback |
Language | English |
ISBN | 9781484282106 |
Categories | Macintosh programming |
What You'll Learn
Who This Book Is For
Experienced iOS developers with Swift knowledge creating iOS apps that require saving complex data on the device other than a few numbers or text.
Unleash Core Data: Fetching Data, Migrating, and Maintaining Persistent Stores
- Importance of Core Data as a persistent store
- How to read this book
Chapter 2: Core Data Stack and Setup
- The Core Data Framework
- Data Model
- Persistent Store
- Container
- Holding the stack
Chapter 3: Data Model
- The different types
- Relationships
- Fetched Properties- Parent Entities
- Deletion
- Code Generation
Chapter 4: Working with Contexts
- Contexts
- Create Objects
- Delete, Update, and Fetching
- Sorting
Chapter 5: Advanced Predicates
- Compound
- INCLUDE
- String Queries
- Sorting
- Relationships Queries
- Subquery
- Regular Expressions
Chapter 6: Implemention
- Converting to structs
- UIFetchController
- Undo
- Generics and Wrappers
- Combine and SwiftUI- Saving files
Chapter 7: Performance
- Multi Threading
- Debugging- Faulting
- Fetching Optimisation
o Limits
Chapter 8: Core Data Underneath
- Faulting
- Snapshotting
- Sqlite File Scheme
Chapter 9: Maintenance
- Migrations and Versioning
o Light migration
o Heavyweight migration
- Unit Testing
Chapter 10: Sharing
- iCloud Sync
- Extensions
- Swift Package
Audience: Advanced