🔍 𝑅𝑒𝑣𝑒𝑟𝑠𝑒 𝐸𝑛𝑔𝑖𝑛𝑒𝑒𝑟𝑖𝑛𝑔 𝑁𝑆𝑉𝑖𝑠𝑢𝑎𝑙𝐸𝑓𝑓𝑒𝑐𝑡𝑉𝑖𝑒𝑤 by Oskar Groth
Ever wondered how macOS blur effects really work? This deep dive challenges assumptions, explores alternatives, and shares fascinating discoveries.
#macOS #AppKit
oskargroth.com/blog/reverse...
Some early screenshots of my all-new #PDXTransit for #macOS using mostly #SwiftUI and some #AppKit. 🤓🚌🚏
Experimenting with custom lists with custom selection styles to show a little pointer on the trailing side of the row. 😊 #appkit #swiftui #macOS
macOS desktop showing the Oliphaunt Mastodon client in light mode. Multiple app windows are arranged across the screen: a timeline window with a sidebar of Mastodon sections, a media viewer displaying a large photo of an orange and black bird, a conversation thread window and a composer window for writing a post. The macOS menu bar and Dock are visible with colourful system wallpaper in the background.
#Oliphaunt is now available on the App Store!
It’s a #Mastodon client built specifically for #Mac using #AppKit with some #SwiftUI. The goal was to make a well-behaved Mac application that follows the platform’s design language and adopts #macOS idioms.
App Store: apps.apple.com/app/id674552...
Proxygen v4.4.0 with a new Diff tool, JSON and XML path filtering, and a whole load of other fixes and improvements is now available at https://proxygen.app 🔬
I think we almost ready to go.
It's kinda funny seeing #Codex and #Cursor going "screw this I'm using #UIKit / #AppKit" when building
Like, I've explicitly told it to prefer #SwiftUI because that's more what I know (though I was certified in UIKit)
Not even the agents will stick to it
#Apple #SwiftLang #Developer […]
Oh, and I am really liking the way my little slide-out options bar is turning out! :) Far less intrusive than a modal view!
#SwiftUI #AppKit #PDXTransit
The cool thing about #AppKit is having all the nice draw override functions... like just drawing however the hell you want your NSSplitView divider to look like. 😄
It is kinda wild that Apple's Objective-C NSPasteboard API is a wrapper over a (private) CFPasteboard API, and there's an awkward Carbon-era C Pasteboard API in ApplicationServices that's also a wrapper over the same (private) CFPasteboard API, but that CFPasteboard API itself is not publicly […]
Added better keyboard navigation support to my Runestone fork. Now you can tab focus to an uneditable text view and move in it using arrow keys, page up/down and move to top/bottom.
I made a new page for my “Mario's macOS HIG” series! In this episode, we go over Sidebars on macOS. Check it out and let me know what you think!
(Note: It is much shorter than my other HIG pages.)
#macOS #HIG #SwiftUI #AppKit #UIUX
marioaguzman.github.io/design/sideb...
If you want to have a nice & subtle vertical gradient on your NSTableView headers for your Mac app (like this), you can use this code here. Note, this is for AppKit's NSTableView (not SwiftUI's Table). The standard look of table headers is boring. lol
#AppKit
gist.github.com/marioaguzman...
#SwiftUI on #macOS is finally at a point where I can perhaps ship my #PDXTransit re-write to replace the #AppKit version. :)
The iOS and watchOS SwiftUI versions are now shipping! :)
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
Decided to just use NSTableView from #AppKit for my #SwiftUI "only" Mac re-write of #PDXTransit since it's far more powerful than `Table`...
I just implemented a very essential feature in the notes app I'm building 😁
It's now possible to rearrange blocks by moving them up and down. Added two options to the context menu that appears when right-clicking a block: "Move Up" and "Move Down".
#dev #macOS #AppKit #Swift #SwiftUI
Screenshot of the HacKit macOS app running on a Mac desktop. The app shows a three-pane layout with a sidebar of Hacker News categories on the left, a list of top stories in the centre and the selected story with comments on the right. The interface uses a light theme with orange highlights. The macOS menu bar and Dock are visible, indicating the app is active on the desktop.
Today marks HacKit’s 5th anniversary. My first macOS app published on Friday 22nd January 2021. It is a #HackerNews reader written in #Swift using #AppKit with no #SwiftUI. The name HacKit is a portmanteau of Hacker News and AppKit.
Files and folders can now be relocated by drag and drop.
Would be cool to have an animation that shows the files being moved from one folder to another. Something I could work on in the future...
#dev #macOS #Swift #SwiftUI #AppKit
I have now finished implementing support for adding and removing note documents as bookmarks.
The user can simply right-click a note and then select the option called 'Bookmark'. #dev #macOS #AppKit #SwiftUI
Code block in notes app
I just finished implementing code blocks in my notes app 🚀 #dev #macOS #Swift #AppKit
🙋♂️ I’m interested in learning #AppKit (yes, not SwiftUI). I found Resources for learning Objective-C and AppKit by Jeff Johnson, which seems great. Does anyone have any other recommendations? 💽
For the past month or two, I've been working on some pretty complex logic to support caret navigation and text selections across multiple sequential `NSTextView`s in #AppKit.
I need this functionality for my block-based notes app, where each block lives inside its own text view. #dev
This article has been really helpful for me to learn how `NSTextView` works:
danielsaidi.com/blog/2022/06...
If you're new to #AppKit and need to build something that requires using text views, I'd recommend giving it a read.
This is unfortunately the case with many of the #AppKit APIs… There just aren't that many resources to be found, which makes learning AppKit much harder compared to, for example, web development (at least I personally found web dev much easier to learn).
Apparently, `NSTextAttachment` is very limited in what it can do. Simple things like opacity and scale hover effects aren't possible by default. That's a bummer... 😔
#dev #Swift #SwiftUI #AppKit
Proxygen 4.0 is now available with client app lookup and helper tool that automatically configures system HTTP/HTTPS proxy for traffic monitoring.
Mac app available at https://proxygen.app and iPhone & iPad apps at App Store.