fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

9.8K
active users

#SwiftLang

18 posts18 participants2 posts today
Continued thread

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

A bit tired after waking up early for switch 2 preorders, so let's just attempt to debug why we aren't getting a reference ID by taking a look at stripe logs!

#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

Come chill with me: youtube.com/live/Pt9dTNCb6b0

Continued thread

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

Let's add handling for more event types and start linking data together!

#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

Come chill with me: youtube.com/live/P6DJ950YEgA

Reminder that SwiftPM package manifests are Swift code, so you can write loops etc. in them. I use this in some of my packages to enable the same upcoming language features for all targets. Example: gist.github.com/ole/c0f4de915a

This isn’t particularly useful for complex projects where you might want to migrate to Swift 6 mode module-by-module, but for small and simple packages it’s usually easy to stay on the cutting edge of Swift. #SwiftLang

Continued thread

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

I noticed some worrying logs yesterday, so let’s investigate that today!

#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush

Come chill with me: youtube.com/live/WznhpMFlLKo

Introducing a new open-source #Swift package that I've been working on for 8 months! Say hello 👋 to #ErrorKit – a set of APIs that simplify #ErrorHandling in Swift 6. Built to be actually helpful, not only for large teams but also for #IndieDev's like myself. And boy have I documented it! 💯

Please check it out & give it a ⭐️ on GitHub: #iOSDev #SwiftLang
github.com/FlineDev/ErrorKit

Simplified error handling with built-in user-friendly messages for common errors. Fully localized. Community-driven. - FlineDev/ErrorKit
GitHubGitHub - FlineDev/ErrorKit: Simplified error handling with built-in user-friendly messages for common errors. Fully localized. Community-driven.Simplified error handling with built-in user-friendly messages for common errors. Fully localized. Community-driven. - FlineDev/ErrorKit

Periodic reminder that `Task.detached` is semantically equivalent to `DISPATCH_BLOCK_DETACHED`. e.g. it opts out of automatic priority propagation, task locals, cancellation, etc…

So far 100% of the time I've mentioned this the response has been "what's DISPATCH_BLOCK_DETACHED?", which should give you an idea of how rare uses of `Task.detached` should be.

As the docs say: "Don’t use a detached task if it’s possible to model the operation using structured concurrency features"

Jumped back on the #100daysOfSwiftUI train 🚅 and completed day 36, a simple expenses app.

Getting back to it after a few months away took some considerable mental effort. Couldn't remember a lot of the specifics of what went before, but there was plenty of residual memory of concepts intact in my brain 🧠 which made it easier than I expected!

Glad I’d been taking copious notes throughout, and thankful the site's search is super useful! hackingwithswift.com/100/swift