Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group
Learn more about our biggest redesign in 10 years — click here

iOS & Swift Tutorials 

The highest quality iOS and Swift tutorials on the web - over 3,000 and counting!

Core Data by Tutorials Updated for Swift 3 and iOS 10

We’re excited to announce Core Data by Tutorials, Third Edition – updated for Swift 3 and iOS 10!

Believe it or not, we’re already on the Third Edition of Core Data by Tutorials — fully updated for Swift 3, iOS 10 and Xcode 8!

Core Data by Tutorials teaches you everything you need to know to take control of your data in iOS apps using Core Data, Apple’s powerful object graph and persistence framework.

This will be a free update for existing Core Data by Tutorials PDF customers — our way to say “thanks” to our readers for their support.

Don’t own Core Data by Tutorials yet? Read on to see how you can get a copy!

What is Core Data by Tutorials?

This book is for intermediate iOS developers who already know the basics of iOS and Swift development but want to learn how to leverage Core Data to persist data in their apps.

Core Data this year is all about lowering the barrier of entry:

  • Say goodbye to screens and screens of code just to set up the Core Data “stack”.
  • Say goodbye to generating and maintaining managed object subclasses.
  • Say goodbye to having to tell Swift what type of managed object you’re using.
  • Say goodbye to single readers at the persistent store level.
  • Say goodbye, sadly, to iCloud. Hey — it can’t all be good news. :]

Here’s a quick look at what’s inside Core Data by Tutorials:

  • Chapter 1, Your First Core Data App: You’ll click File\New Project and write a Core Data app from scratch! This chapter covers the basics of setting up your data model and then adding and fetching records.
  • Chapter 2, NSManagedObject Subclasses: NSManagedObject is the base data storage class of your Core Data object graphs. This chapter will teach you how you customize your own managed object subclasses to store and validate data.
  • Chapter 3, The Core Data Stack: Under the hood, Core Data is made up of many parts working together. In this chapter, you’ll learn about how these parts fit together, and move away from the starter Xcode template to build your own customizable system.
  • Chapter 4, Intermediate Fetching: Your apps will fetch data all the time, and Core Data offers many options for getting the data to you efficiently. This chapter covers more advanced fetch requests, predicates, sorting and asynchronous fetching.
  • Chapter 5, NSFetchedResultsController: Table views are at the core of many iOS apps, and Apple wants to make Core Data play nicely with them! In this chapter, you’ll learn how NSFetchedResultsController can save you time and code when your table views are backed by data from Core Data.
  • Chapter 6, Versioning and Migration: As you update and enhance your app, its data model will almost certainly need to change. In this chapter, you’ll learn how to create multiple versions of your data model and then migrate your users forward so they can keep their existing data as they upgrade.
  • Chapter 7, Unit Tests: Testing is an important part of the development process, and you shouldn’t leave Core Data out of those tests! In this chapter, you’ll learn how to set up a separate test environment for Core Data and see examples of how to test your models.
  • Chapter 8, Measuring and Boosting Performance: No one ever complained that an app was too fast, so it’s important to be vigilant about tracking performance. In this chapter, you’ll learn how to measure your app’s performance with various Xcode tools and then pick up some tips for dealing with slow spots in your code.
  • Chapter 9, Multiple Managed Object Contexts: In this final chapter, you’ll expand the usual Core Data stack to include multiple managed object contexts. You’ll learn how this can improve perceived performance and help make your app architecture less monolithic and more compartmentalized.

About the Authors

Of course, our book would be nothing without our team of experienced and dedicated authors:

AaronAaron Douglas was that kid taking apart the mechanical and electrical appliances at five years of age to see how they worked. He never grew out of that core interest – to know how things work. He took an early interest in computer programming, figuring out how to get past security to be able to play games on his dad’s computer. He’s still that feisty nerd, but at least now he gets paid to do it. Aaron works for Automattic (, Akismet, Simplenote) as a Mobile Maker primarily on the WordPress for iOS app. Find Aaron on Twitter as @astralbodies.

SaulSaul Mora is trained in the mystical and ancient arts of manual memory management, compiler macros and separate header files. Saul is a developer who honors his programming ancestors by using Optional variables in swift on all UIs created from Nib files. Despite being an Objective C neckbeard, Saul has embraced the Swift programming language. Currently, Saul resides in Shanghai, China working at 流利说 (Liulishuo) helping Chinese learn English while he is learning 普通话 (mandarin).

MatthewMatthew Morey is an engineer, author, hacker, creator and tinkerer. As an active member of the iOS community and Director of Mobile Engineering at MJD Interactive he has led numerous successful mobile projects worldwide. When not developing apps he enjoys traveling, snowboarding, and surfing. He blogs about technology and business at

PietroPietro Rea is the founder and CEO of Sweetpea Mobile, a mobile-focused strategy, design and software development agency based just outside Washington D.C. Pietro’s work has been featured in Apple’s App Stores many times across several different categories: media, e-commerce, lifestyle and more. From Fortune 500 companies, to venture-backed startups to bootstrapped independents, Pietro has a passion for mobile software development done right. You can find Pietro on Twitter as @pietrorea.

Free Core Data Chapters this Week

To help celebrate the launch, we’re going to open up the book and share three free chapters with you this week! This will give you a chance to check out the book — we’re confident you’ll love it! :]

Where To Go From Here?

Core Data by Tutorials, Third Edition is now 100% complete, fully updated for Swift 3, iOS 10 and Xcode 8 — and available today.

  • If you’ve already bought the Core Data by Tutorials PDF, you can download the new book immediately on your My Loot page.
  • If you don’t have Core Data by Tutorials yet, you can grab your own copy in our store.

You can get 10% off on this book — or anything else in our store — with the code IOS10FEAST.

Speaking of which, be sure to check out everything we’re offering this year in the iOS 10 Feast, including $40,000 in giveaways!

To enter, simply retweet this post with the #ios10feast hashtag using the button below:

We hope you enjoy this free update, and stay tuned for more book releases and updates coming soon!



Create your free learning account today!

With a free account, you can download source code from our tutorials, track your progress, personalize your learner profile, participate in open discussion forums and more!