Advertisement

Core Data

Latest Posts
  • Code
    Mobile Development
    Core Data from Scratch: Relationships and More FetchingPreview image@2x
    In the previous article, we learned about NSManagedObject and how easy it is to create, read, update, and delete records using Core Data. However, I didn't mention relationships in that discussion. Aside from a few caveats you need to be aware of, relationships are just as easy to manipulate as attributes. In this article, we will focus on relationships and we'll also continue our exploration of NSFetchRequest.Read More…
  • Code
    Mobile Development
    Core Data from Scratch: Managed Objects and Fetch RequestsPreview image@2x
    With everything about Cora Data data models still fresh in your mind, it's time to start working with Core Data. In this article, we meet NSManagedObject, the class you'll interact with most when working with Core Data. In this tutorial, you'll learn how to create, read, update, and delete records. You'll also get to know a few other Core Data classes, such as NSFetchRequest and NSEntityDescription.Read More…
  • Code
    Mobile Development
    Core Data from Scratch: Data ModelPreview image@2x
    In the first article of this series, we learned about the Core Data stack, the heart of a Core Data application. We explored the managed object context, the persistent store coordinator, and the managed object model. This article focuses on the data model of a typical Core Data application. We zoom in on Xcode's data model editor and we take a look at entities, attributes, and relationships.Read More…
  • Code
    Mobile Development
    Core Data from Scratch: Core Data StackPreview image@2x
    The Core Data framework has been around for many years. It's used in thousands of applications and by millions of people, both on iOS and OS X. Core Data is maintained by Apple and very well documented. In this article, we learn about the Core Data stack, which is at the core of every Core Data application.Read More…
  • Code
    iOS SDK
    Data Persistence and Sandboxing on iOSPreview image@2x
    Persisting data across application launches is a requirement that most iOS applications have, from storing user preferences using the user defaults system to managing large datasets in a relational database. In this article, we'll explore the most common strategies used for storing data in an iOS application. I will also talk about the file system on iOS and how application sandboxing affects data persistence.Read More…
Advertisement
Advertisement