• 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: 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]

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


  • Subject: Re: IB - Way to copy objects from one NIB instance to another and keep the actions/outlets?
  • From: Fritz Anderson <email@hidden>
  • Date: Mon, 27 Aug 2007 13:52:16 -0500

On Aug 27, 2007, at 1:07 PM, Jim Witte wrote:

I was trying to modify the EnergySaver bundle to put the 'Schedule window' stuff into it is own tab of the main window.

This sounds like a good way to damage an important system utility, but let it pass.


All the Schedule stuff is in a separate NSPanel instance, but if I try to copy the objects from [there] to the main window (NSWindow), the objects copy but all the actions and outlet connections are lost. Is this the way things *should* work,

Yes.

or a bug,

No.

or is there a workaround.

Yes, in some instances. Select the items of interest, hold down the mouse button until the items show a deeper shadow, and drag them to your intended destination.


That is how you move things within a NIB without breaking connections.

I think you should not attempt this, as you have no idea whether (for instance) the workings of that bundle depend on the exact view hierarchy of its panel.

	— F

_______________________________________________
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: 
 >IB - Way to copy objects from one NIB instance to another and keep the actions/outlets? (From: Jim Witte <email@hidden>)

  • Prev by Date: Re: Way to add key-equiv to the tab of a tab-group?
  • Next by Date: Re: Placing a spotlight importer into a Applications bundle
  • Previous by thread: IB - Way to copy objects from one NIB instance to another and keep the actions/outlets?
  • Next by thread: Question about static members of templated classes.
  • Index(es):
    • Date
    • Thread