Major fire at a summer house in 7130 Juelsminde #press
I just finished implementing code blocks in my notes app 🚀 #dev #macOS #Swift #AppKit image
Building a simple todo list app for fun. Taking a break from the notes app. The #Markdown rendering is difficult, as I can’t just render HTML. I mean, technically I could. Nothing is preventing me from using a `WKWebView`, but I don’t want that. I want the app to be completely native, and embedding a small website in the app isn’t really native… Now I’m developing a little todo app. Need to add dates for deadlines, implement searching, functionality to edit and delete - I think that should be it. Perhaps make a menu bar app for it as well. It’s really just a project I’m doing for fun to improve my Swift skills. The notes app was the first real Swift app I’ve ever worked on, and it’s super hardcore to build (mostly because of Markdown rendering), so not exactly an ideal first project. This todo app is much simpler. #dev #Swift #macOS
I had underestimated how much SVG code it takes for a QR code. It was simply not practical to inject the SVG code directly into the `<script>` tag like `data-qr-code="data:image/svg+xml;base64,…”`. Especially because the `<script>` tag is something clients will be using, it looks rather unprofessional to have a ton of lines of code just for a QR code. Instead, I opted to use an API called `QRServer` to show QR codes on clients’ websites. When clients use the widget creator, I don’t use the API. Instead, I generate the QR codes locally using an NPM package called `qrcode-generator`. The QR code updates in real time as the user types their URL, which would put unnecessary strain on the API - that’s why I generate the QR codes locally. #dev View quoted note →