cocoa touch - Why can't new ObjC classes descend from UIViewController? -


so, i've been making ios apps since first ipod touch came out, has flabbergasted me; why list of new cocoa touch classes restricted subclasses of nsobject, uiview, , uitableview? routinely make subclasses of uiimageview , uiviewcontroller.

am "doing wrong™?" have totally misunderstood mvc point make controller classes shouldn't? philosophical reasoning requiring classes never descend basic controller class?

like @themikeswan says, there aren't gui templates when create new class in xcode gui. can create new subclass parent nsobject. after that, go code , change parent class whatever like.

so... no, not doing wrong in sense rightly understand want subclass uiviewcontroller; yes, doing wrong since assume shouldn't because xcode gui not support :)


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -