Book Image

Core Data iOS Essentials

Book Image

Core Data iOS Essentials

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
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Appendix

Creating an application to display Table View cells


The application that we are going to create in this chapter is focused on understanding the working of Table View control and has nothing to do with the actual application: Sales Record System for Departmental Store. From the next chapter, we will start developing the actual application. In this application, we'll learn how to display a list of names in a table view. The steps are as follows:

  1. 1. Create a new project by selecting the File | New Project option.

  2. 2. The New Project Assistant window appears, prompting us to select a template for the new project. Select the Navigation based Application template and click the Choose button.

  3. 3. A dialog box appears, asking us to assign a name and location for the new project. The default location is the Documents folder on our local drive, but we can specify a different location if we wish. Let's assign the name demotable to our new project and select the Save button.

Xcode will generate the project...