i read mvc , looked @ couple tutorials. when start new iphone project , make windowbased , call project basic. basicappdelegate.h, basicappdelegate.m , mainwindow.xib
in example mainwindow.xib v in mvc view. create new class uiviewcontrollersubclass , call lets firstpage. created firstpage.h, firstpage.m , firstpage.xib
firstpage act appcontroller? or maybe better name firstpageappcontroller. this c in mvc since controller.
lost m in mvc. read , have seen says model , view never talk each other directly talk controller. sample have see people write code in appcontroller , view talks controller? there no m in mvc? vc.l or appdelegate controller?
in youtube video standford university, writing code in appdelegate http://www.youtube.com/watch?v=zkogbuela8e&feature=relmfu , using mainmenu.xib add sliders, buttons , on? confused?
well, question how storing , manipulating whatever data application works with? maybe have separate classes that, in case model. maybe need plain nsarray, in case deal directly in controller class , array model. appdelegate , call "firstpageappcontroller" (whose name should firstpageviewcontroller) both act controllers.
Forums iPhone, iPad, and iPod Touch iOS Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
Comments
Post a Comment