开发者

In IB how do I place existing components inside a new SplitView?

I'm updating one of my Mac apps right now, and just discovered I need to place a SplitView behind all of my components. Is the only way to go about this the way I'm thinking? I need to move all components out of the current view and add a SplitView, then move ever开发者_StackOverflowything back in?


The components must be placed inside the split view. Using the document window in Interface Builder might alleviate some of the burden.

There’s a handy shortcut in Interface Builder for this operation: the Layout > Embed Objects In menu item. For instance, if you have two views and want to create an split view based on them, select them both and choose Layout > Embed Objects In > Split View.


And in XCode 4.1: Editor > Embed In > Split View

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜