Re: link between classes using a class variable
Re: link between classes using a class variable
- Subject: Re: link between classes using a class variable
- From: Raff <email@hidden>
- Date: Thu, 6 Feb 2003 09:12:30 +0100
Le mercredi, 5 fiv 2003, ` 13:36 Europe/Paris, Raff a icrit :
This may be a silly question, but I didn't find anything about this.
well, that is a silly question.
To access the CTBar data (for (un)archiving), I have a CTSave static
class variable named 'barPointer' (class var because +initialize).
To establish the link with my CTBar instance, I declared barPointer as
an outlet, and linked it to CTBar in Interface Builder.
I realize that it is impossible because the outlet only connect
instances (CTBar has been instanciated in order to do that).
I suppose I'd better do an implementation of
"ApplicationWillFinishLaunching" in CTSave (NSApplication delegate),
and not of +initialize ?
_______________________________________________
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.