• 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: Figuring out the file's owner class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Figuring out the file's owner class


  • Subject: Re: Figuring out the file's owner class
  • From: Ken Thomases <email@hidden>
  • Date: Tue, 27 May 2014 10:49:26 -0500

On May 27, 2014, at 10:23 AM, Mills, Steve wrote:

> On May 23, 2014, at 19:28:32, Ken Thomases <email@hidden> wrote:
>
>> I doubt it's possible to learn the design-time-specified class from the objects of the loaded NIB.  The technique you outline doesn't make sense.  The window from the NIB won't have a controller if the controller was File's Owner and you passed nil for the owner when you loaded the NIB.  You just told the NIB-loading machinery to connect the window to nothing.
>
> That doesn't seem to be the case, because it does work.

Then the window's controller is some real object in the NIB and not File's Owner.  If you're also using a window controller as the owner of the NIB when it's loaded, then you're doing something wrong.

Regards,
Ken


_______________________________________________

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: 
 >Figuring out the file's owner class (From: "Mills, Steve" <email@hidden>)
 >Re: Figuring out the file's owner class (From: Ken Thomases <email@hidden>)
 >Re: Figuring out the file's owner class (From: "Mills, Steve" <email@hidden>)

  • Prev by Date: Re: Figuring out the file's owner class
  • Next by Date: Re: Notification Center
  • Previous by thread: Re: Figuring out the file's owner class
  • Next by thread: Re: Figuring out the file's owner class
  • Index(es):
    • Date
    • Thread