Skip to main content

Core Data Relationships

  • Chapter
  • First Online:
  • 735 Accesses

Abstract

The last chapter covered a lot of the basics about how Core Data works, but we worked with an extremely simple data model that contained just a single entity. In this chapter, we’re going to extend our data model to contain multiple entities and define relationships between those entities. We’ll also create a GUI that shows these relationships and lets us edit them. Along the way, we’ll catch our first glimpse of how Core Data deals with multiple, incompatible versions of our data model and how it can migrate a data store from one model version to the next.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Jack Nutting

About this chapter

Cite this chapter

Nutting, J., Clark, P. (2013). Core Data Relationships. In: Learn Cocoa on the Mac. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4543-8_9

Download citation

Publish with us

Policies and ethics