在Mac应用程式(包含版面)中建立侧栏 [英] Create sidebar in mac app with sections

查看:201
本文介绍了在Mac应用程式(包含版面)中建立侧栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的一个mac应用程序中创建一个侧边栏。



这是我基本上想要重新创建的图片:





我无法弄清楚显示部分(收集,焦点和活动项目)以及如何让某些项目总是显示(收件箱,今天,下一个等等),最后我真的很感激,如果有人会解释如何使活动



此外,我需要活动项目部分从实体加载核心数据。


解决方案

Apple的SourceView示例应该对此有帮助:



苹果示例


I want to create a sidebar in one of my mac applications. Basically it will look much like the Things sidebar.

Here is the picture that I basically want to recreate:

I can't figure out how to show the "sections" (collect, focus and active projects) and how to have certain items always show up (inbox, today, next, etc...) and finally I would really appreciate if someone would explain how to make the active projects section, with the triangle.

Also I need the active projects section to load from an entity in core data.

I would also really appreciate if you could post an example.

解决方案

Apple's "SourceView" sample should be helpful with this:

Apple Example

这篇关于在Mac应用程式(包含版面)中建立侧栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆