NSDocumentController has what you're looking for.
Check out the routines -documents and -currentDocument.
On Jul 17, 2008, at 5:14 PM, James Maxwell wrote:
Sorry folks, but there are things about IB that just don't make
sense to me.
How on earth to I communicate with an object that has been
instantiated by Interface Builder???
I have a document-based app, and an AppController instantiated in
IB. The AppController needs a reference to the document. If I can
get that far, everything else I need to do should be straightforward.
I know this should be simple, but it just isn't obvious to me. Help!
...and thanks in advance.
J.
_______________________________________________
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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden