Re: set***Value: Method not working
Re: set***Value: Method not working
- Subject: Re: set***Value: Method not working
- From: Jeremy Dronfield <email@hidden>
- Date: Sun, 30 Jun 2002 22:47:34 +0100
On Sunday, June 30, 2002, at 09:43 pm, email@hidden wrote:
1) You did tell IB to create an Instance of SRControls in your
MainMenu.nib right?
Yes.
If all you need is to get the app delegate somewhere else (like in your
awakeFromNib of somewhere else..
the [ NSApp delegate ] call will do that for you..
You can then store it in an instance var in your SRBookmarkController ..
As in sRControls = [NSApp delegate] ? If so, I've tried it, and it
doesn't work. If not, could you tell me how it should be stated?
Is this document based btw? I.e. is this a document type w/ a class who
overrides NSDocument ??
No, it isn't. There has to be a simple and obvious answer to this
problem. Passing a variable from one class to another is such an obvious
thing to need to do, I must be missing something on a par with "your
computer won't work because you haven't pressed this button here that
says ON".
-J.
_______________________________________________
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.