开发者

How to add custom views to the NSSplitView divider

开发者 https://www.devze.com 2023-03-15 05:26 出处:网络
What is the preferred approach to add custom views to the divider of a NSSplitView? Taken the divider XCode uses to separate the CodeView and the Debug-OutputView, how 开发者_运维知识库do i add custo

What is the preferred approach to add custom views to the divider of a NSSplitView?

Taken the divider XCode uses to separate the CodeView and the Debug-OutputView, how 开发者_运维知识库do i add custom controls / views to the divider? Do i have to create a view and handle the drag operations myself or is it possible to customize the divider?

thank you


I don't think Xcode adds subviews to the divider bar itself, they just set them to stay attached to the top edge of their superview.

0

精彩评论

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