Sam Deane
banner
samdeane.mastodon.org.uk.ap.brid.gy
Sam Deane
@samdeane.mastodon.org.uk.ap.brid.gy
A microscopic cog in your catastrophic plan.

Indie app/game developer (macOS/iOS/Swift/Godot) at Elegant Chaos.

As an experiment I’m mostly posting technical […]

🌉 bridged from ⁂ https://mastodon.org.uk/@samdeane, follow @ap.brid.gy to interact
Reposted by Sam Deane
mastodon.art
December 16, 2025 at 2:56 PM
In some rare positive news...

I've been really happy with Daft Music. So nice not to have to interact with Apple Music on the mac any more.

It does one job, and does it well.

Long may it remain unenshittified!

https://daftmusic.app/
Daft Music – The Definitive Apple Music Experience on Mac
Daft Music is a fast, beautifully designed Apple Music app built natively for macOS. Enjoy high-performance playback, elegant design, and a seamless music experience.
daftmusic.app
December 16, 2025 at 9:48 AM
I often find myself wishing that Mastodon supported emoji reactions, as opposed to just "favorited”.

I like to be able to express that I'm laughing too, or I'm angry too, or I'm grateful, or more than just “generic vague approval (probably)”.

It looks like it's been proposed and rejected […]
Original post on mastodon.org.uk
mastodon.org.uk
December 15, 2025 at 1:27 PM
I've been experimenting with asking Copilot to review my code.

So far it's spotted one out-and-out bug, and a bunch of minor inconsistencies in naming / formatting. As a solo developer, this is the kind of sanity-check feedback that I welcome, and I've agreed with most of its suggestions.

As […]
Original post on mastodon.org.uk
mastodon.org.uk
December 15, 2025 at 11:36 AM
Is it just me, or are SwiftUI’s `.onAppear`, `.onDisappear` and `isPresented` more than a little flaky on macOS when used with NavigationStack?

On iOS it works as expected.

On macOS I’m getting inverted values out of `isPresented`, and seeing an appear for a view but no disappear when another […]
Original post on mastodon.org.uk
mastodon.org.uk
December 11, 2025 at 12:59 PM
This font thing is just a stepping stone right?

Presumably the ultimate aim is to transition all official communication to Comic Sans.

My sources tell me that this will probably happen at around the same time that the new clown cars come in to service to replace the current official limos.
December 11, 2025 at 9:45 AM
SwiftUI Menu inside a .swipeAction - discuss.

On iOS it does what I'd expect.
On macOS is seems to just make a button that does nothing when clicked.

Am I holding it wrong?
December 9, 2025 at 12:57 PM
Just discovered a... thing...

On macOS, if I make a SwiftUI NavigationStack filling the window, bind it to a path, and push views on to it, each view hides the views below it.

This works even if a smaller view is on top of a larger one - a mask is added.

However, if I change the binding from […]
Original post on mastodon.org.uk
mastodon.org.uk
December 9, 2025 at 10:19 AM
I mean... I wouldn't mind... but the preview in this case is:

#preview {
Text(“test”)
}
December 8, 2025 at 2:33 PM
Bit the bullet and switched away from Catalyst for the macOS build of my SwiftUI app.

I'm not getting ToolbarItem errors any more, but now I’m getting this 🤦.

I do appreciate the complexity inherent in making SwiftUI work on top of AppKit and UIKit, but […]

[Original post on mastodon.org.uk]
December 8, 2025 at 1:48 PM
When my Catalyst SwiftUI app wakes from sleep (or maybe just display sleep?), it crashes.

The stack suggests that it’s crashing inside NSToolbarItemGroupView code.

There is some log output, but it's cryptic, and the internet hive-mind seems to be as […]

[Original post on mastodon.org.uk]
December 5, 2025 at 1:05 PM
It's the hope that kills you.

I keep getting annoying console log like the attached screenshot.

No explanation, no indication of which SwiftUI view is causing it. It's a toolbar item with keyboard placement, but I don't really have an explanation as to why […]

[Original post on mastodon.org.uk]
December 5, 2025 at 11:29 AM
I'm seeing a weird error from Github Actions, on a self-hosted macOS runner.

It's throwing an error about a duplicate log file, but it's one it makes itself. Anyone else seen anything like this?

```
System.IO.IOException: The file […]
Original post on mastodon.org.uk
mastodon.org.uk
December 5, 2025 at 10:37 AM
Development Diary - I'm still here...

https://elegantchaos.com/2025/12/05/all-quiet.html
All Quiet In The Western Isles
elegantchaos.com
December 5, 2025 at 10:35 AM
Reposted by Sam Deane
December 2, 2025 at 10:03 AM
Another bit of bad UI from Spotlight in Tahoe.

That moment where the "Safari", “Music” etc buttons appear, and the search results move down.

It changes the positions of the hit targets of the results, often when my muscles have already committed to a click […]

[Original post on mastodon.org.uk]
December 3, 2025 at 9:23 AM
It's the little things…

If I search in Spotlight and it finds an app, and the settings for an app, which one do I probably want?

🤦‍♂️
December 2, 2025 at 10:48 AM
Consistency Apple, consistency…

If the rule is "An extension’s icon must be the same as the app icon of its containing app.” then for heaven's sake, don't make us embed an icon file, just use the icon from the app automatically.

Which iOS share extensions […]

[Original post on mastodon.org.uk]
November 6, 2025 at 11:53 AM
Making share extensions for Catalyst apps appears to be... confusing.

What I had to do:

- make an iOS share extension target
- tell the app target not to embed it for macOS
- make a macOS share extension target
- tell XCode to build it for macCatalyst not macOS
- tell the app target to embed […]
Original post on mastodon.org.uk
mastodon.org.uk
November 6, 2025 at 10:23 AM
Back in 2012 I wrote a post bemoaning the state of XCode, and wishing that it was modular and open-source.

https://elegantchaos.com/2012/02/27/what-the-hell-happened-to-xcode.html

13 years on, I still feel the same way!

I'm often critical of XCode, but I recognise the massive amount of effort […]
Original post on mastodon.org.uk
mastodon.org.uk
November 6, 2025 at 9:22 AM
Reposted by Sam Deane
Gee, I wonder why billionaires want to control the encyclopedia.

(Kudos to the contributors of this very astute section of Zohran Mamdani's Wikipedia bio.)
November 5, 2025 at 5:22 AM
Music players are like busses. You wait for ages, and then...

I'm really liking Daft Music, but Radiccio also looks interesting enough to give a try. I particularly like the approach to local music files.

https://radiccio.music/news/2025/10/30/design-of-radiccio
November 6, 2025 at 8:51 AM
I see that the new XCode beta is still constantly crashing in the background and spamming Logs/DiagnosticReports.

(on my machine, at least…)

🤦‍♂️
November 5, 2025 at 12:11 PM
There are soon going to be so many really experienced senior engineers out of work... especially on the macOS side of things.

I'm wondering if we could all get together and write a new operating system (or more likely, flavour of Linux or BSD), based on the old principles that used to drive […]
Original post on mastodon.org.uk
mastodon.org.uk
November 5, 2025 at 8:15 AM
Apparently Apple Home doesn't know where I am and won't trigger my office automations as it thinks I'm still at home.

In other words, a normal Wednesday…

🤦‍♂️
November 5, 2025 at 7:58 AM