Understanding Model-View-Controller And Creating A Class Outline
Hi this is the third article in the series on Developing your first Apple iPhone App Store App Step-By-Step, if you missed the first article please check it out here:
Your First Apple iPhone App Store App
In the video below I quickly go over MVC, and then I outline my own process for outlining the classes in smaller apps when developing on my own, to come up with the classes I basically follow these steps:
1. I list all the nouns contained within the objective statement and list of features (that I created in the previous article/video of this series).
2. I take those and create a list of objects by separating the simple objects (objects containing no attributes or other objects), and those that will be created visually in Xcode’s Interface Builder.
3. I take that list of objects, and try to determine what attributes and other objects might be needed by those objects.
From this list I have an outline of the classes to use within the app, it’s by no means perfect or set in stone, but simply to get things going so that I can begin coding. When developing these simple apps on my own I don’t worry about creating any formal documents. From this list of classes I begin coding.
Watch the video below where I explain things in more detail:
Please excuse the sound quality of the first minute or so, a slight breeze seems to have affected the mic while outside.
Thanks for reading, be sure to come back for the rest of the series where we will finish the simple app.
Getting started with iPhone and iPad development, and looking for a straightforward guide to get you started with Objective-C fast as possible?
Click here to check out a great straightforward no-nonsense guide to getting started with iPhone development as fast as possible.
Related Posts
-
Paul
-
maniacdev
-
Dan