在Mac应用程式(包含版面)中建立侧栏 [英] Create sidebar in mac app with sections
问题描述
我想在我的一个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:
这篇关于在Mac应用程式(包含版面)中建立侧栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!