• Complain

Marcus S. Zarra - Core Data: Data Storage and Management for iOS, OS X, and iCloud

Here you can read online Marcus S. Zarra - Core Data: Data Storage and Management for iOS, OS X, and iCloud full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2013, publisher: Pragmatic Bookshelf, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Marcus S. Zarra Core Data: Data Storage and Management for iOS, OS X, and iCloud
  • Book:
    Core Data: Data Storage and Management for iOS, OS X, and iCloud
  • Author:
  • Publisher:
    Pragmatic Bookshelf
  • Genre:
  • Year:
    2013
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Core Data: Data Storage and Management for iOS, OS X, and iCloud: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Core Data: Data Storage and Management for iOS, OS X, and iCloud" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Core Data is Apples recommended way to persist data: its easy to use, built-in, and integrated with iCloud. Its intricate, powerful, and necessary--and this book is your guide to harnessing its power.
Learn fundamental Core Data principles such as thread and memory management, discover how to use Core Data in your iPhone, iPad, and OS X projects by using NSPredicate to filter data, and see how to add iCloud to your applications.
Cocoa expert Marcus Zarra walks you through developing a full-featured application based around the Core Data APIs. Youll build up a single application throughout the book, learning key Core Data principles such as NSPredicate, thread management, and memory management.
Geared toward intermediate to advanced developers, this book gets you comfortable with the basics of Core Data. Then youll delve deep into the details of the API. Youll explore not only how to get Core Data integrated into your application properly, but even better, how to work with the APIs flexibility to create convenience methods to improve your applications maintainability. Learn how to reduce your number of mapping models, integrate your Core Data app with Spotlight and Quick Look, connect your application with sync services, and find out how to use Core Data in a multithreaded environment. By the end of the book, youll have built a full-featured application, gained a complete understanding of Core Data, and learned how to integrate your application into the iPhone/iPad platform.
This second edition updates all examples for OS X Mountain Lion and iOS 6, gets you up to speed on changes in multithreading, and provides new chapters covering iCloud and NSFetchedResultsController.
What You Need Mac OS X Mountain Lion and iOS 6. This book is for intermediate-level iOS developers.

Marcus S. Zarra: author's other books


Who wrote Core Data: Data Storage and Management for iOS, OS X, and iCloud? Find out the surname, the name of the author of the book and a list of all author's works by series.

Core Data: Data Storage and Management for iOS, OS X, and iCloud — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Core Data: Data Storage and Management for iOS, OS X, and iCloud" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Core Data 2nd Edition Data Storage and Management for iOS OS X and iCloud by - photo 1
Core Data, 2nd Edition
Data Storage and Management for iOS, OS X, and iCloud
by Marcus S. Zarra
Version: P1.0 (January 2013)
Copyright 2013 The Pragmatic Programmers, LLC. This book is licensed tothe individual who purchased it. We don't copy-protect itbecause that would limit your ability to use it for yourown purposes. Please don't break this trustyou can use this across all of your devices but please do not share this copywith other members of your team, with friends, or via file sharing services. Thanks.
Dave & Andy.

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 and the linking g device are trademarks 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.

Our Pragmatic courses, workshops, and other products can help you and your team create better software and have more fun. For more information, as well as the latest Pragmatic titles, please visit us at http://pragprog.com.

Table of Contents
Copyright 2013, The Pragmatic Bookshelf.
Early Praise for Core Data, Second Edition

I learned Core Data reading the first edition of this book. It has long been my go-to reference, but a lot has changed since the first edition hit the shelves. The coverage of iOS and iCloud is a welcome addition, and the updated chapters on versioning and threading are a must-read. Those getting started with Core Data and those already using it owe it to themselves to read this fantastic book.

Kirby Turner, Chief Code Monkey, White Peak Software, Inc.

If you need to know Core Data inside and out, you need this book. Marcus not only communicates what you need to know but has deep experience in making Core Data applications. That experience shines through in every chapter and example.

Bill Dudney, Gala Factory Software, LLC

This book has information for beginners and experts alike, particularly around new features such as iCloud syncing. Its a must-have if youre going to be doing anything with Core Data.

Patrick Burleson, Owner, BitBQ, LLC

If youre using Core Data and havent read this book, youre doing yourself and your customers a disservice. Marcus Zarra explains the fundamental components of the Core Data framework and shows how the framework is used in real-world programming. This book is a must-read for anyone new to Core Data, but theres plenty of great information even for seasoned veterans.

Jeff LaMarche, Author and Co-Founder of MartianCraft, LLC

Introduction

It is truly amazing how much has changed since the last time I sat down to write an introductory chapter for Core Data . The last time, in 2009, the iPhone had just been released, and Core Data was not available for it yet; in fact, the SDK had been released only that year. Of course, by the time we were finished with the production of the book, we did have Core Data on the iPhone, but it was in its infancy.

When I began putting together this second edition of the book, Core Data had just received a major update to its API, the first major update to its core API since its initial release for Mac OS X 10.4 Tiger. Now, that update has been out for more than a year, and we are settling into those changes and how they impact our development of applications.

Is This Book for You?

If you plan on writing an application that saves data to disk, then you should take a very long look at Core Data. Whether you are focusing on the desktop or the iPhone, Core Data is the most efficient solution to data persistence.

A good way to confirm that you know enough Cocoa to benefit from this book is to take a look at Appendix 1, . You should find it dense, but every step should be familiar to you.

What Is Core Data?

In the simplest terms, Core Data is an object graph that can be persisted to disk. But just like describing a man as a bag of mostly water, that description hardly does Core Data justice. If you have worked with Interface Builder (specifically on OS X), you know that it effectively removes a third of the coding from the Model View Controller (MVC) design pattern. With Interface Builder, developers do not need to spend countless hours writing and rewriting their user interface to make sure that it is pixel perfect. Instead, they simply drag and drop the elements in the IDE, bind them together, and call it done.

Of course, the problem with Interface Builder is that we still need to code the other two parts! Both the controller and the model need to be developed in code and made to work with the interface we just designed. That is where Core Data comes in. In a nutshell, Core Data deals with a third of that MVC design: Core Data is the model.

It is a common misconception that Core Data is a database API for Cocoa that allows a Cocoa application to store its data in a database. Although that description is factually accurate, Core Data does a lot more. It serves as the entire model layer. It is not just the persistence on disk; it is also all the objects in memory that we normally consider to be data objects. If you have experience working with Java, C#, or some other object-oriented language, the data objects take a lot of time to write, and they are generally very repetitive in nature. Core Data eliminates most, if not all, of that boilerplate code for us and lets us focus on the business logic, or the controller layer, of our application. It does this with an interface that is as easy to use as Interface Builder.

In addition to ease of use, Core Data is also highly flexible. If we need to step in and change the functionality of some portion of the data model, we can. From how a value is handled when it is being accessed to how data is migrated from one persistent store to another, we can choose how little or how much we want to code ourselves and how much we want Core Data to do for us.

When you start to learn Core Data, it is best to think in terms of objects. Core Data is a framework designed to manage your data and data object graph. As a secondary function, it will persist that data to disk. However, its primary function is to manage the objects.

Core Data and iOS 5.0

If you have started to flip through this book, you probably noticed that I refer to iOS 6.0 and OS X 10.8 frequently, and I rarely mention iOS 5.0 or OS X 10.7, although the API changes that impacted Core Data the most were introduced in iOS 5.0 and OS X 10.7. There is a reason for this. There are significant, unavoidable issues with these new APIs in their first release. These issues are so significant that I cannot recommend using the new APIs in their first release.

It took me a long time to come to this conclusion, and even now I truly wish I had a better answer. I kept hoping that a new point release would come out for iOS 5 that would address some of these issues; unfortunately, it never did. Now that iOS 6.0 has been released to the public, I do not believe we will ever see another release for 5.0.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Core Data: Data Storage and Management for iOS, OS X, and iCloud»

Look at similar books to Core Data: Data Storage and Management for iOS, OS X, and iCloud. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Core Data: Data Storage and Management for iOS, OS X, and iCloud»

Discussion, reviews of the book Core Data: Data Storage and Management for iOS, OS X, and iCloud and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.