#macosdev — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #macosdev, aggregated by home.social.
-
The Apple that provides a suggested SF Symbol name for weather conditions in a WeatherKit daily forecast response is awesome.
Trivial to create a nice UI with the correct symbol.
The Apple that does not provide the same image info for a current conditions response is less than awesome.
Sometimes I can think of reasons for things I don’t like. In this case I am stumped.
-
Along with photos of your visits, weather info is coming to Peakist, my peak bagging app for Apple devices.
Should help planning those hikes.
Still work to do but the bones are here
-
Spent an hour debugging an issue where I was unable to fetch weather data via WeatherKit in my app.
Someone forgot that when you add the WeatherKit Capability to your app id in the dev portal you also need to add WeatherKit under App Services.
It’s me, I'm someone. Don't be me.
(seems like Xcode could deal with this as long as it's already managing certs)
-
Thanks to @kbell for inviting me to post a long form rant for May’s Swift Blog Carnival. I rarely need to be asked twice to complain. This was kind of cathartic
Hanging on the Promise of SwiftUI: https://pmcconnell.micro.blog/2026/05/18/hanging-on-the-promise-of.html
-
Thanks to @kbell for inviting me to post a long form rant for May’s Swift Blog Carnival. I rarely need to be asked twice to complain. This was kind of cathartic
Hanging on the Promise of SwiftUI: https://pmcconnell.micro.blog/2026/05/18/hanging-on-the-promise-of.html
-
Thanks to @kbell for inviting me to post a long form rant for May’s Swift Blog Carnival. I rarely need to be asked twice to complain. This was kind of cathartic
Hanging on the Promise of SwiftUI: https://pmcconnell.micro.blog/2026/05/18/hanging-on-the-promise-of.html
-
Thanks to @kbell for inviting me to post a long form rant for May’s Swift Blog Carnival. I rarely need to be asked twice to complain. This was kind of cathartic
Hanging on the Promise of SwiftUI: https://pmcconnell.micro.blog/2026/05/18/hanging-on-the-promise-of.html
-
Thanks to @kbell for inviting me to post a long form rant for May’s Swift Blog Carnival. I rarely need to be asked twice to complain. This was kind of cathartic
Hanging on the Promise of SwiftUI: https://pmcconnell.micro.blog/2026/05/18/hanging-on-the-promise-of.html
-
Raycast v2 is now a WebView based app. Little bit unexpected. Luckily I'm a loyal @launchbar user anyway.
#macos #macosdevhttps://www.raycast.com/blog/a-technical-deep-dive-into-the-new-raycast
-
There is definetly a special sauce about how Daft Music will handle the background color. Look.
I probably took the most complicated example to demonstrate it. Especially since both examples are in Dark mode and Apple Music just overwrites it.
#iosdev #buildinpublic #liquidglass #applemusic #macosdev -
There is definetly a special sauce about how Daft Music will handle the background color. Look.
I probably took the most complicated example to demonstrate it. Especially since both examples are in Dark mode and Apple Music just overwrites it.
#iosdev #buildinpublic #liquidglass #applemusic #macosdev -
There is definetly a special sauce about how Daft Music will handle the background color. Look.
I probably took the most complicated example to demonstrate it. Especially since both examples are in Dark mode and Apple Music just overwrites it.
#iosdev #buildinpublic #liquidglass #applemusic #macosdev -
There is definetly a special sauce about how Daft Music will handle the background color. Look.
I probably took the most complicated example to demonstrate it. Especially since both examples are in Dark mode and Apple Music just overwrites it.
#iosdev #buildinpublic #liquidglass #applemusic #macosdev -
There is definetly a special sauce about how Daft Music will handle the background color. Look.
I probably took the most complicated example to demonstrate it. Especially since both examples are in Dark mode and Apple Music just overwrites it.
#iosdev #buildinpublic #liquidglass #applemusic #macosdev -
Some of the tiny things I added. A slight delay before showing the animated artwork.
#indiedev #iosdev #liquidglass #buildinpublic #macosdev #ux -
Although I'm not sure if I will bring this feature to the macOS app of Daft Music.
#iosdev #buildinpublic #applemusic #liquidglass #macosdev -
#Xcode should have a way to override the preview compile timeout for complex setups.
I was trying to build a ModelContainer with a few photos and it takes longer than the allotted 5 seconds so it doesn’t work.
I found ways around it but that 5 seconds is arbitrary and could be adjustable.
Normally I want instant previews but this is “quicker" way to set up a complex environment repeatedly.
I suppose I could buy a new Mac Studio to speed things if that were possible.
-
Some of the tiny things I added. A slight delay before showing the animated artwork.
#indiedev #iosdev #liquidglass #buildinpublic #macosdev #ux -
Some of the tiny things I added. A slight delay before showing the animated artwork.
#indiedev #iosdev #liquidglass #buildinpublic #macosdev #ux -
Some of the tiny things I added. A slight delay before showing the animated artwork.
#indiedev #iosdev #liquidglass #buildinpublic #macosdev #ux -
Some of the tiny things I added. A slight delay before showing the animated artwork.
#indiedev #iosdev #liquidglass #buildinpublic #macosdev #ux -
An #introduction post.
Hi, I'm Marty. I'm an #introverted #actuallyAutistic developer from Adelaide, South Australia. I started playing with electronics in the early '70s, built my own computers during the late '70s and early '80s, and have been programming ever since.
These days I do a lot of iOS, macOS, and Android programming. Along with my son, I'm building an iOS game, a macOS weather app, and lots of internal-only projects.
I was previously @marty.
-
If you have a #SwiftUI List/Grid and you are iterating over Model objects using id: \.self you may encounter a duplicate key in dictionary error resulting in a crash.
Changing to id: \.id or removing the id parameter entirely should resolve this issue.
for example:
forEach(photo, id: \.self) *boom*
forEach(photo) or forEach(photo, id: \.id) all good
Tricky to debug from the error message/trace but easy fix.
-
What’s the easiest way to take screenshots for the Mac App Store?
You can’t just grab a screenshot from your desktop and upload it. They need to be in a 16:10 aspect ratio and exactly one of the following sizes:
• 1280 × 800
• 1440 × 900
• 2560 × 1600
• 2880 × 1800Simply resizing a standard desktop screenshot would distort the image.
How are other people doing this without it looking stretched or skewed?
#macOS #MacDev #macOSDev #MacAppStore #AppStore #AppStoreOptimisation #Screenshots
-
💡 Struggling with data models, pagination, or app performance? A recent coaching client was stuck on these exact topics, and after 1 hour, he saved 20+ hours of potential frustration. You don’t need to do it alone—I'm here to help!
#iOSDev #SwiftUI #XcodeTips #DataModeling #IndieAppDev #macOSDev #SaveTime
-
🐍💻 Fix Npgsql “Bad Protocol Version” on macOS & .NET 6
If you’re building .NET 6 apps on macOS and connecting to PostgreSQL using Npgsql, you might encounter:
🚫 Bad Protocol Version errors
This usually means a mismatch between client and server expectations, but it can be resolved.
Perfect for developers wrestling with cross-platform database connections.
👉 Resolve the error here:
https://sslinsights.com/fix-npgsql-bad-protocol-version-macos-net6/#dotnet6 #Npgsql #macOSDev #PostgreSQL #DevOps #Programming #ErrorFix #SSLInsights
-
💼 Ready to level up your Apple platform development? I’ve helped developers tackle tough SwiftUI, Xcode, and macOS problems. Save time, improve your skills, and build better apps—book your $35/h session now! Limited availability.
#AppleDeveloper #iOSDev #SwiftUI #macOSDev #IndieDev #XcodeHelp #SaveTime
-
Questions about #StoreKit 2 for #Mac apps: Do I really need a server to verify and validate receipts? From what I understand, this can be done locally on-device, but that may be susceptible to tampering.
On #iOS, this seems less of an issue as jailbreaking would usually be required to crack the app. On the #Mac, however, things are quite different. Should I be looking at third-party solutions such as #FreemiumKit, #RevenueCat or #Superwall instead?
-
It’s my birthday week 🇩🇰🎉 Celebrate with me! For the next week, all in-app purchases and subscriptions in @AppDabApp are around 38% off. No reason to talk about the age - it is just a number... 😉
#iOSDev #macOSDev #IndieDev -
While I've seen apps do similar things (Gifski shows its export progress along the app icon border, as I've just learned exporting the above GIF), it's always to the app icons, never to the windows. It makes sense, the window is meant as a visual shorthand and anchor point, it shouldn't be arbitrary, but idk, I feel like more document-editing (say, photoshop) apps could make good use of customized window tiles. Anyone know a good example of them used creatively anywhere else? #SwiftUI #macosdev
-
Most of the examples you will find explaining how to create a #SwiftUI paging scrollView will say to use the new .paging behavior (or some older method)
This works fine if all your views are the same size. If you have different sized views you may become frustrated trying to make things work.
The trick is using .scrollTargetBehavior(.viewAligned)
This will center your disparate views on the screen in a nice paging manner. Good stuff.
-
Folks... in your Mac apps, if you use some symbol/shape to indicate a status, please for the love of whatever-higher-being-you-believe-in-OR-don’t...
add a damn tooltip to it. As users, we cannot read your mind whatever a "little red ring" means. Also, people who are colorblind wouldn't be able to tell either that it might be red.
Please read an OG Mac HIG from the 2000s. I promise it will help make your apps a lot better. Like, these are just Mac UX basics.
-
I love things in #SwiftUI like this button in your List will fire for all the items in the list unless you change it’s ButtonStyle.
Makes perfect sense.
Sigh.
-
Fun With SwiftData and CloudKit!: https://pmcconnell.micro.blog/2026/04/30/fun-with-swiftdata-and-cloudkit.html
-
Probably jinxed myself but TestFlight installations work fine until you force close the app and restart it. On second launch the app immediately crashes.
Crash logs seem to show it crashing on instantiating the modelContainer. Works fine the first time but then boom.
I guess just don't close the app?
Anyone seen anything familiar?
-
TestFlight installations are working as expected as well.
Very stressful.
What helped me before deploying was wiping the dev schema frequently and installing the original app and schema from dev then testing new builds/schemas on device.
Then use the CloudKit console tools to review the schemas. You can review the schema changes by selecting Deploy Schema changes.
I found that seeing the diff helps to understand the scope of the changes.
-
Deployed my CloudKit dev schema to production without breaking the currently shipping app.
Seems like a good point to end work for the week.
-
#SwiftUI PhotosPicker is another example of a very good component that gets 85% of the way there.
It's fairly easy to select images and display them in your UI. However if you want to have the picker indicate images you may already have in your UI you can’t.
If I'm missing something I would love to hear.
-
Optimize your view because we're going to machine gun update it is never the right answer. None of the data is changing. Zero updates are warranted.
#Xcode just logs some computed property changed and redraws. In a sample app I provided Apple (naively, I know) This happens with a list of models that contain nothing more than a timestamp. No computed properties.
This is a framework problem, not something I can optimize away.
-
6 months later I'm still stuck on a issue where #SwiftData queries refresh the view excessively.
I’ve seen very few references to anything similar in online and any time an Apple engineer replies they suggest limiting the fetched objects.
That's not always possible, nor is it a “solution.” In my app I'm rendering complex paths on a map view and the coordinates that make up the path can't be limited.
Excessive, unnecessary redraws are visible and a UX problem.
-
Some tech stuff is painful enough to “learn” it once and just keep reusing the same code/patterns over and over for years.
This is to say I added some new #SwiftData stuff to my app today, adding some fairly trivial schema migrations.
It’s just too tedious to search for improvements or better ways to do things. It works, but as with many #SwiftUI things it does not leave one feeling overly confident.
-
I already like the new CEO. Apple is in good hands.
#indiedev #macosdev #buildinpublic -
Cool. Daft Music is featured on the front page of the Mac App Store. Get it while supplies last! Inshallah.
#indiedev #macosdev #buildinpublic -
If you know of other public online meetups or events for #SwiftDev / #AppleDev / #iosDev / #macOSDev , please share the details with me.
I try to keep the events calendar on Swift Dev Chat up to date with these:
https://discord.gg/mxPXSvDsTf -
Upcoming online #SwiftDev / #AppleDev / #iosDev / #macOSDev events:
———Coding Dojo: Learning together
🗓️ Wednesdays, 9am Pacific, 17:00 UTC, DiscordThis week, A special *Intro Session* intended to help folks who have not participated before get up to speed on what we do in these sessions.
Ensemble coding to learn more coding skills together. Working through coding kata, using the Swift language, applying test-driven development. #TDD
https://discord.gg/nyXRvBC5tS?event=1430960502867103895 -
If you know of other public online meetups or events for #SwiftDev / #AppleDev / #iosDev / #macOSDev , please share the details with me.
I try to keep the events calendar on Swift Dev Chat up to date with these:
https://discord.gg/p2ZDAdRws8