• 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-using the same NIB on two owners
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re-using the same NIB on two owners


  • Subject: Re-using the same NIB on two owners
  • From: Daniel Luis dos Santos <email@hidden>
  • Date: Sun, 26 Jun 2011 16:16:55 +0100

Hello,

I have an application that has two windows. Each window is associated to a controller class. On one method of each class I load another NIB that has a subordinate window. That subordinate NIB has outlets and actions that should be associated to the loading class, so on the NIB I set the File's Owner to be of the class that loads it.

My problem is that I need to load the same NIB from two different classes, so the owner is different according to which class I load it from.
Is there another way to do it without the file's owner ? Subclassing the controller ?

Thanks for replying_______________________________________________

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

  • Follow-Ups:
    • Re: Re-using the same NIB on two owners
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: Animating handwriting
  • Next by Date: Re: Re-using the same NIB on two owners
  • Previous by thread: Re: Caching Streaming video
  • Next by thread: Re: Re-using the same NIB on two owners
  • Index(es):
    • Date
    • Thread