Learning Core Data for Ios with Swift Addison-Wesley Learning Series

Total Page:16

File Type:pdf, Size:1020Kb

Learning Core Data for Ios with Swift Addison-Wesley Learning Series Learning Core Data for iOS with Swift 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 program- ming 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 with Swift Tim Roadley Boston • Columbus • Indianapolis • New York • San Francisco • Amsterdam • Cape Town Dubai • London • Madrid • Milan • Munich • Paris • Montreal • Toronto • Delhi Mexico City • São Paulo • Sidney • Hong Kong • Seoul • Singapore • Taipei • Tokyo 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 Trina MacDonald Learning Core Data for iOS with Swift is an independent publication and has not Senior Development Editor been authorized, sponsored, or otherwise approved by Apple Inc. Chris Zahn AirPlay, AirPort, AirPrint, AirTunes, App Store, Apple, the Apple logo, Apple TV, Development Editor Aqua, Bonjour, the Bonjour logo, Cocoa, Cocoa Touch, Cover Flow, Dashcode, Michael Thurston Finder, FireWire, iMac, Instruments, Interface Builder, iOS, iPad, iPhone, iPod, iPod touch, iTunes, the iTunes logo, Leopard, Mac, Mac logo, Macintosh, Multi- Managing Editor Touch, Objective-C, Quartz, QuickTime, QuickTime logo, Safari, Snow Leopard, Kristy Hart Spotlight, and Xcode are trademarks of Apple, Inc., registered in the United Project Editor States and other countries. OpenGL and the logo are registered trademarks of Elaine Wiley Silicon Graphics, Inc. The YouTube logo is a trademark of Google, Inc. Intel, Intel Core, and Xeon are trademarks of Intel Corp. in the United States and other Copy Editor countries. Geneil Breeze Proofreader The author and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility Leslie Joseph for errors or omissions. No liability is assumed for incidental or consequential Technical Reviewers damages in connection with or arising out of the use of the information or Carl Brown programs contained herein. Niklas Saers Ash Furrow The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales, which may include electronic versions and/or Publishing Coordinator custom covers and content particular to your business, training goals, marketing Olivia Basegio focus, and branding interests. For more information, please contact: Cover Designer U.S. Corporate and Government Sales Chuti Prasertsith (800) 382-3419 Compositor [email protected] Nonie Ratcliff For sales outside the United States, please contact: International Sales [email protected] Library of Congress Control Number: 2013946325 Visit us on the Web: informit.com/aw Copyright © 2016 Pearson Education, Inc. All rights reserved. Printed in the United States of America. This publication is 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 form or by any means, electronic, mechanical, photocopying, recording, or likewise. To obtain permission to use material from this work, please submit a written request to Pearson Education, Inc., Permissions Department, One Lake Street, Upper Saddle River, New Jersey 07458, or you may fax your request to (201) 236-3290. ISBN-13: 978-0-134-12003-5 ISBN-10: 0-134-12003-4 Text printed in the United States on recycled paper at RR Donnelley in Crawfordsville, Indiana. First printing: December 2015 ❖ The more I learn, the more I learn I need to learn more. I dedicate this book to my wonderful wife, Tracey, who has given up many nights and weekends with me to help make this book a reality. Finally, we can sit back and relax together again! I’m sure Tyler & Taliah will let us.... ❖ vi Contents Contents at a Glance Preface xv 1 Your First Core Data Application 1 2 Managed Object Model Basics 17 3 Managed Object Model Migration 43 4 Managed Object Model Expansion 73 5 Table Views 91 6 Views 121 7 Picker Views 151 8 Preloading Data 177 9 Deep Copy 201 10 Performance 221 11 Background Processing 249 12 Search 265 13 iCloud 271 14 Taming iCloud 283 15 CloudKit Sync: Uploading Objects 307 16 CloudKit Sync: Downloading Changes and Handling Deletions 337 A Preparing the Groceries Application 369 B Finalizing the Groceries Application 377 Contents vii Table of Contents Preface xv 1 Your First Core Data Application 1 What Is Core Data? 1 Persistent Store Coordinator 2 Managed Object Model 4 Managed Object Context 4 When to Use Core Data 5 Introducing the Groceries Application 5 Adding Core Data to an Existing Application 6 Implementing the Core Data Helper 7 Adding Paths 10 Adding the Core Data Stack 10 Adding the Setup Section 12 Adding the Saving Section 13 Adding a Managed Object Model File 14 Summary 15 Exercises 15 2 Managed Object Model Basics 17 What Is a Managed Object Model? 17 Entities 18 Attributes 20 Integer 16/32/64 21 Float and Double 22 Decimal 23 String 23 Boolean 23 Date 23 Binary Data 23 Transformable 24 Attribute Settings 25 Subclassing NSManagedObject 27 Scalar Properties for Primitive Data Types 28 Introducing the Demo Function 29 viii Contents Creating a Managed Object 29 Backend SQL Visibility 31 Fetching Managed Objects 34 Sorting Fetch Requests 36 Filtering Fetch Requests 36 Fetch Request Templates 38 Deleting Managed Objects 41 Summary 41 Exercises 42 3 Managed Object Model Migration 43 Changing a Managed Object Model 43 Adding a Model Version 45 Lightweight Migration 47 Default Migration 50 Migration Manager 54 Introducing MigrationVC.swift (Migration View Controller Code) 56 Introducing CDMigration.swift (Core Data Migration Code) 59 Summary 71 Exercises 71 4 Managed Object Model Expansion 73 Relationships 73 Delete Rules 79 Introducing CDOperation.swift (Core Data Operation) 80 Delete Rule Testing 83 Entity Inheritance 87 Summary 89 Exercises 89 5 Table Views 91 Table View Basics 91 Core Data Table Views 93 Introducing CDTableViewController 93 Expanding CDTableViewController 96 DATASOURCE: UITableView 98 Contents ix DELEGATE: NSFetchedResultsController 99 CDTableViewController Subclasses 101 Enhancing PrepareTVC 105 Preparing Test Data 107 Deletion and Cell Selection for PrepareTVC 109 Interaction for PrepareTVC 110 Introducing ShopTVC 114 Cell Selection for ShopTVC 116 INTERACTION for ShopTVC 116 Summary 118 Exercises 119 6 Views 121 View Basics 121 The Target View Hierarchy 122 Introducing ItemVC 123 Keeping Reference to a Selected Item 123 Passing a Selected Item to ItemVC 124 Configuring the Scroll View and Text Fields 125 Implementing ItemVC 129 DELEGATE: UITextField 130 The VIEW Section 131 Adding Functionality to NSManagedObject Subclasses 133 Units, Home Locations, and Shop Locations 136 Adding and Editing Units 138 Implementing UnitsTVC 141 Implementing UnitVC 143 Segueing from UnitsTVC to UnitVC 145 Adding and Editing Home or Shop Locations 146 Configuring the Home Location Views 147 Configuring the Shop Location Views 148 Summary 150 Exercises 150 x Contents 7 Picker Views 151 Picker View Basics 151 Introducing CDPickerTextField 152 Introducing UnitPickerTF 157 Creating the Unit Picker 159 Connecting the Unit Picker 160 Configuring ItemVC for the Unit Picker 161 Introducing LocationAtHomePickerTF 165 Introducing LocationAtShopPickerTF 167 Using the Location Pickers 168 Connecting the Location Pickers 169 Configuring ItemVC for the Location Pickers 170 Picker-Avoiding Text Field 173 Summary 176 Exercises 176 8 Preloading Data 177 Including Default Data 177 Indicating Whether an Import Is Required 178 Importing from XML 182 Creating an Import Context 184 Preventing Duplicate Default Data 185 Triggering a Default Data Import 186 Finding or Creating Managed Objects 188 Mapping XML Data to Entity Attributes 192 Importing from a Persistent Store 195 Using the Default Data Store as the Initial Store 196 Summary 199 Exercises 200 9 Deep Copy 201 The Deep Copy Process 201 Configuring a Source Stack 204 Configuring the Source Coordinator 204 Configuring the Source Context 205 Configuring the Source Store 205 Contents xi Enhancing CDImporter 206 Identifying Unique Attributes 207 Object Info 207 Copying a Unique Object 208 Establishing a To-One Relationship 210 Establishing a To-Many Relationship 211 Establishing an Ordered To-Many Relationship 212 Copying Relationships 213 Deep Copy Entities 215 Triggering a Deep Copy 216 Summary 219 Exercises 219 10 Performance 221 Identifying Performance Issues 221 Implementing the Camera 222 Implementing the Image Picker Controller Delegates 224 Generating Test Data 228 Merge Policies
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]
  • Dashcode User Guide
    Dashcode User Guide Leopard WWDC Helvetica and Times are registered Apple Computer, Inc. trademarks of Heidelberger © 2006 Apple Computer, Inc. Druckmaschinen AG, available from All rights reserved. Linotype Library GmbH. Java and all Java-based trademarks are No part of this publication may be trademarks or registered trademarks of Sun reproduced, stored in a retrieval system, or Microsystems, Inc. in the U.S. and other transmitted, in any form or by any means, countries. mechanical, electronic, photocopying, recording, or otherwise, without prior Simultaneously published in the United written permission of Apple Computer, Inc., States and Canada. with the following exceptions: Any person Even though Apple has reviewed this document, APPLE MAKES NO WARRANTY OR is hereby authorized to store documentation REPRESENTATION, EITHER EXPRESS OR on a single computer for personal use only IMPLIED, WITH RESPECT TO THIS and to print copies of documentation for DOCUMENT, ITS QUALITY, ACCURACY, MERCHANTABILITY, OR FITNESS FOR A personal use provided that the PARTICULAR PURPOSE. AS A RESULT, THIS documentation contains Apple’s copyright DOCUMENT IS PROVIDED “AS IS,” AND YOU, THE READER, ARE ASSUMING THE notice. ENTIRE RISK AS TO ITS QUALITY AND ACCURACY. The Apple logo is a trademark of Apple IN NO EVENT WILL APPLE BE LIABLE FOR Computer, Inc. DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES Use of the “keyboard” Apple logo RESULTING FROM ANY DEFECT OR (Option-Shift-K) for commercial purposes INACCURACY IN THIS DOCUMENT, even if without the prior written consent of Apple advised of the possibility of such damages. may constitute trademark infringement and THE WARRANTY AND REMEDIES SET FORTH ABOVE ARE EXCLUSIVE AND IN unfair competition in violation of federal LIEU OF ALL OTHERS, ORAL OR WRITTEN, and state laws.
    [Show full text]
  • Programming Java for OS X
    Programming Java for OS X hat’s so different about Java on a Mac? Pure Java applica- tions run on any operating system that supports Java. W Popular Java tools run on OS X. From the developer’s point of view, Java is Java, no matter where it runs. Users do not agree. To an OS X user, pure Java applications that ignore the feel and features of OS X are less desirable, meaning the customers will take their money elsewhere. Fewer sales translates into unhappy managers and all the awkwardness that follows. In this book, I show how to build GUIs that feel and behave like OS X users expect them to behave. I explain development tools and libraries found on the Mac. I explore bundling of Java applications for deployment on OS X. I also discuss interfacing Java with other languages commonly used on the Mac. This chapter is about the background and basics of Java develop- ment on OS X. I explain the history of Java development. I show you around Apple’s developer Web site. Finally, I go over the IDEs commonly used for Java development on the Mac. In This Chapter Reviewing Apple Java History Exploring the history of Apple embraced Java technologies long before the first version of Java on Apple computers OS X graced a blue and white Mac tower. Refugees from the old Installing developer tan Macs of the 1990s may vaguely remember using what was tools on OS X called the MRJ when their PC counterparts were busy using JVMs. Looking at the MRJ stands for Mac OS Runtime for Java.
    [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]
  • Guide Ibooks Author
    Formation • iBooks Author iBooks Author Version 1.0.1 Ces notes reprennent l’Aide en ligne de l’application iBooks Author. Anaïtis - Centre de formation - Quai du Roi Albert, 16A - 4020 Liège • www.anaitis.be Formation • iBooks Author Table des matières Vue d’ensemble d’iBooks Author 4 Qu’est-ce qu’iBooks Author ? 4 Exemple de flux de travail 4 Vue d’ensemble de la fenêtre principale 5 Configurer votre livre 6 Vue d’ensemble des éléments du livre 6 Créer un livre 6 Choisir un modèle 6 Ajouter, réorganiser ou supprimer des chapitres, des sections et des pages 7 Personnaliser la table des matières 9 Ajouter des entrées de glossaire 11 Importer un document Pages ou Word 12 Enregistrer et ouvrir des documents 13 Définir les propriétés du livre et des pages 14 Modifier les colonnes et les sauts de page 14 Renuméroter les chapitres, les sections et les pages 14 Consulter et ajouter des informations sur le livre 15 Demander un mot de passe 16 Créer ou modifier des modèles et des dispositions 16 Créer un nouveau modèle 16 Créer ou modifier une disposition 16 Ajouter des paramètres fictifs à un modèle ou une disposition personnalisés 17 Ajouter et formater le texte 19 Ajouter du texte 19 Formater du texte à l’aide de styles 19 Formater du texte 23 Modifier la police, la taille, la couleur, l’alignement et l’espacement du texte 23 Ajuster le texte autour d’un objet 25 Créer des listes 25 Ajouter des liens et des signets 27 Définir des marges, des tabulations et des retraits 28 Ajouter des caractères spéciaux, des symboles, et des expressions et
    [Show full text]
  • Infovox Ivox & Visiovoice
    Cover by Michele Patterson Masthead Publisher Robert L. Pritchett from MPN, LLC Editor-in-Chief Robert L. Pritchett Editor Mike Hubbartt Assistant Editor Harry (doc) Babad Consultant Ted Bade Advertising and Marketing Director Wayne Lefevre Web Master James Meister Public Relations and Merchandizing Mark Howson Contacts Webmaster at macCompanion dot com Feedback at macCompanion dot com Correspondence 1952 Thayer, Drive, Richland, WA 99352 USA 1-509-210-0217 1-888-684-2161 rpritchett at macCompanion dot com The Macintosh Professional Network Team Harry {doc} Babad Ted Bade Matt Brewer (MacFanatic) Jack Campbell (Guest Author) Ken Crockett (Apple News Now) Kale Feelhaver (AppleMacPunk) Dr. Eric Flescher Eddie Hargreaves Jonathan Hoyle III Mark Howson (The Mac Nurse) Mike Hubbartt Daphne Kalfon (I Love My Mac) Wayne Lefevre Daniel MacKenzie Chris Marshall (My Apple Stuff) Dom McAllister Derek Meier James Meister Michele Patterson David Phillips (Guest Author) Robert Pritchett Leland Scott Dennis Sellers (Macsimum News) Gene Steinberg (The Tech Night Owl) Rick Sutcliffe (The Northern Spy) Tim Verpoorten (Surfbits) Julie M. Willingham Application Service Provider for the macCompanion website: http://www.stephousehosting.com Thanks to Daniel Counsell of Realmac Software Development (http://www.realmacsoftware.com), who graced these pages and our website with newer rating stars. Our special thanks to all those who have allowed us to review their products! In addition, thanks to you, our readers, who make this effort possible. Please support
    [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]
  • Creating Mac Widgets with Dashcode Authors of Apress’S Firstpress Series Is Your Source for Understanding Cutting-Edge Technology
    BOOKS FOR PROFESSIONALS BY PROFESSIONALS® Available as a PDF Electronic Book Creating Mac Widgets with Dashcode Mac Creating Authors of Apress’s firstPress series is your source for understanding cutting-edge technology. Short, highly or Print On Demand Assembly Language Magic focused, and written by experts, Apress’s firstPress books save you time and effort. They contain C# Essentials the information you could get based on intensive research yourself or if you were to attend a Debugging C++ conference every other week—if only you had the time. They cover the concepts and techniques that will keep you ahead of the technology curve. Apress’s firstPress books are real books, in your HTML 4.0 User’s Resource choice of electronic or print-on-demand format, with no rough edges even when the technology Data Structures with STL itself is still rough. You can’t afford to be without them. Compact Guide to Visual Basic 4 Visual C++ 6: The Complete Reference Creating plus 30 other titles Creating Mac Widgets with Dashcode Dear Reader, We have taught a lot of programming courses and written a lot of programming books in our careers, but this time we felt that Mac users would benefit the most by know- ing how to develop widgets with Dashcode rather than laboring over programming languages and endless pages of code. Mac Widgets Our first goal in this short book is to introduce you to the major significant compo- nents of the Dashcode product and quickly teach you how to develop some interesting and exciting widgets. The first half of the book concentrates on Dashcode templates and shows you how to use the stock templates, with just a little modification, to create your own unique widgets.
    [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]
  • Mac OS X Desktop.Pdf
    Apple Training Series Mac OS X Support Essentials v10.6 Kevin M. White Apple Training Series: Mac OS X Support Essentials v10.6 Kevin M. White Copyright © 2010 by Apple Inc. Published by Peachpit Press. For information on Peachpit Press books, contact: Peachpit Press 1249 Eighth Street Berkeley, CA 94710 510/524-2178 510/524-2221 (fax) www.peachpit.com To report errors, please send a note to [email protected]. Peachpit Press is a division of Pearson Education. Apple Training Series Editor: Rebecca Freed Production Editors: Danielle Foster, Becky Winter Copyeditor: Peggy Nauts Tech Editor: Gordon Davisson Apple Editor: Shane Ross Proofreader: Suzie Nasol Compositor: Danielle Foster Indexer: Valerie Perry Cover design: Mimi Heft Cover illustrator: Kent Oberheu Notice of Rights All rights reserved. No part of this book may be reproduced or transmitted in any form by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. For infor- mation on getting permission for reprints and excerpts, contact [email protected]. Notice of Liability The information in this book is distributed on an “As Is” basis without warranty. While every precaution has been taken in the preparation of the book, neither the author nor Peachpit shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the instructions contained in this book or by the computer software and hardware products described in it. Trademarks Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks.
    [Show full text]