I’ve upgraded the toot composer in #Oliphaunt to use TextKit 2 and improved the custom emoji picker — it now appears right at the caret position! I’m really pleased with how this turned out.
I’ve upgraded the toot composer in #Oliphaunt to use TextKit 2 and improved the custom emoji picker — it now appears right at the caret position! I’m really pleased with how this turned out.
SwiftUI gurus.
How to make the shuffling of this code fast on macOS? It performs without a problem under iOS, but macOS is blocking the main thread for a long time.
I think it’s the underlying NSOutlineView that moves Views around. From what I can see, the only workaround is to totally invalidate the View with a different ID.
Were the haters right about SwiftUI?
#iosdev #macosdev #apple #swift #swiftui #indiedev
Out of curiosity…
For devs who are experimenting with the new macOS 26 changes, is it possible to opt out of the “unmoored” floating sidebar style with SwiftUI, or are you forced to use it?
I have a question for the seasoned macOS devs.
Looks like I’ll have to redesign Cork for this next release. How do I go about redesigning it, without having to drop older system versions? I really don’t want to implement the same feature twice, once for the old design, and once for the new design.
@swiftlang There should be a ‘macOS App’ button as well! Don’t forget macOS please! #macOS #macOSDev
I'm looking for people to try out a new version of Base, my SQLite editor for macOS.
If you'd like to give it a go, send me a private message with your email address (only used for TestFlight, no junk).
Boosts appreciated.
I'm pretty happy with writing for my current client in Objective-C. Looking back, I wonder what I would need to see it thrive in the future.
Maybe better enums, tuples, better structs and maybe a better async approach than blocks or delegates. Ah maybe also Generics, like Golang recently introduced.
#objectivec #swift #iosdev #macosdev
“Specifically, sunsetting our use of TCA and SwiftUI to make Dia lightweight, snappy, and responsive.”
Looks like the Browser Company moved away from SwiftUI. Personally I never used TCA but why does it lead to sluggishness?
#iosdev #macosdev #swift #swiftui
https://browsercompany.substack.com/p/letter-to-arc-members-2025
Custom notarisation has become a lot easier in the last couple of years. As a reminder to my future self, here are the steps to prepare for manually notarising an app:
#Xcode #Swift #iOSDev #macOSDev
https://iamkonstantin.eu/blog/preparing-certificates-for-notarisation/
I've been experimenting with mesh gradients in SwiftUI and wrote up what I learned. The post covers basic and more advanced setups, color adjustments, Bezier points, and color position animations: https://nilcoalescing.com/blog/MeshGradientsInSwiftUI/
#SwiftUI #iOSDev #macOSDev #Swift
#Oliphaunt is now available on #TestFlight.
You can try the macOS Mastodon client here: https://testflight.apple.com/join/Epq1P3Cw
Please note it’s a work-in-progress. I’d appreciate any feedback — feel free to share your thoughts here: https://github.com/anosidium/Oliphaunt-Feedback-And-Support
GRDB seems the way to go. Anyone got experience with shipping a custom SQLite build to load extensions?
https://github.com/groue/GRDB.swift/discussions/1591
Adding a custom font to a macOS app works a bit differently than on iOS, and it’s not particularly well documented. I wrote up the steps that worked for me, both as a reference for myself and in case it helps other developers looking to use a custom font in their Mac apps: https://nilcoalescing.com/blog/EmbeddingACustomFontIntoAMacOSAppBundle/
#macOSDev
jfc. I just noticed there's a promotedcontentd in macos? da fuq?
SwiftUI supports several scene types on macOS, and they each serve a different role, from managing multiple windows to adding menu bar functionality. I have a post that covers them all, and I often find myself referring back to it for a quick reference: https://nilcoalescing.com/blog/ScenesTypesInASwiftUIMacApp/
#SwiftUI #macOSDev
Excited to share that a podcast episode @leogdion and I recorded together, where we chat about my new book "SwiftUI Fundamentals", common SwiftUI misconceptions, and building iOS and macOS apps, is now live: https://brightdigit.com/episodes/197-swiftui-fundamentals-with-natalia-panferova/
#SwiftUI #iOSDev #macOSDev
SwiftUI lists and tables on macOS struggle with large datasets, prompting me to design a custom scrollable list view with efficient view recycling for optimal performance. Details in my latest post:
https://nilcoalescing.com/blog/CustomLazyListInSwiftUI/
#SwiftUI #macOSDev #iOSDev