Book Image

Core Data iOS Essentials

By : Bintu Harwani, B. M. Harwani
Book Image

Core Data iOS Essentials

By: Bintu Harwani, B. M. Harwani

Overview of this book

Core Data is the essential ingredient in data driven iOS apps. It's used for storing, retrieving, and manipulating application data in databases, XML, and binary formats. It's an essential component for iPhone, iPod Touch, and iPad apps.Core Data Essentials provides a clear, readable guide to the most useful aspects of Core Data. Built around a realistic example app, the book showcases the most important aspects of Core Data development in the context of a complete, functioning app written in Objective C.The book starts with a tour of how the app works. Then you'll see how to easily display data using the Table View. You'll learn how to develop an appropriate data model that fits the needs of your app, then implement that model as updatable data objects. You'll see how to update data and build relationships between objects and learn how Core Data can work with search, and how to provide your users with friendly data editing features.
Table of Contents (19 chapters)
Core Data iOS Essentials
About the Author
About the Reviewers

Maintaining the MasterProduct information

To maintain information of the MasterProduct, we have to do four tasks:

  • Develop a View to enter the MasterProduct's information

  • Develop a MasterProduct's menu to add, delete, and display information of master products

  • Connect the MasterProduct's menu to the RootViewController class (the class that displays the first View when application is launched) so that MasterProduct's menu can be invoked from there

  • Develop a View to display and modify the selected MasterProduct's information

To execute these preceding tasks, we need to create four modules:

  • Module to develop an interface to enter information of the MasterProduct that the vendor deals with

  • Module to create a menu for manipulating the MasterProduct information. That is, we create buttons that are connected to methods to save, display, and delete MasterProduct's information

  • Module to connect the MasterProduct's menu to the rest of the project

  • Module to modify the information of the MasterProduct

For the...