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:
This video was embedded using the YouTuber plugin by Roy Tanck. Adobe Flash Player is required to view the video.

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.
 

Would you like to learn iPhone and iPad programming online from professional instructors who have worked for companies such as EA and Disney Mobile?

Share and Enjoy:
  • RSS
  • Twitter
  • Facebook
  • DZone
  • HackerNews
  • del.icio.us
  • FriendFeed

Related Posts

View Comments to “Understanding Model-View-Controller And Creating A Class Outline”

Leave a Reply

blog comments powered by Disqus