Cargando…

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

Fully updated for Xcode 4.2, Pro Core Data for iOS explains how to use the Core Data framework for iOS SDK 5 using Xcode 4.2. The book explains both how and why to use Core Data, from simple to advanced techniques. Covering common and advanced persistence patterns, this book prepares any iOS develop...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Privat, Michael
Otros Autores: Warner, Robert
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Berkeley, CA : New York : Apress ; Distributed to the Book trade by Springer, ©2011.
Edición:2nd ed.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Title Page; Copyright Page; Contents at a Glance; Table of Contents; About the Authors; About the Technical Reviewer; Acknowledgments; Introduction; Why a Second Edition?; What You'll Need; What You'll Find; How This Book Is Organized; Source Code and Errata; How to Contact Us; 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 ContextAdding Core Data to an Existing Project; Adding the Core Data Framework; Creating the Data Model; Initializing the Managed Object Context; Summary; 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; SQLite Primer; Reading the Data Using Core Data; Summary; Chapter 3 Storing Data: SQLite and Other Options; Visualizing the User Interface; Using SQLite as the Persistent Store; Configuring the One-to-Many Relationship.
  • Building the User InterfaceConfiguring 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 Store; Creating 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 DetailsUsing Fetched Properties; Creating Entities; Creating Attributes; Creating Relationships; Name; Destination and Inverse; Transient; Optional; To-Many Relationship; Count (Minimum and Maximum); Delete Rule; Summary; Chapter 5 Working with Data Objects; Understanding CRUD; Creating the Shape Application Data Model; Building the Shape Application User Interface; Enabling User Interactions with the Shapes Application; Generating Classes; Modifying Generated Classes; Using the Transformable Type; Validating Data; Custom Validation; Invoking Validation.
  • Default ValuesUndoing and Redoing; Undo Groups; Limiting the Undo Stack; Disabling Undo Tracking; Adding Undo to Shapes; Summary; Chapter 6 Refining Result Sets; Building the Test Application; Creating the Org Chart Data; Reading and Outputting 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; Building the Application for Testing.