Group Group Group Group Group Group Group Group Group Group Shape Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group
Skip to Content
  • iv. Acknowledgements
  • More
    • NewsletterNewsletter
    • ForumsForums
Sign In
Create a free account
  • Search
  • Notebook
  • Customise
Pro

Core Data by Tutorials

Eighth Edition Swift 5.3, iOS 14, Xcode 12

Before You Begin

Section 0: 5 chapters
  • i. What You Need
  • ii. Book Source Code & Forums
  • iii. About the Cover
  • iv. Acknowledgements
  • v. Introduction
    • Who this book is for
    • How to use this book
    • What’s in store

Core Data by Tutorials

Section 1: 11 chapters
  • 1. Your First Core Data App
    • 1.1 Getting started
    • 1.2 Modeling your data
    • 1.3 Saving to Core Data
    • 1.4 Fetching from Core Data
    • 1.5 Key points
  • 2. NSManagedObject Subclasses
    • 2.1 Getting started
    • 2.2 Modeling your data
    • 2.3 Storing non-standard data types in Core Data
    • 2.4 Managed object subclasses
    • 2.5 Propagating a managed context
    • 2.6 Data validation in Core Data
    • 2.7 Tying everything up
    • 2.8 Key points
  • 3. The Core Data Stack
    • 3.1 Getting started
    • 3.2 Rolling your own Core Data stack
    • 3.3 The managed object model
    • 3.4 The persistent store
    • 3.5 The persistent store coordinator
    • 3.6 The managed object context
    • 3.7 The persistent store container
    • 3.8 Creating your stack object
    • 3.9 Modeling your data
    • 3.10 Adding managed object subclasses
    • 3.11 A walk down persistence lane
    • 3.12 Deleting objects from Core Data
    • 3.13 Key points
  • 4. Intermediate Fetching
    • 4.1 NSFetchRequest: the star of the show
    • 4.2 Introducing the BubbleTea app
    • 4.3 Stored fetch requests
    • 4.4 Fetching different result types
    • 4.5 Sorting fetched results
    • 4.6 Asynchronous fetching
    • 4.7 Batch updates: no fetching required
    • 4.8 Key points
  • 5. NSFetchedResults Controller
    • 5.1 Introducing the World Cup app
    • 5.2 It all begins with a fetch request…
    • 5.3 Grouping results into sections
    • 5.4 “Cache” the ball
    • 5.5 Monitoring changes
    • 5.6 Inserting an underdog
    • 5.7 Diffable data sources
    • 5.8 Key points
    • 5.9 Where to go from here?
  • 6. Versioning & Migration
    • 6.1 When to migrate
    • 6.2 The migration process
    • 6.3 Types of migrations
    • 6.4 Getting started
    • 6.5 A lightweight migration
    • 6.6 Inferred mapping models
    • 6.7 A manual migration
    • 6.8 A complex mapping model
    • 6.9 Migrating non-sequential versions
    • 6.10 A self-migrating stack
    • 6.11 Testing sequential migrations
    • 6.12 Key points
  • 7. Unit Testing
    • 7.1 Getting started
    • 7.2 Core Data stack for testing
    • 7.3 Asynchronous tests
    • 7.4 Tests first
    • 7.5 Validation and refactoring
    • 7.6 Key points
    • 7.7 Where to go from here?
  • 8. Measuring & Boosting Performance
    • 8.1 Getting started
    • 8.2 Measure, change, verify
    • 8.3 Fetching and performance
    • 8.4 Challenge
    • 8.5 Key points
  • 9. Multiple Managed Object Contexts
    • 9.1 Getting started
    • 9.2 Introducing SurfJournal
    • 9.3 Doing work in the background
    • 9.4 Editing on a scratchpad
    • 9.5 Challenge
    • 9.6 Key points
  • 10. NSPersistentCloudKit Container
    • 10.1 Getting started with Core Data and CloudKit
    • 10.2 Introducing the Dog Doodies app
    • 10.3 Understanding CloudKit’s weaknesses
    • 10.4 Key points
    • 10.5 Where to go from here?
  • 11. Conclusion
Home iOS & Swift Books Core Data by Tutorials

iv
Acknowledgements

The Core Data by Tutorials team would also like to thank Saul Morrow for his work as one of the original authors of this book.

v. Introduction iii. About the Cover

Have a technical question? Want to report a bug? You can ask questions and report bugs to the book authors in our official book forum here.

© 2022 Razeware LLC