• 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
IB - Way to copy objects from one NIB instance to another and keep the actions/outlets?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IB - Way to copy objects from one NIB instance to another and keep the actions/outlets?


  • Subject: IB - Way to copy objects from one NIB instance to another and keep the actions/outlets?
  • From: Jim Witte <email@hidden>
  • Date: Mon, 27 Aug 2007 14:07:55 -0400

  I'm working with IB 2.5.3 (443) on Intel.

I was trying to modify the EnergySaver bundle to put the 'Schedule window' stuff into it's own tab of the main window. All the Schedule stuff is in a separate NSPanel instance, but if I try to copy the objects from their to the main window (NSWindow), the objects copy but all the actions and outlet connections are lost. Is this the way things *should* work, or a bug, or is there a workaround.

I'm just guessing, but it might be that for the outlets/actions to be retained, the NSPanel needs to know about the scheduleController object. But if that's the case, there's no way that I can see to connect a controller object to a view object so that one 'knows' about the other's instances/methods (and so can find the correct links) except by actually making the links from objects to controller methods.

Jim
_______________________________________________
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


  • Follow-Ups:
    • Re: IB - Way to copy objects from one NIB instance to another and keep the actions/outlets?
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: RE: Xcode default "Install Permissions", clean "permission denied"
  • Next by Date: Question about static members of templated classes.
  • Previous by thread: Re: Way to add key-equiv to the tab of a tab-group?
  • Next by thread: Re: IB - Way to copy objects from one NIB instance to another and keep the actions/outlets?
  • Index(es):
    • Date
    • Thread