• 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: Question about outlets and actions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about outlets and actions


  • Subject: Re: Question about outlets and actions
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 08 Jun 2014 10:08:15 -0700


On Jun 8, 2014, at 9:41 AM, William Squires <email@hidden> wrote:

 But how does this work? A header file is just a plain text file with a ".h" extension, how can any outlets actually connect to it? Is it storing it in file metadata? Just curious.

It adds an annotation to the nib file, saying that the named instance variable* of the nib’s owner should be set to point to that control when the nib is loaded.

—Jens

* or property, if you wire the control to a property instead of an ivar
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Question about outlets and actions (From: William Squires <email@hidden>)

  • Prev by Date: Question about outlets and actions
  • Next by Date: File's owner in nib file
  • Previous by thread: Question about outlets and actions
  • Next by thread: File's owner in nib file
  • Index(es):
    • Date
    • Thread