• 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: Instance variable.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Instance variable.


  • Subject: Re: Instance variable.
  • From: April Gendill <email@hidden>
  • Date: Thu, 29 Jan 2004 22:54:06 -0700

In the words of the great Homer Simpson DOH!


Thanks
April.

On Jan 29, 2004, at 9:09 PM, Andreas Mayer wrote:

Am 30.01.2004 um 03:30 schrieb April Gendill:

I need to be able to access the already initialized instance of it. It is connected to the main controller in IB but the class I need to access it from is initialized as needed and no instance of it exists in IB since that would muck things up. Any way I need to be able to communicate with the existing instance and I am not sure how to gain a pointer to it.

Ask your main controller for it.

You can always get a reference to you application object (NSApp) and of course to it's delegate ([NSApp delegate]). Put an method in one of those that tells you what you need to know.


bye. Andreas.
_______________________________________________
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.
_______________________________________________
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: 
 >Instance variable. (From: April Gendill <email@hidden>)
 >Re: Instance variable. (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Re: Controlling control positions and size in a window
  • Next by Date: Drawing a selection rectangle
  • Previous by thread: Re: Instance variable.
  • Next by thread: difference between cocoa bundle and cocoa framework
  • Index(es):
    • Date
    • Thread