Get Updates By E-mail 

Article Written By:
Johann Dowa

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.
 


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments