1.

Record Nr.

UNINA9910974402803321

Autore

Harwani B. M

Titolo

Core data iOS essentials : a fast-paced, example-driven guide to data-driven iPhone, iPad, and iPod Touch applications / / B.M. Harwani

Pubbl/distr/stampa

Olton, Birmingham, : Packt Pub., 2011

ISBN

9786613376923

9781283376921

128337692X

9781849690959

1849690952

Edizione

[1st ed.]

Descrizione fisica

1 online resource (340 p.)

Collana

Community experience distilled

Disciplina

005.26

005.743

Soggetti

iPhone (Smartphone) - Programming

iPad (Computer) - Programming

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Cover; Copyright; Credits; About the Author; Acknowledgement; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Overview; Prerequisite; A brief history; Enterprise Object Framework (EOF); Core Data; Why use Xcode; Source code; Shall we begin?; Chapter 2: Understanding Core Data; Core Data; Core Data features; Data Model; Entities; Properties; Attributes; Relationships; Inverse relationship; Model View Controller (MVC); Core Data API; Persistent Store; Persistent Store Coordinator; Fetch Request; Fetched Result s Controller

Overview of the application: Sales Record System for a Departmental Store Entity Relationship Diagram; An application output sample; Entering Master Product Information; Modifying the Master Product; Deleting the Master Product; Entering customer information and order details; Deleting customer information; Searching for specific customers; Searching and modifying customer information; Entering Customer Sales Information; Automatic Master Product Update; Summary; Chapter 3: Understanding Objective-C Protocol and Table



View; Protocol; Implementing the Strategy pattern; Defining the protocol

Creating a delegate property Declaring protocol methods; Creating a sample application using a protocol and a delegate; Adding the View Controller class for entering numerical values; Defining the protocol, outlets, and action methods in the Second View Controller.h header file; Defining the Second View Controller class and connecting controls; Invoking delegate methods from the Second View Controller.m implementation file; Declaring the delegate, outlet, and action methods in the demo delegate View Controller.h header file; Defining the demodelegate View Controller and connecting controls

Implementing the protocol methods in the demodelegate View Controller.m file Running the project; Introduction to Table View; Creating an application to display Table View cells; Declaring an array in the header file; Implementing UITable View Data Source protocol methods; Adding names to the Table View; Adding the Add Name Controller View controller; Defining protocols, outlets, and action methods in the Add Name Controller.h header file; Defining the Add Name Controller class View and connecting controls; Invoking Delegate methods in the Add Nam eController.m implementation file

Invoking the Add Name Controller View and implementing the protocol methods Placing and connecting the Bar Button Item control in the Root View Controller; Summary; Chapter 4: Designing a Data Model and Building Data Objects for Customers; Creating a new project; Designing the data model; Data Model Editor; Adding an entity; Adding an attribute property; Types of attributes; Fields applying constraints; Building data objects for the Customer entity; Understanding code of autogenerated files; Header file of Application Delegate; Implementation file of Application Delegate

application Will Terminate method

Sommario/riassunto

A fast-paced, example-driven guide guide to data-drive iPhone, iPad, and iPod Touch applications