Create a sidebar in a Mac application with partitions

I want to create a sidebar in one of my mac apps. Basically it will be similar to the Things sidebar.

Here is the picture I basically want to recreate:

screenshot

I can’t understand how to show “sections” (collection, focus and active projects) and how to always show certain elements (incoming, today, next, etc.), and finally, I really appreciate if someone explains how to make a section of active projects, with a triangle.

I also need a section of active projects to load from the object in the master data.

I am also very grateful if you can post an example.

+4
source share
3 answers

An Apple SourceView sample should be helpful with this:

Apple example

+5
source

PXSourceList is an open source subclass of NSOutlineView specifically designed to emulate what you hosted. I used it in a number of projects, and it is very easy and flexible to use. I highly recommend it.

+2
source

In the active projects section, there is probably only 1 NSOutlineView column with no column heading.

+1
source

Source: https://habr.com/ru/post/1313934/


All Articles