Interesting blog post, but Nostr should have been mentioned in "Connecting with friends on the Web"


A Website To End All Websites | Henry From Online
How to win the war for the soul of the internet, and build the Web We Want.

My solution involved controlling the cursor on AppKit-level, as I needed more control than what SwiftUI offers.
Part of my solution involved overriding the function `cursorUpdate()` so that can control exactly when the cursor should update. I have a guard that returns early to avoid changing cursor if the hit view is the ellipsis button.
I also override the function `mouseMoved()` to constantly set `NSCursor.pointingHand()` whenever the mouse is moved over the button.
On a rare occasion, the cursor will flicker, but from my testing, this happens very rarely. #dev #AppKit #SwiftUI #macOS
View quoted note β
