When to have uiview.h/m along with viewcontroller.h/m
So I am really confused about when to have 'xyz' view.h/m and when to have 'xyz'viewcontroller.h/m. What is the exact difference between a view controller class file and uiview class file. From my understanding mostly the IB actions/outlets are declared and implemented in the controller files, but in some apple's sample code it is declared in mainview class file (the metronome sample code).
What is it that i can or cannot do in a viewcontroller class file that i can/can't do in the uiview class file?
Any explanations will help a lot.
Thanks
|