Kategorien
E-Books
-
Wirtschaft
- Bitcoin
- Geschäftsfrau
- Coaching
- Controlling
- E-Business
- Ökonomie
- Finanzen
- Börse und Investitionen
- Persönliche Kompetenzen
- Computer im Büro
- Kommunikation und Verhandlungen
- Kleines Unternehmen
- Marketing
- Motivation
- Multimedia-Training
- Immobilien
- Überzeugung und NLP
- Steuern
- Sozialpolitik
- Handbȕcher
- Präsentationen
- Führung
- Public Relation
- Berichte, Analysen
- Geheimnis
- Social Media
- Verkauf
- Start-up
- Ihre Karriere
- Management
- Projektmanagement
- Personal (HR)
-
Für Kinder
-
Für Jugendliche
-
Bildung
-
Enzyklopädien, Wörterbücher
-
E-Presse
- Architektura i wnętrza
- Biznes i Ekonomia
- Haus und Garten
- E-Business
- Finanzen
- Persönliche Finanzen
- Unternehmen
- Fotografie
- Informatik
- HR und Gehaltsabrechnung
- Computer, Excel
- Buchhaltung
- Kultur und Literatur
- Wissenschaftlich und akademisch
- Umweltschutz
- meinungsbildend
- Bildung
- Steuern
- Reisen
- Psychologie
- Religion
- Landwirtschaft
- Buch- und Pressemarkt
- Transport und Spedition
- Gesundheit und Schönheit
-
Geschichte
-
Informatik
- Office-Programme
- Datenbank
- Bioinformatik
- IT Branche
- CAD/CAM
- Digital Lifestyle
- DTP
- Elektronik
- Digitale Fotografie
- Computergrafik
- Spiele
- Hacking
- Hardware
- IT w ekonomii
- Wissenschaftliche Pakete
- Schulbücher
- Computergrundlagen
- Programmierung
- Mobile-Programmierung
- Internet-Server
- Computernetzwerke
- Start-up
- Betriebssysteme
- Künstliche Inteligenz
- Technik für Kinder
- Webmaster
-
Andere
-
Fremdsprachen lernen
-
Kultur und Kunst
-
Lektüre
-
Literatur
- Anthologien
- Ballade
- Biografien und Autobiografien
- Für Erwachsene
- Drama
- Tagebücher, Memoiren, Briefe
- Epos
- Essay
- Science Fiction
- Felietonys
- Fiktion
- Humor, Satire
- Andere
- Klassisch
- Krimi
- Sachbücher
- Belletristik
- Mity i legendy
- Nobelpreisträger
- Kurzgeschichten
- Gesellschaftlich
- Okultyzm i magia
- Erzählung
- Erinnerungen
- Reisen
- Gedicht
- Poesie
- Politik
- Populärwissenschaftlich
- Roman
- Historischer Roman
- Prosa
- Abenteuer
- Journalismus
- Reportage
- Romans i literatura obyczajowa
- Sensation
- Thriller, Horror
- Interviews und Erinnerungen
-
Naturwissenschaften
-
Sozialwissenschaften
-
Schulbücher
-
Populärwissenschaft und akademisch
- Archäologie
- Bibliotekoznawstwo
- Filmwissenschaft
- Philologie
- Polnische Philologie
- Philosophie
- Finanse i bankowość
- Erdkunde
- Wirtschaft
- Handel. Weltwirtschaft
- Geschichte und Archäologie
- Kunst- und Architekturgeschichte
- Kulturwissenschaft
- Linguistik
- Literaturwissenschaft
- Logistik
- Mathematik
- Medizin
- Geisteswissenschaften
- Pädagogik
- Lehrmittel
- Populärwissenschaftlich
- Andere
- Psychologie
- Soziologie
- Theatrologie
- Teologie
- Theorien und Wirtschaftswissenschaften
- Transport i spedycja
- Sportunterricht
- Zarządzanie i marketing
-
Handbȕcher
-
Spielanleitungen
-
Professioneller und fachkundige Leitfaden
-
Jura
- Sicherheit und Gesundheit am Arbeitsplatz
- Geschichte
- Verkehrsregeln. Führerschein
- Rechtswissenschaften
- Gesundheitswesen
- Allgemeines. Wissenskompendium
- akademische Bücher
- Andere
- Bau- und Wohnungsrecht
- Zivilrecht
- Finanzrecht
- Wirtschaftsrecht
- Wirtschafts- und Handelsrecht
- Strafrecht
- Strafrecht. Kriminelle Taten. Kriminologie
- Internationales Recht
- Internationales und ausländisches Recht
- Gesundheitsschutzgesetz
- Bildungsrecht
- Steuerrecht
- Arbeits- und Sozialversicherungsrecht
- Öffentliches, Verfassungs- und Verwaltungsrecht
- Familien- und Vormundschaftsrecht
- Agrarrecht
- Sozialrecht, Arbeitsrecht
- EU-Recht
- Industrie
- Agrar- und Umweltschutz
- Wörterbücher und Enzyklopädien
- Öffentliche Auftragsvergabe
- Management
-
Führer und Reisen
- Afrika
- Alben
- Südamerika
- Mittel- und Nordamerika
- Australien, Neuseeland, Ozeanien
- Österreich
- Asien
- Balkan
- Naher Osten
- Bulgarien
- China
- Kroatien
- Tschechische Republik
- Dänemark
- Ägypten
- Estland
- Europa
- Frankreich
- Berge
- Griechenland
- Spanien
- Niederlande
- Island
- Litauen
- Lettland
- Mapy, Plany miast, Atlasy
- Miniführer
- Deutschland
- Norwegen
- Aktive Reisen
- Polen
- Portugal
- Andere
- Russland
- Rumänien
- Slowakei
- Slowenien
- Schweiz
- Schweden
- Welt
- Türkei
- Ukraine
- Ungarn
- Großbritannien
- Italien
-
Psychologie
- Lebensphilosophien
- Kompetencje psychospołeczne
- zwischenmenschliche Kommunikation
- Mindfulness
- Allgemeines
- Überzeugung und NLP
- Akademische Psychologie
- Psychologie von Seele und Geist
- Arbeitspsychologie
- Relacje i związki
- Elternschafts- und Kinderpsychologie
- Problemlösung
- Intellektuelle Entwicklung
- Geheimnis
- Sexualität
- Verführung
- Aussehen ind Image
- Lebensphilosophien
-
Religion
-
Sport, Fitness, Diäten
-
Technik und Mechanik
Hörbücher
-
Wirtschaft
- Bitcoin
- Geschäftsfrau
- Coaching
- Controlling
- E-Business
- Ökonomie
- Finanzen
- Börse und Investitionen
- Persönliche Kompetenzen
- Kommunikation und Verhandlungen
- Kleines Unternehmen
- Marketing
- Motivation
- Immobilien
- Überzeugung und NLP
- Steuern
- Handbȕcher
- Präsentationen
- Führung
- Public Relation
- Geheimnis
- Social Media
- Verkauf
- Start-up
- Ihre Karriere
- Management
- Projektmanagement
- Personal (HR)
-
Für Kinder
-
Für Jugendliche
-
Bildung
-
Enzyklopädien, Wörterbücher
-
Geschichte
-
Informatik
-
Andere
-
Fremdsprachen lernen
-
Kultur und Kunst
-
Lektüre
-
Literatur
- Anthologien
- Ballade
- Biografien und Autobiografien
- Für Erwachsene
- Drama
- Tagebücher, Memoiren, Briefe
- Epos
- Essay
- Science Fiction
- Felietonys
- Fiktion
- Humor, Satire
- Andere
- Klassisch
- Krimi
- Sachbücher
- Belletristik
- Mity i legendy
- Nobelpreisträger
- Kurzgeschichten
- Gesellschaftlich
- Okultyzm i magia
- Erzählung
- Erinnerungen
- Reisen
- Poesie
- Politik
- Populärwissenschaftlich
- Roman
- Historischer Roman
- Prosa
- Abenteuer
- Journalismus
- Reportage
- Romans i literatura obyczajowa
- Sensation
- Thriller, Horror
- Interviews und Erinnerungen
-
Naturwissenschaften
-
Sozialwissenschaften
-
Populärwissenschaft und akademisch
- Archäologie
- Philosophie
- Wirtschaft
- Handel. Weltwirtschaft
- Geschichte und Archäologie
- Kunst- und Architekturgeschichte
- Kulturwissenschaft
- Literaturwissenschaft
- Mathematik
- Medizin
- Geisteswissenschaften
- Pädagogik
- Lehrmittel
- Populärwissenschaftlich
- Andere
- Psychologie
- Soziologie
- Teologie
- Zarządzanie i marketing
-
Handbȕcher
-
Professioneller und fachkundige Leitfaden
-
Jura
-
Führer und Reisen
-
Psychologie
- Lebensphilosophien
- zwischenmenschliche Kommunikation
- Mindfulness
- Allgemeines
- Überzeugung und NLP
- Akademische Psychologie
- Psychologie von Seele und Geist
- Arbeitspsychologie
- Relacje i związki
- Elternschafts- und Kinderpsychologie
- Problemlösung
- Intellektuelle Entwicklung
- Geheimnis
- Sexualität
- Verführung
- Aussehen ind Image
- Lebensphilosophien
-
Religion
-
Sport, Fitness, Diäten
-
Technik und Mechanik
Videokurse
-
Datenbank
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersicherheit
-
Data Science
-
DevOps
-
Für Kinder
-
Elektronik
-
Grafik / Video / CAX
-
Spiele
-
Microsoft Office
-
Entwicklungstools
-
Programmierung
-
Persönliche Entwicklung
-
Computernetzwerke
-
Betriebssysteme
-
Softwaretest
-
Mobile Geräte
-
UX/UI
-
Web development
-
Management
Podcasts
Details zum E-Book
Einloggen, wenn Sie am Inhalt des Artikels interessiert sind.
Core Data iOS Essentials. Knowing Core Data gives you the option of creating data-driven iOS apps, and this book is the perfect way to learn as it takes you through the process of creating an actual app with hands-on instructions
E-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.
- Core Data iOS Essentials
- Table of Contents
- Core Data iOS Essentials
- Credits
- About the Author
- Acknowledgement
- About the Reviewers
- www.PacktPub.com
- Support files, eBooks, discount offers, and more
- Why Subscribe?
- Free Access for Packt account holders
- Support files, eBooks, discount offers, and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Errata
- Piracy
- Questions
- 1. Overview
- Prerequisite
- A brief history
- Enterprise Object Framework (EOF)
- Core Data
- Why use Xcode?
- Source code
- Shall we begin?
- 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
- FetchRequest
- FetchedResultsController
- 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
- Core Data
- 3. Understanding Objective-C Protocol and Table View
- Protocol
- Implementing the Strategy pattern
- Defining the protocol
- Creating a delegate property
- Declaring protocol methods
- Implementing the Strategy pattern
- Creating a sample application using a protocol and a delegate
- Adding the ViewController class for entering numerical values
- Defining the protocol, outlets, and action methods in the SecondViewController.h header file
- Defining the SecondViewController class and connecting controls
- Invoking delegate methods from the SecondViewController.m implementation file
- Declaring the delegate, outlet, and action methods in the demodelegateViewController.h header file
- Defining the demodelegateViewController and connecting controls
- Implementing the protocol methods in the demodelegateViewController.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 UITableViewDataSource protocol methods
- Adding names to the Table View
- Adding the AddNameController View controller
- Defining protocols, outlets, and action methods in the AddNameController.h header file
- Defining the AddNameController class View and connecting controls
- Invoking Delegate methods in the AddNameController.m implementation file
- Invoking the AddNameController View and implementing the protocol methods
- Placing and connecting the Bar Button Item control in the RootViewController
- Summary
- Protocol
- 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
- applicationWillTerminate method
- managedObjectContext method
- managedObjectModel method
- persistentStoreCoordinator method
- applicationDocumentsDirectory method
- Summary
- 5. Creating, Listing, and Deleting Names of Customers
- Splitting the task into two modules
- Creating a module to save and delete a customers name
- Using the ViewController class for adding the name of the customer
- Defining protocol, outlets, and action methods in the header file
- Defining the View of the AddNameController class and connecting controls
- Invoking delegate methods from the implementation file
- Declaring delegate and implementing methods for storing the name of the customers
- Key value coding (KVC)
- Key value methods
- The -valueForKey: method
- The -setValue:forKey: method
- Keypath
- Key value methods
- Implementing the methods of the NSFetchedResultsControllerDelegate protocol
- The controllerWillChangeContent method
- The controllerDidChangeContent method
- The controller:didChangeObject method
- The controller:didChangeSection method
- Running the project
- Summary
- 6. Creating, Listing, Displaying, and Deleting Records of Customers
- Understanding multiple managed object context
- NSNotification
- Applying the concept of multiple managed object context in our application
- Enhancing our application to save, list, display, and delete customer information
- Adding the ViewController class
- Defining a View for entering the customer's information and connecting controls
- Coding in the implementation file for accepting the customer's information and invoking delegate methods
- Adding the View Controller class for displaying the customer's information
- Defining the View and writing the code in the implementation file for displaying the customer's information
- Implementing the methods in the RootViewController class for storing the customer's information
- viewDidLoad method
- cell AtIndexPath method
- didSelectRowAtIndexPath method
- addCustomer method
- addcustomerController method
- Viewing the project
- Summary
- Understanding multiple managed object context
- 7. Updating and Searching Records of Customers
- Applying the update feature
- Defining a protocol in the DisplayCustomerController class
- Adding Edit button to enable modifications in the View of DisplayCustomerController class
- Implementing the protocol's method for storing modified customer information
- Using KVO to know what has been updated
- Running the project
- Applying search facility
- Defining outlet of UISearchBar class in the header file of the RootViewController class
- Placing the Search Bar control in the View of RootViewController and specifying its delegate
- Implementing delegate method in the RootViewController class to apply searching
- Understanding NSPredicate
- Removing the keyboard after selecting a customer's name
- Using Predicate Builder for creating a search criterion
- Fetched properties
- Fetch request templates
- Building and accessing a fetch request without a variable
- Building and accessing a fetch request with a variable
- Summary
- Applying the update feature
- 8. Entering, Saving, Listing, and Deleting the Records of the Products Sold to the Customers
- Adding the product entity to the Data Model
- Relationship
- Types of relationships
- One to one relationship
- One to many relationship
- Many to many relationship
- Types of relationships
- Establishing a relationship between the Customer and the Product entities
- Setting a relationship from the Customer entity to the Product entity
- Delete rule
- Setting a relationship from the Product entity to the Customer entity (inverse relationship)
- Setting a relationship from the Customer entity to the Product entity
- Building the data object for the Customer and the Product entities
- Understanding the role of the auto generated special methods of a relationship
- Entering the information of the products sold to the customers
- Creating a module to develop an interface to enter the product information
- Adding a ViewController class for entering the information of the products sold to the customers
- Defining the protocol, outlets, and action methods in the header file
- Designing the View of the AddProductController class and connecting the controls
- Invoking the delegate methods from the implementation file
- Developing a module to create a menu for manipulating the product information
- Adding a ViewController class to display the Product's menu to manipulate the product's information
- Defining the outlets and action methods in the header file
- Designing the View of a ProductInfoController class and connecting the controls
- Coding in the implementation file to save, edit, and display the product's information
- Creating a module to connect the Product's menu to the rest of the project
- Defining the outlets and action methods in the header file
- Adding a Toolbar control to the View of the DisplayCustomerController class
- Coding in the implementation file to invoke the View of the ProductInfoController class
- Running the project
- Summary
- 9. Entering, Displaying, and Deleting the Stock
- Adding the MasterProduct entity to the Data Model
- Storing the image of the MasterProduct
- Transformable data type
- The Value Transformer Name: field
- Creating a value transformer
- Transformable data type
- Building the data object for the MasterProduct entity
- Maintaining the MasterProduct information
- Image Picker
- Adding custom images to the Image Picker
- Making an image appear within a given size
- Module to develop interface to enter the information of the MasterProduct
- Adding the ViewController class for entering information of the master products
- Defining protocol, outlets, and action methods in the header file
- Designing the View of the MasterProductController class and connecting controls
- Invoking the delegate and ImagePicker methods from the implementation file
- Module to create a menu for manipulating the MasterProduct information
- Adding the View Controller class to display a menu for adding, editing, and displaying the MasterProducts
- Defining the outlets and action methods in the header file
- Designing the View of the MasterProductInfoController class and connecting controls
- Coding in the implementation file to save, edit, and display the master product's information
- Image Picker
- Summary
- 10. Editing the Stock Information
- Module to connect the MasterProduct's menu to the rest of the project
- Defining outlets and action methods in the header file
- Adding a Toolbar and a Bar Button Item in the RootViewController class
- Coding in the implementation file to invoke the View of the MasterProductinfoController class
- Making the Toolbar to appear at the bottom of the View
- Running the application
- Selecting the image of the master product
- Deleting the master product
- Module to modify the information of the master product
- Adding the View Controller class to display the view to modify the selected master product
- Defining the outlets and action methods in the header file
- Designing the View of EditMasterProductController class
- Coding in the implementation file to modify the master product's information
- Importing the delegate and the View Controller class in the header file
- Coding in the implementation file to invoke the View of the EditMasterProductController class
- Summary
- Module to connect the MasterProduct's menu to the rest of the project
- 11. Displaying the Products for Sale and Updating the Stock
- Displaying the products available for sale
- Adding the SearchProductController class
- Designing the view of SearchProductController
- Coding in the SearchProductController class
- Invoking the SearchProductController from the Product menu
- Displaying name, price, and image of the selected product
- Updating the stock
- Running the project
- Automatically updating the quantity of the product in the MasterProduct entity
- Versioning
- Creating a new Data Model version
- Migrations
- Implementing lightweight migration to our application
- Summary
- Displaying the products available for sale
- A. Appendix
- Index
- Titel: Core Data iOS Essentials. Knowing Core Data gives you the option of creating data-driven iOS apps, and this book is the perfect way to learn as it takes you through the process of creating an actual app with hands-on instructions
- Autor: Bintu Harwani, B. M. Harwani
- Originaler Titel: Core Data iOS Essentials. Knowing Core Data gives you the option of creating data-driven iOS apps, and this book is the perfect way to learn as it takes you through the process of creating an actual app with hands-on instructions.
- ISBN: 9781849690959, 9781849690959
- Veröffentlichungsdatum: 2011-04-26
- Format: E-book
- Artikelkennung: e_3aya
- Verleger: Packt Publishing