我在哪里可以找到“可折叠面板” Interface Builder 中的可可控件?

发布于 2024-08-28 09:03:02 字数 257 浏览 5 评论 0原文

我正在尝试将可折叠面板添加到我在 Interface Builder 中添加的面板,类似于 Office 2008 和 XCode 本身中的面板。

对于那些不知道的人来说,这是可折叠面板:

OS X 可折叠面板 http://grab.by/3Hqv< /a>

知道如何将其添加到我的项目中吗?谷歌并没有提供太多帮助。

I'm trying to add a collapsible panel to a panel I added in the Interface Builder, similar to the one found in Office 2008 and XCode itself.

This is the collapsible panel for those that don't know it:

OS X collapsible panel http://grab.by/3Hqv

Any idea how I can add this to my project? Google hasn't been of much help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

此刻的回忆 2024-09-04 09:03:02

这通常被称为“公开视图”或“公开面板”,并且通常必须带有智能容器视图(通过多个公开子视图正确地增长/缩小/滚动)。 API 中不存在此类控制。大多数开发人员都自行开发,而有些开发人员则使用第三方开源。

Omni Framework 有一个这样的控件,效果非常好(包括“撕下”面板,等等,如果我没记错的话)。缺点:它是一个很大的框架,并且里面还有很多其他东西。

InspectorKit 是另一个。它更加集中(只是控件本身和 IB 插件),但我测试的最后一个版本确实存在一些 Interface Builder 插件的 UI 问题。

This is most often referred to as a "disclosure view" or "disclosure panel" and usually has to come with an intelligent container view (that grows/shrinks/scrolls correctly with multiple disclosure subviews). There is no such control as part of the API. Most developers roll their own while some use third-party open source.

The Omni Frameworks have one such control that works very well (including "tear-off" panels, etc., if I recall correctly). The drawback: it's a large framework and has a lot of other stuff in it as well.

InspectorKit is another. It's more focused (just the control itself and an IB plugin), but the last incarnation I tested did have a few UI issues with the Interface Builder plugin.

戴着白色围巾的女孩 2024-09-04 09:03:02

我还编写了一个处理此问题的框架: SFBInspectors

I've also written a framework for handling this: SFBInspectors

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文