Core Data for Ios Developing Data-Driven Applications for the Ipad®, Iphone®, and Ipod Touch®

Total Page:16

File Type:pdf, Size:1020Kb

Core Data for Ios Developing Data-Driven Applications for the Ipad®, Iphone®, and Ipod Touch® Tim Isted Tom Harrington Core Data for iOS Developing Data-Driven Applications for the iPad®, iPhone®, and iPod touch® Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Cape Town • Sydney • Tokyo • Singapore • Mexico City Many of the designations used by manufacturers and sellers to distinguish their Editor-in-Chief products are claimed as trademarks. Where those designations appear in this Mark Taub book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals. Senior Acquisitions Editor The authors and publisher have taken care in the preparation of this book, but Chuck Toporek make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential Development Editor damages in connection with or arising out of the use of the information or Chuck Toporek programs contained herein. The publisher offers excellent discounts on this book when ordered in quantity for Managing Editor bulk purchases or special sales, which may include electronic versions and/or Kristy Hart custom covers and content particular to your business, training goals, marketing focus, and branding interests. For more information, please contact: Project Editor Andy Beaster U.S. Corporate and Government Sales (800) 382-3419 Indexer [email protected] Larry Sweazy For sales outside the United States please contact: Proofreader International Sales Jennifer Gallant [email protected] Visit us on the Web: informit.com/aw Technical Reviewers Library of Congress Cataloging-in-Publication Data is on file. Jim Correia Copyright © 2011 Pearson Education, Inc. Robert McGovern All rights reserved. Printed in the United States of America. This publication is Mike Swan protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any Publishing Coordinator form or by any means, electronic, mechanical, photocopying, recording, or likewise. Olivia Basegio For information regarding permissions, write to: Interior Designer Pearson Education, Inc Gary Adair Rights and Contracts Department 501 Boylston Street, Suite 900 Cover Designer Boston, MA 02116 Chuti Prasertsith Fax (617) 671 3447 ISBN-13: 978-0-321-67042-7 Compositor ISBN-10: 0-321-67042-6 Gloria Schurick Text printed in the United States on recycled paper at R.R. Donnelley in Crawfordsville, Indiana First printing June 2011 iii Table of Contents Part I Introduction 1 An Overview of Core Data on iOS Devices 3 A Little History................................................................................................3 The Birth of Core Data ..........................................................................4 Why Use Core Data on iOS? ..........................................................................4 Relationship Management ....................................................................4 Managed Objects and Data Validation .................................................5 Undo and State Management................................................................5 Core Data iOS and Desktop Differences.........................................................5 The Fetched Results Controller .............................................................6 Core Data Case Studies ...................................................................................6 MoneyWell for iPhone ..........................................................................6 Calcuccino .............................................................................................7 Associated Press .....................................................................................8 2 A Core Data Primer 9 Persisting Objects to Disk ...............................................................................9 The Core Data Approach ..............................................................................10 Entities and Managed Objects.............................................................10 Relationships........................................................................................11 Managed Object Contexts...................................................................12 Fetching Objects ..................................................................................14 Faulting and Uniquing ........................................................................14 Persistent Stores and Persistent Store Coordinators ...........................15 Examining the Xcode Core Data Templates ................................................15 The Navigation-Based Project Template..............................................16 The Data Modeler ................................................................................16 Setting up the Core Data Stack ...........................................................17 Running the Application.....................................................................20 A Quick Look at the RootViewController Code .................................20 Summary .......................................................................................................21 iv Core Data for iOS 3 Modeling Your Data 23 Managed Objects and Entities ......................................................................23 Dividing Your Data into Entities ..................................................................24 Core Data in Model-Object Terms ......................................................24 Data Normalization .............................................................................25 Storing Binary Data .............................................................................27 Working with Xcode’s Data Modeler ...........................................................28 Creating Entities ..................................................................................29 Creating Properties ..............................................................................31 Creating Relationships ........................................................................35 Summary .......................................................................................................37 Part II Working with Core Data 4 Basic Storing and Fetching 41 Creating New Managed Objects ...................................................................41 Saving the Context..............................................................................42 Fetching Saved Managed Objects .................................................................44 Deleting Managed Objects............................................................................45 Working with Table Views ............................................................................46 The Random Dates Application Project ..............................................47 The Random Dates Data Model ..........................................................48 Basic RootViewController Behavior ....................................................49 Fetching the Random Date Objects ....................................................51 Displaying the RandomDate Objects ..................................................52 Deleting the RandomDate Objects......................................................54 Custom Managed Object Sub-Classes...........................................................54 Creating and Setting a Custom Class for a Managed Object .............56 Summary .......................................................................................................60 5 Using NSFetchedResultsController 61 Introducing NSFetchedResultsController.....................................................62 Creating an NSFetchedResultsController .....................................................62 Supplying Information to Table Views.........................................................64 The Number of Sections and Rows .....................................................65 Returning the Cell for an Index Path .................................................67 Returning Information about Sections ...............................................68 Handling Underlying Data Changes...................................................69 Caching Information...........................................................................72 Using an NSFetchedResultsController in the Random Dates Application..73 Subclassing NSFetchedResultsController ............................................80 Summary .......................................................................................................85 Contents v 6 Working with Managed Objects 87 Basic Managed Object Subclass Files ............................................................87 Creating the Random People Project ..................................................88 Managed Object Class Interfaces.........................................................89 Managed Object Class Implementations ............................................90 Configuring the Random People Application..............................................93 Displaying the Information.................................................................95 Data Validation .............................................................................................99 Validating Individual Properties..........................................................99
Recommended publications
  • Lecture 14 Slides
    Stanford CS193p Developing Applications for iOS Fall 2011 Stanford CS193p Fall 2011 To d a y Core Data Thread Safety NSManagedObjectContext is not thread-safe. What to do about that. Core Data and Table View Very common way to view data from a Core Data database So it is made very easy with NSFetchedResultsController Big ol’ demo Photomania Browse recent photos by Photographer who took them Stanford CS193p Fall 2011 Core Data Thread Safety NSManagedObjectContext is not thread safe Luckily, Core Data access is usually very fast, so doing it in the main thread is mostly fine. Always safe to access from the thread in which it (or its UIManagedDocument) was created. Feel free to take this approach for your homework (it’s the most straightforward). Another Approach [context performBlock:^{ // o r performBlockAndWait: // do stuff with context }]; This will make sure that the code in the block happens on the context’s safe thread. Note that this might well be the main thread, so you’re not necessarily getting “multithreaded.” Advanced Approach Some contexts (including Core Data ones) have a parentContext (a @property on NSMOC). The parentContext will almost always have its own thread, so you can performBlock: on it. But it is a different context, so you’ll have to save and then refetch to see the changes. Stanford CS193p Fall 2011 Core Data and Table View NSFetchedResultsController Hooks an NSFetchRequest up to a UITableViewController NSFetchedResultsController can answer all of the UITableViewDataSource protocol’s questions! For example ... - (NSUInteger)numberOfSectionsInTableView:(UITableView *)sender { return [[self.fetchedResultsController sections] count]; } - (NSUInteger)tableView:(UITableView *)sender numberOfRowsInSection:(NSUInteger)section { return [[[self.fetchedResultsController sections] objectAtIndex:section] numberOfObjects]; } Stanford CS193p Fall 2011 NSFetchedResultsController Very important method ..
    [Show full text]
  • Learning Core Data for Ios Addison-Wesley Learning Series
    Learning Core Data for iOS Addison-Wesley Learning Series Visit informit.com/learningseries for a complete list of available publications. The Addison-Wesley Learning Series is a collection of hands-on programming guides that help you quickly learn a new technology or language so you can apply what you’ve learned right away. Each title comes with sample code for the application or applications built in the text. This code is fully annotated and can be reused in your own projects with no strings attached. Many chapters end with a series of exercises to encourage you to reexamine what you have just learned, and to tweak or adjust the code as a way of learning. Titles in this series take a simple approach: they get you going right away and leave you with the ability to walk off and build your own application and apply the language or technology to whatever you are working on. Learning Core Data for iOS Tim Roadley Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Cape Town • Sydney • Tokyo • Singapore • Mexico City Many of the designations used by manufacturers and sellers to distinguish their Editor-in-Chief products are claimed as trademarks. Where those designations appear in this book, Mark Taub and the publisher was aware of a trademark claim, the designations have been printed Senior Acquisitions with initial capital letters or in all capitals. Editor The author and publisher have taken care in the preparation of this book, but make Trina MacDonald no expressed or implied warranty of any kind and assume no responsibility for errors Senior Development or omissions.
    [Show full text]
  • Core Data Programming Guide
    Core Data Programming Guide Data Management 2009-11-17 Times is a registered trademark of Heidelberger Apple Inc. Druckmaschinen AG, available from Linotype © 2004, 2009 Apple Inc. Library GmbH. All rights reserved. Simultaneously published in the United States and Canada. No part of this publication may be reproduced, Even though Apple has reviewed this document, stored in a retrieval system, or transmitted, in APPLE MAKES NO WARRANTY OR REPRESENTATION, any form or by any means, mechanical, EITHER EXPRESS OR IMPLIED, WITH RESPECT TO THIS DOCUMENT, ITS QUALITY, ACCURACY, electronic, photocopying, recording, or MERCHANTABILITY, OR FITNESS FOR A PARTICULAR otherwise, without prior written permission of PURPOSE. AS A RESULT, THIS DOCUMENT IS Apple Inc., with the following exceptions: Any PROVIDED “AS IS,” AND YOU, THE READER, ARE ASSUMING THE ENTIRE RISK AS TO ITS QUALITY person is hereby authorized to store AND ACCURACY. documentation on a single computer for IN NO EVENT WILL APPLE BE LIABLE FOR DIRECT, personal use only and to print copies of INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES RESULTING FROM ANY documentation for personal use provided that DEFECT OR INACCURACY IN THIS DOCUMENT, even the documentation contains Apple’s copyright if advised of the possibility of such damages. notice. THE WARRANTY AND REMEDIES SET FORTH ABOVE ARE EXCLUSIVE AND IN LIEU OF ALL OTHERS, ORAL The Apple logo is a trademark of Apple Inc. OR WRITTEN, EXPRESS OR IMPLIED. No Apple dealer, agent, or employee is authorized to make Use of the “keyboard” Apple logo any modification, extension, or addition to this (Option-Shift-K) for commercial purposes warranty.
    [Show full text]
  • Learning Core Audio: a Hands-On Guide to Audio Programming For
    Learning Core Audio "EEJTPO8FTMFZ -FBSOJOH 4FSJFT 7JTJU LQIRUPLWFRPOHDUQLQJVHULHV GPS B DPNQMFUF MJTU PG BWBJMBCMF QVCMJDBUJPOT 5IF $GGLVRQ:HVOH\ /HDUQLQJ 6HULHV JTBDPMMFDUJPOPGIBOETPOQSPHSBNNJOH HVJEFT UIBU IFMQ ZPV RVJDLMZ MFBSO B OFX UFDIOPMPHZ PS MBOHVBHF TP ZPV DBO BQQMZXIBUZPVWFMFBSOFESJHIUBXBZ &BDI UJUMF DPNFT XJUI TBNQMF DPEF GPS UIF BQQMJDBUJPO PS BQQMJDBUJPOT CVJMUJO UIF UFYU 5IJT DPEF JT GVMMZ BOOPUBUFE BOE DBO CF SFVTFE JO ZPVS PXO QSPKFDUT XJUIOPTUSJOHTBUUBDIFE.BOZDIBQUFSTFOEXJUIBTFSJFTPGFYFSDJTFTUP FODPVSBHFZPVUPSFFYBNJOFXIBUZPVIBWFKVTUMFBSOFE BOEUPUXFBLPS BEKVTUUIFDPEFBTBXBZPGMFBSOJOH 5JUMFTJOUIJTTFSJFTUBLFBTJNQMFBQQSPBDIUIFZHFUZPVHPJOHSJHIUBXBZBOE MFBWF ZPV XJUI UIF BCJMJUZ UP XBML PGG BOE CVJME ZPVS PXO BQQMJDBUJPO BOE BQQMZ UIFMBOHVBHFPSUFDIOPMPHZUPXIBUFWFSZPVBSFXPSLJOHPO Learning Core Audio A Hands-On Guide to Audio Programming for Mac and iOS Chris Adamson Kevin Avila Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Cape Town • Sydney • Tokyo • Singapore • Mexico City Many of the designations used by manufacturers and sellers to distinguish their products Editor-in-Chief are claimed as trademarks. Where those designations appear in this book, and the publish- Mark Taub er was aware of a trademark claim, the designations have been printed with initial capital Senior Acquisitions letters or in all capitals. Editor The authors and publisher have taken care in the preparation of this book, but make no Trina MacDonald expressed or implied warranty
    [Show full text]
  • Session 207 Nick Gillett Core Data Software Engineer
    What’s New in Core Data Session 207 Nick Gillett Core Data Software Engineer These are confidential sessions—please refrain from streaming, blogging, or taking pictures Road Map Road Map • iCloud Road Map • iCloud ■ Fallback Store Road Map • iCloud ■ Fallback Store ■ Asynchronous Setup Road Map • iCloud ■ Fallback Store ■ Asynchronous Setup ■ Account Changes Road Map • iCloud ■ Fallback Store ■ Asynchronous Setup ■ Account Changes ■ New API Road Map • iCloud ■ Fallback Store ■ Asynchronous Setup ■ Account Changes ■ New API ■ Living on iCloud Road Map • iCloud ■ Fallback Store ■ Asynchronous Setup ■ Account Changes ■ New API ■ Living on iCloud • Demos Road Map • iCloud ■ Fallback Store ■ Asynchronous Setup ■ Account Changes ■ New API ■ Living on iCloud • Demos • SQLite Store Enhancements iCloud iCloud • Speed iCloud • Speed • Simplicity iCloud • Speed • Simplicity • Consistency Fallback Store Fallback Store Fallback Store Fallback Store Fallback Store Fallback Store Fallback Store Fallback Store Fallback Store [email protected] Fallback Store [email protected]@[email protected]@[email protected]@[email protected]@[email protected] Fallback Store [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] Fallback Store Fallback Store Fallback Store Fallback Store • Entirely managed by Core Data Fallback Store • Entirely managed by Core Data • Only one store file per account Fallback Store Fallback Store Fallback Store Fallback Store Fallback Store Fallback Store Fallback Store • Entirely managed by Core Data • Only one store file per account Fallback Store • Entirely managed by Core Data • Only one store file per account • Must be stored in local storage (e.g.
    [Show full text]
  • CSU CORE DATA DICTIONARY Version 1.1
    CSU CORE DATA DICTIONARY Version 1.1 (July 2008) By Metadata Best Practices Task Force Nancy Chaffin Hunter Shu Liu Patricia J. Rettig Allison Level Colorado State University Libraries Fort Collins, Colorado Note on Version 1.1 Version 1.1 of the CSU Core Metadata Dictionary contains updates on the Identifier element to facilitate creation of logical collections in DigiTool (the digital assets management system currently in use at Colorado State University Libraries) and thus reflect current local best practice. Introduction Colorado State University Libraries (CSU Libraries) has been involved in multiple digitization projects since 2000. With the growth of the number of projects (and project managers) and the development of an Institutional Repository, the Libraries decided to develop a data dictionary, including input guidelines, of core metadata elements that would guide project managers at CSU Libraries in metadata planning for their specific projects. The Metadata Best Practices Task Force was created in June, 2007, and charged with developing the data dictionary. After reviewing existing standards and best practices developed by various communities, the Task Force developed draft recommendations and held open forums to allow interested CSU Libraries staff and faculty to comment. These comments informed this final draft of the CSU Core Data Dictionary. When the draft has been approved by the Digital Matrix Group and the Libraries Planning Group, the final version will become the basis for all metadata creation for digital projects at the CSU Libraries. The elements defined and described in this Data Dictionary constitute the minimum set of elements for all digital projects at CSU Libraries.
    [Show full text]
  • Sams Teach Yourself Mac OS X Lion App Development in 24 Hours
    Kevin Hoffman SamsTeachYourself Mac OS® X Lion™ App Development in Hours24 800 East 96th Street, Indianapolis, Indiana, 46240 USA Sams Teach Yourself Mac OS®X Lion™ App Development in 24 Hours Editor-in-Chief Copyright © 2012 by Pearson Education, Inc. Greg Wiegand All rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without Executive Editor written permission from the publisher. No patent liability is assumed with respect to the use of Neil Rowe the information contained herein. Although every precaution has been taken in the preparation of Development this book, the publisher and author assume no responsibility for errors or omissions. Nor is any Editor liability assumed for damages resulting from the use of the information contained herein. Mark Renfrow ISBN-13: 978-0-672-33581-5 ISBN-10: 0-672-33581-6 Managing Editor The Library of Congress Cataloging-in-Publication data is on file. Kristy Hart Printed in the United States of America Project Editor First Printing March 2012 Andy Beaster Trademarks All terms mentioned in this book that are known to be trademarks or service marks have been Copy Editor appropriately capitalized. Sams Publishing cannot attest to the accuracy of this information. Use Barbara Hacha of a term in this book should not be regarded as affecting the validity of any trademark or service mark. Indexer Warning and Disclaimer Larry Sweazy Every effort has been made to make this book as complete and as accurate as possible, but no Proofreader warranty or fitness is implied.
    [Show full text]
  • (Hitac) Us Core Data for Interoperability Task Force Meeting
    Transcript HEALTH INFORMATION TECHNOLOGY ADVISORY COMMITTEE (HITAC) U.S. CORE DATA FOR INTEROPERABILITY TASK FORCE MEETING April 6, 2021, 10:30 a.m. – 12:00 p.m. ET VIRTUAL HITAC U.S. Core Data for Interoperability Task Force Transcript April 6, 2021 Speakers Name Organization Role Leslie Kelly Hall Engaging Patient Strategy Co-Chair Steven Lane Sutter Health Co-Chair Ricky Bloomfield Apple Member Hans Buitendijk Cerner Member Grace Cordovano Enlightening Results Member Jim Jirjis HCA Healthcare Member Ken Kawamoto University of Utah Health Member John Kilbourne Department of Veterans Health Member Affairs Leslie Lenert Medical University of South Member Carolina Clement McDonald National Library of Medicine Member The University of Texas at Aaron Miri Austin, Dell Medical School and Member UT Health Austin Brett Oliver Baptist Health Member Mark Savage University of California, San Member Francisco’s Center for Digital Health Innovation Michelle Schreiber Centers for Medicare and Member Medicaid Services Sasha TerMaat Epic Member Andrew Truscott Accenture Member Sheryl Turney Anthem, Inc. Member Daniel Vreeman RTI International Member Denise Webb Indiana Hemophilia and Member Thrombosis Center Michael Berry Office of the National Designated Federal Officer Coordinator for Health Information Technology Al Taylor Office of the National Staff Lead Coordinator for Health Information Technology 2 HITAC U.S. Core Data for Interoperability Task Force Transcript April 6, 2021 Call to Order/Roll Call (00:00:00) Operator All lines are now bridged. Michael Berry Thank you. Good morning everyone and welcome to the USCDI task force. I am Mike Berry. I’m with ONC. I really appreciate you joining us today.
    [Show full text]
  • 204 What's New in Cocoa 03 04 DF
    Frameworks #WWDC14 What’s New in Cocoa Session 204 Ali Ozer Director of Cocoa Frameworks © 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. Agenda High-level coverage of changes in Cocoa in Yosemite Pointers to related sessions Topics New Look Extensions Handoff Storyboards and View Controllers API Modernization Swift And others… Topics New Look Extensions Handoff Storyboards and View Controllers API Modernization Swift And others… New Look New Look Updated look for controls Translucency Vibrancy New window styles New font ! Updated Look for Controls Updated Look for Controls Mavericks Updated Look for Controls Mavericks Yosemite Mavericks Yosemite Mavericks Yosemite Updated Look for Controls Automatic! Translucency Transparency + Blur Translucency Automatic in many cases • Sheets, menus, popovers • Source lists • Titlebars/toolbars NSWindow Translucent Titlebar/Toolbar Automatic for any NSScrollView next to title bar ! NSWindow Translucent Titlebar/Toolbar For other cases, use new style NSFullSizeContentViewWindowMask NSWindow Translucent Titlebar/Toolbar For other cases, use new style NSFullSizeContentViewWindowMask Further customize the title bar with titleVisibility and titlebarAppearsTransparent NSWindow Translucent Titlebar/Toolbar For other cases, use new style NSFullSizeContentViewWindowMask Further customize the title bar with titleVisibility and titlebarAppearsTransparent Vibrancy Vibrancy Vibrancy Vibrancy Vibrancy Automatic in contexts where we apply
    [Show full text]
  • Core Data in Objective-C, Third Edition Data Storage and Management for Ios and OS X
    Extracted from: Core Data in Objective-C, Third Edition Data Storage and Management for iOS and OS X This PDF file contains pages extracted from Core Data in Objective-C, Third Edition, published by the Pragmatic Bookshelf. For more information or to purchase a paperback or PDF copy, please visit http://www.pragprog.com. Note: This extract contains some colored text (particularly in code listing). This is available only in online versions of the books. The printed versions are black and white. Pagination might vary between the online and printed versions; the content is otherwise identical. Copyright © 2016 The Pragmatic Programmers, LLC. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior consent of the publisher. The Pragmatic Bookshelf Raleigh, North Carolina Core Data in Objective-C, Third Edition Data Storage and Management for iOS and OS X Marcus S. Zarra The Pragmatic Bookshelf Raleigh, North Carolina Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and The Pragmatic Programmers, LLC was aware of a trademark claim, the designations have been printed in initial capital letters or in all capitals. The Pragmatic Starter Kit, The Pragmatic Programmer, Pragmatic Programming, Pragmatic Bookshelf, PragProg and the linking g device are trade- marks of The Pragmatic Programmers, LLC. Every precaution was taken in the preparation of this book. However, the publisher assumes no responsibility for errors or omissions, or for damages that may result from the use of information (including program listings) contained herein.
    [Show full text]
  • Melissa Graesser Resume 2015
    Melissa Graesser Boulder, CO [email protected] SUMMARY Software development professional with expertise in business function research, business function applications and developing efficient, effective user friendly programs. Experience with iPhone/iPad applications, native GUI applications and interfacing with end users. Able to communicate effectively at all levels of an organization to analyze needs and design solutions. TECHNICAL EXPERTISE • Programming Environments Tools: Xcode, Jira, CodeWarrior, Visual Studio, NUnit, wiki docs, Bugzilla, Storyboards, xibs, PgAdmin, Sql tools, SVN, Git • Languages: Objective C, C, C++, Swift, Java, HTML, JavaScript • Frameworks: Cocoa, Cocoa Touch, Mapbox, Spatialite, MacApp • Interface design and work flow • Databases and languages: SQLite, Core Data, Spatialite, Postgres, Sybase, FileMaker PROFESSIONAL EXPERIENCE RedZone Software, Boulder, Colorado 2013 – Present Lead iOS Developer ! iOS Apps o FieldMap Suite of Apps – Highly configurable application for offline mapping and data collection used to access client property assets in response to a natural disaster. Retrieves data from server when a data connection is available and then allows users to take device offline with offline maps and data sets retrieved from server to do assessments and transfer data back to server when a connection is available. App provides quick big picture of damage extent to management by collecting data and pushing to server the information so reports can be generated. Used by Insurance firm to access their risk and provide immediate assistance to their clients. o Mobile Map – Provides user the ability to create a project with a given map extent and add points to the project and then perform surveys on the point which can later be transferred to the server.
    [Show full text]
  • Core Data Utility Tutorial
    Core Data Utility Tutorial Data Management 2010-09-19 exclusion may not apply to you. This warranty gives you specific legal rights, and you may also have Apple Inc. other rights which vary from state to state. © 2005, 2010 Apple Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, mechanical, electronic, photocopying, recording, or otherwise, without prior written permission of Apple Inc., with the following exceptions: Any person is hereby authorized to store documentation on a single computer for personal use only and to print copies of documentation for personal use provided that the documentation contains Apple’s copyright notice. The Apple logo is a trademark of Apple Inc. No licenses, express or implied, are granted with respect to any of the technology described in this document. Apple retains all intellectual property rights associated with the technology described in this document. This document is intended to assist application developers to develop applications only for Apple-labeled computers. Apple Inc. 1 Infinite Loop Cupertino, CA 95014 408-996-1010 Apple, the Apple logo, Cocoa, Cocoa Touch, iPhone, Mac, Mac OS, Objective-C, and Xcode are trademarks of Apple Inc., registered in the United States and other countries. IOS is a trademark or registered trademark of Cisco in the U.S. and other countries and is used under license. Even though Apple has reviewed this document, APPLE MAKES NO WARRANTY OR REPRESENTATION, EITHER EXPRESS OR IMPLIED, WITH RESPECT TO THIS DOCUMENT, ITS QUALITY, ACCURACY, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
    [Show full text]