CHAPTER 9

image

Using SQLite/Core Data with Swift (iOS and OS X)

After looking at the Xcode Core Data model editor which lets you build your Core Data environment graphically, it’s time to move to the code that implements it. Core Data wraps the persistent store, which in many cases is the built-in SQLite library for OS X, iOS, watchOS, and tvOS.

This chapter looks at the Core Data stack—the objects that do the work in all cases. It also looks at the specific objects that you may use in implementing your own app.

The SQLite syntax that is exposed in other environments is still working here, and, as you saw in Chapter 8, in the discussion of data types, ...

Get Introducing SQLite for Mobile Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.