Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Core Data iOS Essentials

You're reading from  Core Data iOS Essentials

Product type Book
Published in Apr 2011
Publisher Packt
ISBN-13 9781849690942
Pages 340 pages
Edition 1st Edition
Languages

Table of Contents (19) Chapters

Core Data iOS Essentials
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
1. Overview 2. Understanding Core Data 3. Understanding Objective-C Protocol and Table View 4. Designing a Data Model and Building Data Objects for Customers 5. Creating, Listing, and Deleting Names of Customers 6. Creating, Listing, Displaying, and Deleting Records of Customers 7. Updating and Searching Records of Customers 8. Entering, Saving, Listing, and Deleting the Records of the Products Sold to the Customers 9. Entering, Displaying, and Deleting the Stock 10. Editing the Stock Information 11. Displaying the Products for Sale and Updating the Stock Appendix

Running the project


Let us run the project to see whether we get the old and new values entered for the name attribute (while modifying the information of the customer):

  1. 1. Select Run | Console option to open the console.

  2. 2. From the console's toolbar, select Build and Run icon from the Xcode Project window. We get the names of customers that are currently available in the persistent store in the table view (as shown in the following screenshot):

  3. 3. Select any customer's name from the table view to view his complete information. Such as, on selecting the customer: John his information will be displayed, as shown in the following screenshot. The Text Fields showing the customer's information are in the disabled mode, that is, we cannot edit any information at the moment.

  4. 4. Select the Edit button in the navigation bar to have all the Text Field controls enabled and we can click on any Text Field control to modify its contents. The Title of the Edit button changes to Done when the Text Fields...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}