LEADER 06340nam 22007215 450 001 9910300462503321 005 20200706230325.0 010 $a1-4302-6029-7 024 7 $a10.1007/978-1-4302-6029-5 035 $a(CKB)3710000000311487 035 $a(EBL)1964691 035 $a(OCoLC)897810335 035 $a(SSID)ssj0001408359 035 $a(PQKBManifestationID)11914752 035 $a(PQKBTitleCode)TC0001408359 035 $a(PQKBWorkID)11346470 035 $a(PQKB)11212176 035 $a(MiAaPQ)EBC1964691 035 $a(DE-He213)978-1-4302-6029-5 035 $a(CaSebORM)9781430260295 035 $a(PPN)183147081 035 $a(OCoLC)899607425 035 $a(OCoLC)ocn899607425 035 $a(EXLCZ)993710000000311487 100 $a20141205d2014 u| 0 101 0 $aeng 135 $aur|n|---||||| 181 $ctxt 182 $cc 183 $acr 200 10$aPro iOS Persistence $eUsing Core Data /$fby Michael Privat, Robert Warner 205 $a1st ed. 2014. 210 1$aBerkeley, CA :$cApress :$cImprint: Apress,$d2014. 215 $a1 online resource (376 p.) 300 $aIncludes index. 300 $a"Includes iOs 8 SDK"--Cover. 311 $a1-4302-6028-9 327 $aContents 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 327 $aAdding 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 327 $aChapter 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 327 $aGetting 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 327 $aImplementing 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 327 $aGenerating the Model Classes 330 $aPro 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. 606 $aApple computer 606 $aApplication software 606 $aApple and iOS$3https://scigraph.springernature.com/ontologies/product-market-codes/I29020 606 $aComputer Applications$3https://scigraph.springernature.com/ontologies/product-market-codes/I23001 606 $aComputer Appl. in Administrative Data Processing$3https://scigraph.springernature.com/ontologies/product-market-codes/I2301X 615 0$aApple computer. 615 0$aApplication software. 615 14$aApple and iOS. 615 24$aComputer Applications. 615 24$aComputer Appl. in Administrative Data Processing. 676 $a004.167 700 $aPrivat$b Michael$4aut$4http://id.loc.gov/vocabulary/relators/aut$0974406 702 $aWarner$b Robert$4aut$4http://id.loc.gov/vocabulary/relators/aut 801 0$bUMI 801 1$bUMI 906 $aBOOK 912 $a9910300462503321 996 $aPro iOS Persistence$92218363 997 $aUNINA