Frederik Handberg
banner
frederikhandberg.com
Frederik Handberg
@frederikhandberg.com
🇩🇰 23
💻 Studying for a degree in Software Engineering
📷 Freelance News Photographer
🪡 Learning to sew
- The pointer cursor does not show correctly when hovering the ellipsis button. It still shows the text selection cursor.
November 3, 2025 at 10:03 PM
Next tasks:

- Get images and videos working using `NSTextAttachment`.
- I also need to get the animation working when collapsing a heading, so that the text moves up and its opacity decreases.
November 3, 2025 at 10:03 PM
Now all blocks are displayed in the same textview, so selecting text across multiple blocks finally works 🚀
November 3, 2025 at 10:02 PM
I then thought, what if I could just use a single textview? I realized that using `NSMutableAttributedString` could be useful. I spent all of Sunday working on this, but I finally have a solution that seems pretty solid.
November 3, 2025 at 10:02 PM
I would’ve ended up spending a lot of time fixing basic things like text selection not working.
November 3, 2025 at 10:02 PM
Another problem was selecting text across multiple blocks. This isn’t possible by default either. I didn’t try to implement a custom solution for this, because I could already see that my approach of using separate textviews was flawed.
November 3, 2025 at 10:02 PM
This was causing issues with caret navigation using the arrow up and down keys. The reason was that the textviews weren’t connected in any way, so I had to implement a custom solution. It mostly worked, but the x-position was sometimes off by a few characters.
November 3, 2025 at 10:02 PM
The home tab also needs to be implemented. Right now, there’s just placeholder text. Still figuring out exactly what I want with it 🤔 #dev #Swift #AppKit
October 31, 2025 at 5:41 PM
Can't wait to begin working on the iPhone and iPad app, but there's still more to be done on the macOS version 💻

I still need to implemented the visual canvas functionality, which will be a major part of the app. I think it will be perfect for brainstorming and organizing notes.
October 31, 2025 at 5:40 PM
I think this should be fairly easy to fix. I probably just forgot to observe an `NSNotification`...
October 29, 2025 at 12:00 PM
This is unrelated to media and is more of a general issue: There's a problem with the 'Files' sidebar not updating/re-rendering when new files are imported. It just does not render the new files, so they are never displayed in the sidebar, unless the user quits and reopens the app.
October 29, 2025 at 12:00 PM
I should probably add an option in the context menu when right-clicking an image to make it a fullscreen image that fills the entire screen. Two more options I should add could be "Open image in new tab" and "Reveal in Finder".
October 29, 2025 at 12:00 PM
I also need to get fullscreen working. Basically, when double-clicking on an image, it should go into "fullscreen" - well, more like a popup with a blurry and dark background.
October 29, 2025 at 12:00 PM
Need to work more on videos (notice the black bars on top and bottom - they should be removed). When placing cursor on video and then swiping up and down, the video starts scrubbing which is annoying. Need to figure out how to disable that.

Resizing images and videos doesn't work.
October 29, 2025 at 12:00 PM
When importing media for the first time, an `/assets` folder is created in the root directory where all media is saved. Media files are reference by relative paths in the note documents.
October 29, 2025 at 11:59 AM
Next task: Implement functionality to delete blocks.

I also need to figure out how to show the text formatting options.
I see two options:
1. Either show a toolbar
2. Or show all the formatting options in a sidebar
October 26, 2025 at 7:51 PM
And 👇

- Improved caret navigation between blocks. It feels much more natural now because the app remembers the x-position, so the caret stays in the same place on the x-axis when moving between text blocks with the arrow keys up and down (not implemented for lists yet).
October 26, 2025 at 7:51 PM
I also fixed 👇

- Collapsible headings.
- Added a translucent background color when hovering blocks.
October 26, 2025 at 7:51 PM
What I have fixed:
- Indentation now works in lists. Using tab to indent and Shift+Tab to unindent.
- Deleting list items is now possible with backspace. If the item has text, it’s transformed into a normal text block. If empty, the list item is removed.
October 26, 2025 at 7:51 PM
- I need a local SQLite database. This will allow me to have super fast and efficient search functionality.
October 26, 2025 at 9:32 AM