MainMenu and NSDocument problems
MainMenu and NSDocument problems
- Subject: MainMenu and NSDocument problems
- From: Darren Ford <email@hidden>
- Date: Thu, 2 Oct 2003 22:37:45 +1000
Hi all,
I have a small project that I'm working on, based on a multiple
document interface (the first I've attempted).
I'm attempting to write the document out to a file by overriding
writeToFile: in my NSDocument-based (iSDocument) class. The callback
to the Save menu is intercepted in my iSDocument class correctly,
however I'm finding that the values of my member variables in the class
(specifially NSTextField items) are all nil pointers.
These pointer values are fine when eg. I click a button on my
interface and enter an action method, however when I go through the
Save menu item they all appear as nil.
Is there something that I haven't hooked up properly in my
MainMenu,nib file?
Thanks -- Darren.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.