video2brain - Core Data für iOS-Entwickler | 1.21GB
Duration: 6h 08m | Video: AVC (.mp4) 1280x720 25fps | Audio: AAC 44.1KHz stereo
Genre: eLearning | Level: Intermediate | Language: German

Understand and use data models, validation and consistency checks
Apple's Core Data Framework is a collection of classes and concepts relating to the management of object counts and their persistence. The problem faced to the beginners and experienced programmers is that you can not incorporate bit by bit, but you have to understand that from the beginning the whole thing. This training video satisfied with its steep learning curve this purpose and leads you to experience quick success.
This video tutorial will start with an application that still does not use Core Data, but the interplay between UITablerView, NSMutableArray and NSMutableDictionaries explained using the example of a grouped-do list. You will learn concepts such as NSPredicate and NSSortDescriptor already know, the building blocks play an important role in connection with the Core Data framework.
Then you will examine together with your trainer, piece by piece, the individual concepts and classes, will see how Xcode supports you in creating a data model and the possibilities of validation and consistency checks up to generate Objective-C classes exist.
In addition to the processing of the data model with the standard tools of Xcode demonstrates this tutorial how you can create on the XML level, new data models, how you can read any errors in order to generate meaningful dialogue and instructions for app users, such as versid data models and migrate and how the data is physically stored.

What is Core Data?
Learn first principle, structure and description of the object model of the Core Data framework for OS X and iOS know you better.

Building an application
The basic structure of a new application based on an Empty Application template without the use of Core Data is shown. Here, a storyboard will be adjusted according to individual requirements.

Create a data model
The Model View Controller is an important part of software development in iOS. The data model contains a method that returns a binding instance, is working with the entire application.

Individual groups are referred to as entities in Core Data, which have several different attributes. These are to be compared with classes in object-oriented programming.

For the definition of the type of an attribute in Core Data are many different options available. These include various numeric values ​​and string, binary and convertible types.

Better understand Core Data
SQL statements, which involve communication between Core Data and SQLite are indicating. When processing records should always be working with versid data models in order to prevent to any problems.

Changes to the data model and rates
Existing records can be updated or deleted at any time. The use of versid data models prevents problems with changes to the original data model. Relationships make it possible to bind data to an already existing object.

Expand generated classes
Already generated classes can be expanded in Core Data in different ways. These include the adding methods and deriving a class and the use of Categories.

Example application based on Core Data
The sample application is created through the construction of the data model, the implementation of helper methods and the design of graphical user interface on Core Data base and then provided with records.
Add Storyboard

The application is added to a storyboard for the design of the graphical user interface. This is provided with table view controllers, which can be adjusted as desired.

Simply create objects
Get to know an easy way to generate Core Data with a new record and save it. This option is not recommended for professional use.

Search and validation
The application adds a search bar to search for individual records. For this, various filter conditions are established. Additionally be added to the compulsory completion of certain fields and to define a minimum and maximum length for the text some validations.

Edit data model using XML
The definition of a Core Data data model is also stored in an XML file which can be edited at any time using a text editor.

The project files are missing!

Only the registered members can see the download links/content. please Register to gain full access.