Core Data tutorial part 4.2 / 5 - Using NSFetchedResultsController, Reorder/Moving Table View Cells with Long Press Gesture, and update immediately Core Data displayOrder attribute IOS 8.1 Xcode 6.1 The full tutorial with explanations

seen from United States
seen from China
seen from Argentina
seen from United States

seen from United Kingdom
seen from Türkiye
seen from Brazil

seen from Malaysia

seen from United Kingdom
seen from Spain
seen from China
seen from Brazil

seen from United States
seen from Australia
seen from South Africa

seen from Australia

seen from Brazil

seen from Suriname
seen from United States

seen from Belarus
Core Data tutorial part 4.2 / 5 - Using NSFetchedResultsController, Reorder/Moving Table View Cells with Long Press Gesture, and update immediately Core Data displayOrder attribute IOS 8.1 Xcode 6.1 The full tutorial with explanations

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
“You must to know!” Collection - Core Data simple explanations
With Core Data framework you can managed your objects in your App. You can manage your object’s life cycle and object graph, so the attributes and relationships of your entities. You can edit, save modify and rebuild your database. You can group, filtering, organizing your data. I try to explain just the basics with my example.
I’m going to create a model with users who are listed some types (family, classmates, friends, love) and they have various hobbies.
In our model a user can belongs to only one type, but one type can contain multiple users. For example, the family type may contain brother, mother, and father as well. But Father user cannot be in the type of “classmates”, if it belongs to already “family” type.
1. ManagedObject, ManagedObjectModel and ManagedObjectContext
First you need to describe your objects or entities, so you have to create a schema, which can tell what is the property or name or class, and which attributes can you use to describe your object, which belongs to an array. This schema will be the Managed Object Model. For example:
Entity Description:
Name: “User”
Classname: “User”
Property: array
The array property consists collection of attributes and relationships. Example:
Attribute ————— collection
Name: “userName”
Type: “string”
ValueClass: “NSString”
Attribute ————— collection
Name: “userBirthDate
Type: “date”
ValueClass: “NSDate”
Relationship ————— collection
Name: “typeofuser”
Destination Entity: Type
More info about Managed Object Model in Developer Library
The ManagedObjectContext is the place or space, her you can manage your collections of managed objects. You can do any modification with your objects and relationships in the same context, so you can manage and follow their life cycle.
More info about ManagedObjectContext in Developer Library
2. PersistentStoreCoordinator
Developer Library gives you a very clear explanation:
"A persistent store coordinator associates persistent object stores and a managed object model, and presents a facade to managed object contexts such that a group of persistent stores appears as a single aggregate store. A persistent store coordinator is an instance of NSPersistentStoreCoordinator. It has a reference to a managed object model that describes the entities in the store or stores it manages.
The coordinator is the central object in a Core Data stack. In many applications you just have a single store, but in complex applications there may be several, each potentially containing different entities. The persistent store coordinator’s role is to manage these stores and present to its managed object contexts the facade of a single unified store. When you fetch records, Core Data retrieves results from all of them, unless you specify which store you’re interested in.”
Source
// <![CDATA[ (adsbygoogle = window.adsbygoogle || []).push({}); // ]]>
3. Relationships
In our example, we have one type with more users, so this will be a one to many, so “to-many” relationship. We can call this relationship “usersoftype”, which located at Type Entity, but the Destination is User Entity.
It has an Inverse, because we have more users with one type, so this relationship from this side, will be “to-one”. And we can call “typeofuser” which belongs to User Entity, but the Destination will be “Type”, because the connection end/belongs at/to “Type” Entity.
You can see in Xcode the Core Data model in Graph Editor Style, and you can check yourself: