
Unleash Core Data: Fetching Data, Migrating, and Maintaining Persistent Stores
Avi Tsadok
Résumé
With many frameworks, there's a point in the learning curve where you stop fearing the mountain of knowledge to learn and just enjoy the power to play and develop. For some reason many developers feel that point seems harder to reach with Core Data. And that's unjustified-Core Data is a great framework that with powerful, optimized tools right out of the box. So it's time you stopped fearing the journey and took your steps further out into the world of enjoying the power of Core Data.
With what you learn, you can build apps to deal with a large amount of data and complex relationships in intelligent and efficient ways. Core Data has many secrets underneath the hood that can power up your persistent store like never before. Tools such as Undo, objects deletion, migration, and more. Set up your store and your data model, handle objects with a multi-threading environment, write integration tests, and share your data with an Apple Watch app and iCloud.
What You'll Learn
- Work with Core Data objects across apps and platforms
- Write integration tests with your persistent store
- Fetch, organize, write, and process data efficiently and intelligently
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.
* 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
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Apress |
Auteur(s) | Avi Tsadok |
Parution | 23/08/2022 |
Nb. de pages | 329 |
EAN13 | 9781484282106 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse