On May 18, 2011, at 9:12 PM, Shawn Erickson wrote:

> initWithNibName:bundle: instantiates a unique object graph from the
> objects serialized in the xib each time it is called. This object
> graph is connected with the files owner as defined in your xib. I
> assume the QuadNViewController class have a common base class with the
> actions and outlets defined that your QuadViewiPad expect and that
> class is setup as the class for the files owner.
> 
> So nothing prevents what you are doing but as Luke pointed out some
> assumptions exist the could be problematic for you outside of your
> xib/nib question.
> 
> You could always instantiate a xib (nib) yourself without using a
> UIViewController subclass and still follow the model you are thinking.

Thanks Shawn. I'm an iOS newb, so I realize I shouldn't try to force things to 
work "my" way, to "fight the framework". For the first go, I've taken Luke's 
advice and used a single view controller for now. This approach has the 
redeeming quality that it works! Once I get all the requirements implemented in 
my initial release, I'll have a better understanding of the dynamics of iOS and 
can then go back and refactor/rearchitect things to make it more elegant. It's 
an iterative learning process, quite fun actually!

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to