Macoun · @macoun
176 followers · 48 posts · Server iosdev.space

Marco Sanna zeigt in seinem Vortrag "Von UIKit zu SwiftUI - Eine Refactoring Reise" auf der am Beispiel einer aktiv genutzten Produktivapp, wie eine komplexe Änderung der Architektur ohne Einschränkungen für Benutzer und Entwicklungsteam umgesetzt werden kann.

Sei dabei: macoun.de/anmelden

#macoun23 #swiftui #storyboards #rxswift #cleanarchitecture #asyncawait #macounffm

Last updated 1 year ago

Angu · @angu
3 followers · 9 posts · Server techhub.social

Since XCTest dose not support async expressions in its assert functions I released SwiftAsyncAsserts to fill that gap.

Write more readable testing code for your async APIS in Swift with SwiftAsyncAssert Swift package.

github.com/angu-software/Swift

#swift #xctest #asyncawait #unittest

Last updated 1 year ago

JavaScript の async/await の動きを自分なりに図にしてみた (返り値を得られるまで)
qiita.com/aKuad/items/a928d6e7

#qiita #javascript #asyncawait

Last updated 1 year ago

Beej · @beejjorgensen
107 followers · 237 posts · Server mastodon.sdf.org
Marius Kažemėkaitis · @marius
61 followers · 57 posts · Server iosdev.space

Swift Concurrency 🚅

We deal with async/await code every day. We use Task. But we don't often think about Task inheritance. 🤘

- Tasks inherit the parent task’s attributed, like priority, actor.
- Cancelling a parent task automatically cancels the child task.
- Detached Tasks don't inherit anything and you're responsible for cancelling them (in child task context)

And it's better to avoid detached task if it’s possible

#swift #swiftui #asyncawait #concurrency

Last updated 1 year ago

Dave ✨ · @davidgarywood
1328 followers · 4949 posts · Server social.davidgarywood.com

📢New in MEAP📢

Maximum code velocity!

Supercharge your applications by harnessing asynchronous and multithreaded programming: mng.bz/Wzq0

#asyncawait #multithreading #csharp #concurrency

Last updated 1 year ago

Lars Richter · @n_develop
67 followers · 160 posts · Server fosstodon.org

The fact that there is a thing called "megaYield" to work around async/await problems in swift is just sad.

#megayield #swift #asyncawait

Last updated 1 year ago

sbm · @slow_brewed
29 followers · 117 posts · Server iosdev.space

Just went through [Unit testing Asynchronous Code in Swift] by @tundsdev on this video:

youtube.com/watch?v=P4Zee8weKV

Absolutely brilliant, clear and concise explanation. I would highly recommend it. 👌🏾

Got me doing a bit of refactoring on some of my unit tests too. Even more so, I discovered that Apple did release an Async/Await API for HealthKit (starting with iOS v15) and I went ahead and made a bunch of code updates there too.

#swift #swiftdev #bdd #tdd #asyncawait

Last updated 1 year ago

david.wtf · @flashmasterdash
47 followers · 99 posts · Server mastodon.gamedev.place

Here's a convenient helper I wrote that can be used to simplify asynchronous initialization of heavy objects without caring about concurrency or call order: gist.github.com/moonshinebot/f

The pattern scales to multiple lazy properties, and even multiple independent initializers can be used per class (if desired).

#unitask #asyncawait #gamedev #unity3d #unitydev

Last updated 2 years ago

nosh :fosstodon: · @nosherwan
311 followers · 1237 posts · Server fosstodon.org

explains in less than 13 seconds.

this is the easiest & shortest javascript tutorial you can watch.

youtu.be/lkIFF4maKMU

& explained as well.

#fireship #javascript #promises #asyncawait

Last updated 2 years ago