Pro Core Data for iOS data access and persistence engine for iPhone, iPad, and iPod touch

The power of Core Data allows iOS developers to efficiently store and retrieve application data using familiar object-oriented paradigms. Pro Core Data for iOS explains both how and why to use Core Data for data storage, from simple to advanced techniques. Covering common and advanced persistence pa...

Descripción completa

Detalles Bibliográficos
Autor principal: Privat, Michael (-)
Otros Autores: Warner, Rob
Formato: Libro electrónico
Idioma:Inglés
Publicado: New York : Apress 2011.
Edición:1st ed. 2011.
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627826706719
Tabla de Contenidos:
  • Title Page; Copyright Page; Contents at a Glance; Table of Content; About the Authors; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1: Getting Started; What Is Core Data?; History of Persistence in iOS; Creating a Basic Core Data Application; Understanding the Core Data Components; Creating a New Project; Running Your New Project; Understanding the Application's Components; Fetching Results; Inserting New Objects; Initializing the Managed Context; Adding Core Data to an Existing Project; Adding the Core Data Framework; Creating the Data Model
  • Initializing the Managed Object ContextSummary; Chapter 2: Understanding Core Data; Core Data Framework Classes; The Model Definition Classes; The Data Access Classes; Key-Value Observing; The Query Classes; How the Classes Interact; SQUte Primer; Reading the Data Using Core Data; Summary; Chapter 3: Storing Data: SQUte and Other Options; Using SQUte as the Persistent Store; Configuring the One-to-Many Relationship; Building the User Interface; Configuring the Table; Creating a Team; The Player User Interface; Adding, Editing, and Deleting Players; Seeing the Data in the Persistent Store
  • Using an In-Memory Persistent StoreCreating Your Own Custom Persistent Store; Initializing the Custom Store; Mapping Between NSManagedObject and NSAtomicStoreCacheNode; Serializing the Data; Using the Custom Store; What About XML Persistent Stores?; Summary; Chapter 4: Creating a Data Model; Designing Your Database; Relational Database Normalization; Using the Xcode Data Modeler; Viewing and Editing Attribute Details; Viewing and Editing Relationship Details; Using Fetched Properties; Creating Entities; Creating Attributes; Creating Relationships; Name; Optional; Transient
  • Destination and InverseTo-Many Relationship; Min Count andMaxCount; Delete Rule; Summary; Chapter 5: Working with Data Objects; Understanding CRUD; Creating the Shape Application Data Model; Buildingthe Shape Application User Interface; Enabling User Interactionswith the Shapes Application; Generating Classes; Modifying Generated Classes; Using the Transformable Type; Validating Data; Custom Validation; InvokingValidation; Default Values; Undoing andRedoing; Undo Groups; Limiting the Undo Stack; Disabling Undo Tracking; Adding Undo to Shapes; Summary; Chapter 6: Refining Result Sets
  • Building the Test ApplicationCreating the Org Chart Data; Reading andOutputting the Data; Filtering; Expressions for a Single Value; Expressions for a Collection; Comparison Predicates; Compound Predicates; Subqueries; Aggregating; Sorting; Returning Unsorted Data; Sorting Data on One Criterion; Sorting on Multiple Criteria; Summary; Chapter 7: Tuning Performance and Memory Usage; Buildingthe Application for Testing; Creating the Core Data Project; Creating the Data Model and Data; Creating the Testing View; Building the Testing Framework; Adding the Testing Framework to the Application
  • Running Your First Test