Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Good tutorials or good for using Core.Data in IOS 7 [closed]

I have been trying to use this tutorial.

But I want it to be saved in a thread other than the main thread. So far I cannot get the above tutorial working?

I have also tried this

Any ideas?

like image 611
cdub Avatar asked Nov 23 '13 09:11

cdub


People also ask

Should I use Core Data iOS?

The next time you need to store data, you should have a better idea of your options. Core Data is unnecessary for random pieces of unrelated data, but it's a perfect fit for a large, relational data set. The defaults system is ideal for small, random pieces of unrelated data, such as settings or the user's preferences.

When should I use Core Data?

Use Core Data to save your application's permanent data for offline use, to cache temporary data, and to add undo functionality to your app on a single device. To sync data across multiple devices in a single iCloud account, Core Data automatically mirrors your schema to a CloudKit container.

How can I view Core Data in iOS?

Go to the folder add ~/Library/Developer. Search for the DB name you've created as in my case it was my.

What is iOS Core Data?

Core Data is an object graph and persistence framework provided by Apple in the macOS and iOS operating systems. It was introduced in Mac OS X 10.4 Tiger and iOS with iPhone SDK 3.0. It allows data organized by the relational entity–attribute model to be serialized into XML, binary, or SQLite stores.


1 Answers

The best tutorials and documentation are the Apple's one :).

Core Data resource :

Core Data complete documentation

Core Data Starting Point

Core Data Tutorial for iOS

Core Data Model Editor Help

Core Data Snippets

Videos :

See the WWDC sessions, for example the 2013's sessions : 211.(Core Data Performance Optimization and Debugging) and 207. (What’s New in Core Data and iCloud)

Other tutorials : Many tutorials in Core Data here, cocoanetics

And a special one aboute multithreading in Core Data ( how to use multiple context) Core Data Multi-Context

Books :

Best book about Core Data, in my opinion, the Marcus S. Zarra's book. Core Data book

And also : MagicalRecord, A library that facilities the use and learning Core Data.

like image 197
samir Avatar answered Nov 15 '22 20:11

samir