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
Post a Comment