Does anyone know how to navigate between preference panes of apps on macOS using the keyboard?
I tried to highlight the toolbar buttons and moving the focus works, but selecting the focused pane by, e.g., pressing Space only gives the error sound.
Seems like an obvious thing to do...
Ever wondered how macOS blur effects really work under the hood? This fascinating reverse engineering journey challenges assumptions about 𝑁𝑆𝑉𝑖𝑠𝑢𝑎𝑙𝐸𝑓𝑓𝑒𝑐𝑡𝑉𝑖𝑒𝑤, explores alternatives, and shares great discoveries along the way.
🔗: https://oskargroth.com/blog/reverse-engineering-nsvisualeffectview by Oskar Groth (@oskargroth)
I wanted a more interesting selection state for my app. Initially I wanted the highlight to be pointy on the right side so you know data & details flow to the right.
But my friend @tuomas_h (always challenging me to something better) suggested a little triangle tab pointing from the details to the selected row.
Through illusion, I got it to work using NSSplitViewController without doing something gross or abusing AppKit. The little arrow tab even follows on scroll! 😄
I’m excited to share that Oliphaunt is now available on the App Store!
It’s a Mastodon client built specifically for the Mac using AppKit with some SwiftUI. The goal was to create a well-behaved Mac application that follows the platform’s design language, adopts macOS idioms and feels natural to Mac users, rather than being a scaled-up iOS port, cross-platform app or anything else.
App Store: https://apps.apple.com/app/id6745527185
#Oliphaunt #Mac #macOS #OSX #AppKit #Swift #SwiftUI #Fediverse #Mastodon
RE: https://mastodon.social/@fhe/114935753524661168
It's fixed in macOS Tahoe 26.4 Beta 3 🙌 There is hope!
I'm using my own NSWindowController with a SwiftUI view as the root view of an NSWindow, and I'm trying to figure out how to use @Environment (or something else) to change a value in the NSWindowController and let the SwiftUI view act accordingly.
The window does work and displays properly, but I can't figure out how to change the state from within my NSWindowController update method.
If anyone has any tips I'd be appreciative.