• 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: Inserting a parent item in a splitview pane?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IB: Inserting a parent item in a splitview pane?


  • Subject: IB: Inserting a parent item in a splitview pane?
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 3 Jul 2008 10:17:05 -0700

Every once in a while I run into the following frustrating situation in IB: I have a UI with an NSSplitView, and one of the panes is a content view like an NSTableView. I later decide that I need to add another view inside that pane, like a button or a label. But I can't find a way to do this. There'd have to be a container view in the hierarchy between the splitview and the tableview, to add the new view as a child of, but there's no command to do this.

The only workaround I've found is to use Unembed Objects to get rid of the splitview, then add the button, embed it and the table in a customview or box, then use Embed Objects again to recreate the splitview. But this is kludgey and tends to mess up the layout. There must be a better way?

—Jens

[This is on Leopard. If there are any new tricks in IB 3.1, you can email me off-list to avoid NDA issues.] _______________________________________________
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: Inserting a parent item in a splitview pane?
      • From: "Adam R. Maxwell" <email@hidden>
    • Re: IB: Inserting a parent item in a splitview pane?
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: Came back to this mailing list.. continuation of Re: [Q] Is the 10.4u SDK distributed for the Intel Mac and the PPC Mac different?
  • Next by Date: Re: Interesting preprocessor code behavior
  • Previous by thread: Came back to this mailing list.. continuation of Re: [Q] Is the 10.4u SDK distributed for the Intel Mac and the PPC Mac different?
  • Next by thread: Re: IB: Inserting a parent item in a splitview pane?
  • Index(es):
    • Date
    • Thread