• 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: Andreas Mayer <email@hidden>
  • Date: Fri, 30 Jan 2004 05:09:27 +0100

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.

  • Follow-Ups:
    • Re: Instance variable.
      • From: April Gendill <email@hidden>
References: 
 >Instance variable. (From: April Gendill <email@hidden>)

  • Prev by Date: Re: Help with NSMatrix (for displaying images from iPhoto)
  • Next by Date: Updating the Desktop
  • Previous by thread: Instance variable.
  • Next by thread: Re: Instance variable.
  • Index(es):
    • Date
    • Thread