• 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: Replacing views in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replacing views in IB


  • Subject: Re: Replacing views in IB
  • From: Chris Eplett <email@hidden>
  • Date: Sat, 15 Apr 2006 06:13:07 -0400

Hi Greg,

I'm not entirely sure from your description, but it sounds like what you want is the "Unpack subviews" command in the layout menu. When invoked on an NSView/NSBox/etc which contains subviews, it deletes the parent view an moves its subviews up in the hierarchy (it's the reverse of the "Make subviews of..." commands).

Hope this helps,
Chris Eplett

On Apr 15, 2006, at 5:35 AM, Greg Hoover wrote:

Is it possible to replace a view in interface builder with another view? I know you can do this programmatically, but if you end up with nested subviews that you no longer need, it would be useful to be able to select a subview and make it replace its parent view, without having to recreate the whole thing.

Thanks.
-GH
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Replacing views in IB (From: Greg Hoover <email@hidden>)

  • Prev by Date: Re: Progress bar on front NSPanel is grey not blue??
  • Next by Date: action on unmodified keyboard shortcuts
  • Previous by thread: Replacing views in IB
  • Next by thread: action on unmodified keyboard shortcuts
  • Index(es):
    • Date
    • Thread