Elektrine lite

← Feed

@jsq@mastodon.social

2026-05-03 17:59 UTC

@mattiem what is the ideal way to do file I/O with NSFileManager and Swift Concurrency? An actor doesn’t seem correct. I’ve seen using withCheckedThrowingContinuation wrapping a DispatchQueue. This seems… good? I’m not sure. How would you approach this? I guess I’m looking for “NSFileManager, but with async/await”

Replies (0)

No replies.