• 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: Can a nib be confused about its owner?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can a nib be confused about its owner?


  • Subject: Re: Can a nib be confused about its owner?
  • From: "Hamish Allan" <email@hidden>
  • Date: Mon, 23 Jun 2008 01:29:36 +0100

On Mon, Jun 23, 2008 at 1:19 AM, John Murphy <email@hidden> wrote:

> Since the File's Owner "object" in a nib file is actually a proxy for an object that is provided at runtime, what happens if the nib is expecting NSApplication to be its File's Owner but you called for the nib to be loaded from inside your code using an instance of NSWindowController. Who wins?

NSWindowController wins. Setting the class of file's owner in IB just
lets it know which outlets etc. should be exposed.

Hamish
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Can a nib be confused about its owner? (From: John Murphy <email@hidden>)

  • Prev by Date: Can a nib be confused about its owner?
  • Next by Date: Re: unexpected nil outlet
  • Previous by thread: Can a nib be confused about its owner?
  • Next by thread: Error when building a Cocoa-Java app
  • Index(es):
    • Date
    • Thread