Database Reference
In-Depth Information
APPENDIX 1
Building a Foundation
On our journey to learn about Core Data, we are going to use an original
iPhone recipe application. We'll create the application in this appendix. While
the application itself is fairly complex and contains a large number of views,
the concepts behind these views are standard and will be familiar to anyone
who has done work in Objective-C. If you have not yet mastered Objective-C
and Cocoa, then I highly suggest you review Tim Isted's Beginning Mac
Programming [Ist10] and Bill Dudney and Chris Adamson's iOS SDK
Development [AD12] , both published by the Pragmatic Bookshelf.
Our goal in this appendix is to establish a baseline application from which
to work. Core Data is a supporting framework, and we need something for it
to support in order to explore and demonstrate its features and characteristics.
We've placed the details of the application in this appendix so you can follow
along if you want. This recipe application is the foundation used in the topic.
You can use this appendix as a reference of the overall picture of the applica-
tion as we're exploring the inner workings of Core Data in the rest of the
chapters.
If you are already comfortable with storyboards and the creation of iOS
applications, feel free to skim the provided code sample and jump to Chapter
2, iOS: NSFetchedResultsController , on page 23 , in which we'll begin to dive
into the substance of Core Data.
A1.1 The Storyboard
To keep the structure of our application as simple as possible, we will use a
storyboard to design the entire UI of our iPhone application. As you will recall
from your reading or experience, a storyboard allows us to view the entire
application interaction in one place. We can also control a greater portion of
the UI within the storyboard and thus allow for even less boilerplate code to
 
 
 
Search WWH ::




Custom Search