oops. I accidentally replied directly to the excellent chap who helped
me out...
Just so nobody wastes any time answering this again --
NSDocumentController did the trick!
J.
On 17-Jul-08, at 2:21 PM, Jeff C wrote:
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 (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/jeffc3%40earthlink.net
This email sent to [EMAIL PROTECTED]
_______________________________________________
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]