• 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: Accessing objects in a nib file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing objects in a nib file


  • Subject: Re: Accessing objects in a nib file
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Wed, 2 Jul 2003 19:01:53 +0200

At 18:11 Uhr +0200 02.07.2003, Daniel Aarno wrote:
What is the best way to access an object (instance) in a nib file?

Say I have a window in the nib file and I want to get a pointer to that window object, how is it done?

From where do you want to access it? If the accessing instance is also in the NIB, just use an IBOutlet and connect it to the other object in IB and you get your pointer for free. Same goes for cases where the "owner" of the NIB ("File's Owner" needs to have that pointer.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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: Accessing objects in a nib file
      • From: Daniel Aarno <email@hidden>
References: 
 >Accessing objects in a nib file (From: Daniel Aarno <email@hidden>)

  • Prev by Date: Re: Static vs. Dynamic typing
  • Next by Date: Re: Accessing objects in a nib file
  • Previous by thread: Accessing objects in a nib file
  • Next by thread: Re: Accessing objects in a nib file
  • Index(es):
    • Date
    • Thread