Log inSign up
Log inSign up
Donny Wals 👾
32.6K posts
Donny Wals 👾 profile banner
@DonnyWals

Donny Wals 👾

@DonnyWals
iOS Engineer, blogger and author at donnywals.com. Loves learning and sharing knowledge. ❤Dorien -- #swift #ios #swiftlang #iosdev #solopreneur (he/him)
The Netherlands
donnywals.com
Joined May 2009
608 Following
43.3K Followers
RepliesRepliesRepostsRepostsMediaMediaArticlesArticles

Donny Wals 👾’s posts

Log in or sign up for X

See what’s happening and join the conversation

Continue with phone
or
Log in with username or email
Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
  • Pinned
    @DonnyWals
    Donny Wals 👾
    @DonnyWals
    Dec 21, 2025
    Figured Maxine is going to need a website if I keep working on it...
    Card image
    Maxine - Strength training made simple
    From maxine-app.com
    7
  • @DonnyWals
    Donny Wals 👾
    @DonnyWals
    Nov 11
    Do I know anybody from Italy that's going to @swiftbharat? If so, please let me know; I have a favor to ask... (or any Italians that will be in The Netherlands in the next month or two, that works too... or italians that can ship me a small package, I guess)
    Image
    2
  • @DonnyWals
    Donny Wals 👾
    @DonnyWals
    Oct 26
    A `for await` loop over an AsyncStream keeps going until the stream finishes. Any code you put after the loop in that same task waits until then, and if the stream never finishes, that code never runs. If you need to observe two streams, give each one its own task, or start them in a task group. Learn more about consuming async streams with Practical Swift Concurrency: donnywals.gumroad.com/l/practical-sw…
    Image
    8
  • @DonnyWals
    Donny Wals 👾
    @DonnyWals
    Oct 16
    AsyncStream is a really nice way to wrap delegate-based APIs like CLLocationManager. Something to keep in mind though: a stream is meant to have one consumer. If two tasks iterate the same AsyncStream, each location ends up in only one of the loops. So if more than one part of
    Image
    2
  • @DonnyWals
    Donny Wals 👾
    @DonnyWals
    Oct 16
    Something I look for in actor code: state that's read before an `await` and used after it. Every `await` in an actor is a spot where other calls can run first. By the time you use that value, it might not be what you think anymore. Re-reading it after the await is usually the simplest fix.
    5
Edit with