• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: link between classes using a class variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >link between classes using a class variable (From: Raff <email@hidden>)

  • Prev by Date: Re: Question about TableView - how do I know which tableView?
  • Next by Date: Re: Question about TableView - how do I know which tableView?
  • Previous by thread: link between classes using a class variable
  • Next by thread: FW: Re : NSString to xml?
  • Index(es):
    • Date
    • Thread