06340nam 22007215 450 991030046250332120200706230325.01-4302-6029-710.1007/978-1-4302-6029-5(CKB)3710000000311487(EBL)1964691(OCoLC)897810335(SSID)ssj0001408359(PQKBManifestationID)11914752(PQKBTitleCode)TC0001408359(PQKBWorkID)11346470(PQKB)11212176(MiAaPQ)EBC1964691(DE-He213)978-1-4302-6029-5(CaSebORM)9781430260295(PPN)183147081(OCoLC)899607425(OCoLC)ocn899607425(EXLCZ)99371000000031148720141205d2014 u| 0engur|n|---|||||txtccrPro iOS Persistence Using Core Data /by Michael Privat, Robert Warner1st ed. 2014.Berkeley, CA :Apress :Imprint: Apress,2014.1 online resource (376 p.)Includes index."Includes iOs 8 SDK"--Cover.1-4302-6028-9 Contents 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 ModelAdding 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; ConclusionChapter 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 CountsGetting 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 BookStoreImplementing 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 ModelGenerating the Model ClassesPro 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. This book starts by giving you a solid grounding in Core Data, providing a foundation for the rest of the book. With this knowledge, you'll have all you need to master Core Data and power your data-driven applications. You'll see how to work with SQLite and how to create an efficient data model to represent your data. Once you've established your data model, you'll learn how to work with data objects and refine result sets to get the most out of the stored data. The advanced portions of the book begin by showing you how to tune your apps' performance and memory usage, to give you a truly professional edge. You'll see how to version and migrate your data as well, to ensure your data stays organized and efficient. Finally, the book covers managing table views with NSFetchedResultsController.Apple computerApplication softwareApple and iOShttps://scigraph.springernature.com/ontologies/product-market-codes/I29020Computer Applicationshttps://scigraph.springernature.com/ontologies/product-market-codes/I23001Computer Appl. in Administrative Data Processinghttps://scigraph.springernature.com/ontologies/product-market-codes/I2301XApple computer.Application software.Apple and iOS.Computer Applications.Computer Appl. in Administrative Data Processing.004.167Privat Michaelauthttp://id.loc.gov/vocabulary/relators/aut974406Warner Robertauthttp://id.loc.gov/vocabulary/relators/autUMIUMIBOOK9910300462503321Pro iOS Persistence2218363UNINA