Top "Core-data" questions

Core Data is Apple's object modeling and persistence framework for iOS, iPadOS, tvOS, watchOS, and macOS.

Core Data: Quickest way to delete all instances of an entity

I'm using Core Data to locally persist results from a Web Services call. The web service returns the full object …

ios objective-c core-data
Delete/Reset all entries in Core Data?

Do you know of any way to delete all of the entries stored in Core Data? My schema should stay …

ios cocoa cocoa-touch core-data nsmanagedobject
Xcode 6 iPhone Simulator Application Support location

In Xcode 6, I have an app I'm using Core Data in, but there is no folder in Application Support for …

ios xcode core-data ios8 xcode6
The model used to open the store is incompatible with the one used to create the store

I created a Core Data model in xcode 3.2 and after upgrading in Xcode 4.2, I then added a new entity of …

ios iphone core-data
Sqlite File Location Core Data

Typically, the sqlite store file for core data apps is located in Library>Application Support>iPhone Simulator>7.1(…

ios objective-c swift sqlite core-data
Core Data vs SQLite 3

I am already quite familiar with relational databases and have used SQLite (and other databases) in the past. However, Core …

cocoa macos core-data sqlite
How to update existing object in Core Data?

When I insert new object I do with following code: NSManagedObjectContext *context = [appDelegate managedObjectContext]; Favorits *favorits = [NSEntityDescription insertNewObjectForEntityForName:@"Favorits" inManagedObjectContext:…

objective-c core-data
How to Sync iPhone Core Data with web server, and then push to other devices?

I have been working on a method to sync core data stored in an iPhone application between multiple devices, such …

iphone ios core-data sync data-synchronization
Adding Core Data to existing iPhone project

I'd like to add core data to an existing iPhone project, but I still get a lot of compile errors: …

ios core-data
NSPredicate: filtering objects by day of NSDate property

I have a Core Data model with an NSDate property. I want to filter the database by day. I assume …

objective-c core-data nsdate nspredicate nsfetchedresultscontroller