Skip to Content
Learning Core Data for iOS with Swift: A Hands-On Guide to Building Core Data Applications, Second Edition
book

Learning Core Data for iOS with Swift: A Hands-On Guide to Building Core Data Applications, Second Edition

by Tim Roadley
December 2015
Beginner to intermediate
512 pages
12h 11m
English
Addison-Wesley Professional

Overview

Get Started Fast with Core Data App Development Using iOS 9, Swift, and Xcode 7

Core Data is a remarkably mature, stable, and fast platform for data access, and Swift is a world-class language for applying it. Now, there’s a complete guide to using Core Data and Swift together in production apps. Tim Roadley shows you how to gain the benefits of a relational database without writing SQL queries, so you can get more done faster, with less coding.

This book fully reflects Apple’s latest iOS 9 platform innovations and teaches Core Data entirely with Swift examples. It guides you step-by-step through creating a modern data-driven iOS app that fully integrates iCloud via CloudKit for public data sharing.

Roadley introduces up-to-date patterns and best practices designed to overcome the frustrations of Core Data development. Each chapter builds on the last, introducing new topics in the order you’ll implement them and extending your skills simply and intuitively.

Each chapter offers downloadable project code, along with exercises to help you explore even further, either as a self-learner or a student in an iOS development course. Roadley even shows how to build helper classes that simplify reuse of his example code.

If you’re an experienced iOS developer, here are all the Swift skills and resources you need to integrate data into any app—quickly, easily, and painlessly.

Coverage includes

  • Understanding what Core Data is and what it can (and can’t) do

  • Configuring basic managed object models, and choosing data types

  • Expanding data models without introducing errors

  • Using relationships and entity inheritance to unlock more power

  • Delivering memory-efficient, high performance table views

  • Enabling users to easily modify managed object attributes

  • Generating persistent stores of preloaded default data

  • Using Deep Copy to copy objects and relationships between persistent stores

  • Optimizing performance by eliminating bottlenecks and offloading intensive tasks to the background

  • Implementing efficient search

  • Integrating diverse iCloud accounts and preferences

  • Mastering advanced iCloud integration, including entity-level seeding and unique object de-dupe

  • Leveraging public CloudKit databases to sync data across users with different iCloud accounts

  • About the Website

    All code samples are available for download at timroadley.com.

    informit.com/learningseries
    timroadley.com

    Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
    and much more.

    Read now

    Unlock full access

    More than 5,000 organizations count on O’Reilly

    AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

    QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
    Julian F.
    Head of Cybersecurity
    QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
    Addison B.
    Field Engineer
    QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
    Amir M.
    Data Platform Tech Lead
    QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
    Mark W.
    Embedded Software Engineer

    You might also like

    Core Data in Swift

    Core Data in Swift

    Marcus S. Zarra
    Pro iOS Persistence : Using Core Data

    Pro iOS Persistence : Using Core Data

    Michael Privat, Robert Warner

    Publisher Resources

    ISBN: 9780134120096