Worked on a color picker today for my notes app.
It's fully functional, except for the alpha/opacity slider. After that's implemented, I'll work on making the UI look nice.
#dev #macOS #Swift #SwiftUI #AppKit
The alpha/opacity slider is now working.
I’ve been spending today on implementing Markdown support. Made some good progress.
I’ll wait a bit with finishing the UI of the color selector. Tbh I think it looks okay. Just the swatches that could use some work, but otherwise, I think it’s fine.
First version of my Markdown implementation will support “Source” and “Live Preview” mode.
Source mode is simply pure Markdown. All the syntax: **bold**, [[links]], # headings, etc. is visible.
Live Preview hides all the syntax and turns the Markdown editor into more of a WYSIWYG.
Eventually, I’ll implement a similar live preview functionality as in Obsidian, where the syntax is only temporarily displayed when placing caret inside a range of text with styling applied. This is no easy task, which is why I’m not going to work on that any time soon.