Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 2.17 KB

README.md

File metadata and controls

29 lines (16 loc) · 2.17 KB

Slipbox

To setup this project you need to have a paid developer account, because the project is using Core Data with iCloud sync. Go to project settings under target / signing & capabilities and add team. You also will need to create a iCloud container under the iCloud capabilities.

Zettelkasten

The app is a note taking system invented by a German sociologist Lukas Luhmann. You can find more information on the Zettelkasten here: https://zettelkasten.de

Screenshot 2020-12-21 at 15 57 45

When you open the application, you get one window with a toolbar and 4 columns. You can create more windows under the menu Window / new Window. The app uses a AppDelegate. So we don't get support for the .toolbar modifiers, which work with windowgroup. The toolbar is coded with a NSToolbar (in the project under SlipboxApp / main window). There are 3 toggles in the toolbar to show/hide the keyword column, folder column and notes column.

You can create new keywords, folder and notes. All elements support drag and drop, so you can drag a keyword to a note to add it. You can drag a note to another note to create a link between these two notes.

Linked notes appear in the lower part of the note editor area. You can right click on a link and have the option to open the link in a new note.

Screenshot 2020-12-22 at 19 40 45

The project organization has a shared folder, which has mainly the Core Data model and model extension files. The shared folder is added to the macOS and iOS target. I did not add much code for iOS yet, but it will run and show a basic NavigationView.

You can see the use of FetchRequest in the Note Group in the NoteListView. The initializer uses a NSPredicate to find all the notes of this folder. A more advanced fetch is in the NavigationStateManager.

Screenshot 2020-12-22 at 19 45 02