manton
manton

Regretting my new attempt with SwiftUI for Mac apps. My gut said stick with AppKit but I was sucked into the ease of bootstrapping a new app. Lots of paper cuts, now seriously considering wrapping NSTableView to replace List.

|
Embed
Progress spinner
s3th.me
s3th.me

@manton Ouch!

|
Embed
Progress spinner
jimhull.blog
jimhull.blog

@manton So for those new to it, you would suggest no SwiftUI?

|
Embed
Progress spinner
In reply to
manton
manton

@jimhull.blog For iOS, SwiftUI seems great. For Mac, I'm not convinced yet.

|
Embed
Progress spinner
lmika
lmika

@manton The allure of quickly bootstrapping new apps is always how they get ya. 😀

|
Embed
Progress spinner
isaiah@mastodon.social
isaiah@mastodon.social

@manton its fine for toy apps and demos. but you hit the limitations pretty quick.

|
Embed
Progress spinner
collin@ruby.social
collin@ruby.social

@isaiah @manton it’s pretty good on iOS now. I haven’t tried it on macOS in a while, but last time I did, it was rough.

|
Embed
Progress spinner
isaiah@mastodon.social
isaiah@mastodon.social

@collin @manton i **almost** used some recently.

a friend gave me a fully working feature for my app. it worked great, did everything i needed, and because it was in its own window it could coexist easily.

but it relied on lots that had only recently been added. i i could limit support to Sonoma+ I would have kept it. But in the end I replaced it with AppKit.

|
Embed
Progress spinner
chrisvanbuskirk.bsky.social
chrisvanbuskirk.bsky.social

@manton He hasn’t stated the problem, but I suspect it’s performance of the list, which has been spoken of time immemorial.

|
Embed
Progress spinner
chrisvanbuskirk.bsky.social
chrisvanbuskirk.bsky.social

@manton He hasn’t stated the problem, but I suspect it’s performance of the list, which has been spoken of time immemorial.

|
Embed
Progress spinner
lucaspuskaric
lucaspuskaric

@manton we found the same thing at my enterprise job... we have new code and legacy code and it was just a huge issue both skill gap and reusing old stuff

|
Embed
Progress spinner
stuarticus.bsky.social
stuarticus.bsky.social

@manton

List performance is rubbish when using SwiftUI on the Mac. Using a single column Table solved my performance problems.

developer.apple.com/documentatio...

|
Embed
Progress spinner
stuarticus.bsky.social
stuarticus.bsky.social

@manton List performance is rubbish when using SwiftUI on the Mac. Using a single column Table solved my performance problems.

developer.apple.com/documentatio...

|
Embed
Progress spinner