IB connections with view swapping?
IB connections with view swapping?
- Subject: IB connections with view swapping?
- From: Oftenwrong Soong <email@hidden>
- Date: Thu, 20 Aug 2009 10:39:24 -0700 (PDT)
Hi all,
My document-based app will use view swapping, allowing the user to navigate through multiple "screens" like a wizard of sorts. I am putting each view in a separate nib and using NSViewController. View swapping is working. Now I need to make connections between these views and my model.
The nib file's owner is the view controller, not MyDocument. Is it best to bind to my model via the view controller's representedObject?
Also I'll need a few Target/Actions. Should I subclass NSViewController, put the actions in the subclass, and then forward them to MyDocument? Or is there a nicer way?
Thanks,
Soong
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden