But the question I think is still valid and one I'm I'm trying to
figure out myself. How, for instance, would you have the view request
data from the document (or any other object for that matter). I
understand that it may not always be the best design choices but how
is it done? Posting notifications is about the only way I can think of
and perhaps sending self as the context info.

Ashley Perrien

How would you have a view request data from the documet ?

- You could use a Data Source like NSTableView and let the document instance be the Data Source (connected via File's Owner). - You could use NSViewController instances like NSCollectionView and give each NSViewController a pointer to a document. - You could send a message up the responder chain on the usually valid assumption that the right document instance will be in the responder chain.
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to