Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Lee Hardy
Lee Hardy
5,407 Points

Self-destructing messaging app - does this follow MVC concept?

Hi all,

Just working through the self-destructing messaging app, its a great tutorial so far and really like the power of parse.com.

I have a general question about the app, does this follow the concept of Model-View-Controller design? I only know the basics of MVC from the previous tutorials, but this feels a little like it doesn't follow the concept, am I correct in saying this or do I not fully grasp the MVC concept yet?

Thanks

Lee

4 Answers

What about it seems like it does not follow the concept? Care to elaborate?

http://i.imgur.com/0feAC.jpg

http://blog.teamtreehouse.com/ios-design-patterns-model-view-controller-part-3-2

Lee Hardy
Lee Hardy
5,407 Points

Thanks for sending the links! When I'm looking at the code its that the data is being fetched within the class files of the view controllers, I was under the impression that this fetching/storing of data in arrays would need to go in a totally separate class file (model), and the view controller class files (controller) would then access this class in order to fetch the data. Or am I wrong, and parse.com is in fact the model?

Thanks for any pointers on this, I may be getting it totally wrong on MVC

Lee Hardy
Lee Hardy
5,407 Points

Thanks for the links, much clearer now

No problem. Its a learning process.