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

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

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -