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 protected])

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 [email protected]

Reply via email to