Cargando…

Pro iOS persistence : using core data /

Pro iOS Persistence explains how to build apps in Objective-C and Swift that persist and use data most effectively including the popular Core Data framework. Covering common and advanced persistence patterns, this book prepares any iOS developer to store and retrieve data accurately and efficiently....

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autores principales: Privat, Michael (Autor), Warner, Robert (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: [Berkeley, CA] : Friends of Ed/Apress, [2014]
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • At a Glance; Contents; About the Authors; About the Technical Reviewers; Acknowledgments; Introduction; Chapter 1: Touring Core Data; What Is Core Data?; Core Data Components; Creating a New Core Data Project; Creating the Project; Touring the Core Data Components; Initializing the Core Data Components; Creating a Managed Object Model; Adding Some Objects; Viewing the Data; Adding Core Data to an Existing Project; Creating a Core Data-less Application; Adding the Core Data Framework; Adding a Managed Object Model; Adding and Initializing the Core Data Stack; Creating the Object Model.
  • Adding Objects to PersistenceAppWrapping Up; Chapter 2: Building Data Models; Designing Your Database; Relational Database Normalization; Building a Simple Model; Entities; Attribues; Key-Value Coding; Generating Classes; Relationships; Relationship Properties; Delete Rule; Ordered Properties; Storing and Retrieving Data; Inserting New Managed Objects; Retrieving Managed Objects; Predicates; Fetched Properties; Notifications; Notification upon Creation; Notification upon Fetch; Notification upon Change; Registering an Observer; Receiving the Notifications; Conclusion.
  • Chapter 3: Advanced QueryingBuilding WordList; Creating the Application; Building the Data Model; Creating the User Interface; Loading and Analyzing the Word List; Getting a Count; Displaying the Statistics; Querying Relationships; Understanding Predicates and Expressions; Viewing Your SQL Queries; Creating Single-Value Expressions; Creating Collection Expressions; Comparing Expressions Using Different Predicate Types; Using Different Comparison Modifiers; Using Different Options; Adding It Up: Using Compound Predicates; Aggregating; Using @count to Retrieve Counts.
  • Getting the Average Length of All Words-Two WaysUsing a Function as an Rvalue; Using Subqueries; Sorting; Summary; Chapter 4: Attending to Data Quality; Seeding Data; Using the Seed Store; Updating Seeded Data in Subsequent Releases; Updating the Seed Data Store; Updating Existing Users; Undoing and Redoing; Undo Groups; Limiting the Undo Stack; Disabling Undo Tracking; Adding Undo to BookStore; Experimenting with the Undo Groups; Dealing with Errors; Handling Core Data Operational Errors; Handling Validation Errors; Handling Validation Errors in BookStore.
  • Implementing the Validation Error-Handling RoutineSummary; Chapter 5: Integrating with the User Interface; Displaying Table Data with NSFetchedResultController; Creating a Fetched Results Controller; The Fetch Request; The Managed Object Context; The Section Name Key Path; The Cache Name; Creating the Fetched Results Controller Delegate; Building the CoreDump Application; Examining the NSFetchedResultsController in the CoreDump Application; Accessing fetchedResultsController; Displaying Data in the Table; Adding an Event; Deleting an Event; Showing the Detail; Updating the Core Data Model.