201 Followers
46 Following
36 Posts
I work on @dayoneapp. I have a telescope. I believe in Christ. @bjhomer on Twitter.
@jordanhipwell , yeah, that is surprising to me. I would guess there is something else going on that’s interfering.
@jordanhipwell it’s not about whether you invoke the func while on the main thread. The Task there inherits main-actor-ness from being declared inside a MainActor func (inherited from being declared in a MainActor type). So no matter which thread calls buyProduct(), the lines of code inside the task will always run on the main actor.

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.

#macosdev #macos #TestFlight #sqlite

@_Davidsmith Thank you!
@_Davidsmith Is the mac app you built for “The Tyranny of the Churn Equation” available anywhere? I’d love to play with it in the context of my own app.
The Nintendo Music app is really a pretty great app! Currently playing “guess that BotW track” with my kids

@mattiem @markmalstrom

Does this do what you’re wanting? (It wouldn’t have some of the subtler benefits of child tasks, but otherwise I think just adding ‘Task’ and ‘.value’ to that example makes it work.

let result = try await Task {
// this runs on the global executor
try nonIsolatedExpensiveWork()
}.value

I honestly can’t even remember the marketing name of this year’s macOS release. Or even the major version number. They should just call it ‘macOS 2024’ and call it a day.
I’d like to nominate NSMetadataQuery for the “Weirdest API Decisions of the Year”.
@phausler Is this new in iOS 18? Or true in iOS 17 as well?