Starting Mandala
Begin by creating a new project. In Xcode, create a new single view app project and name it Mandala (Figure 17.2).
Figure 17.2 Starting Mandala
The application will support a variety of different moods, and a table view will display a mood entry containing a specific mood and a timestamp showing when the mood was logged. You will start by creating the model objects to represent the moods and the mood entries.
Creating the model types
So far, all the types that you have created have been classes. In fact, most have been Cocoa Touch subclasses; for example, you have created subclasses of UIViewController ...
Get iOS Programming: The Big Nerd Ranch Guide, 7th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.