I went through the <latest tutorial that Sebastian...
# compose-ios
c
I went through the

latest tutorial that Sebastian posted on youtube

. I copied it and have a working app and i have it working with Flows (just like him) I started watching this

video today

(thats also pretty recent) and it says Flows aren't really well supported. Seems like they worked just fine in that saample from Sebastian. What am I missing?
👍 1
a
Perhaps, they mean that currently Flow's interop with Swift is not as good as it could be. E.g. Flow is an interface, and so its generic type gets lost when going through ObjC. Also calling suspend functions is not so straightforward.
👆 1
c
cool. but if im trying to build a (as close to) 100% only kotlin codebase I should be good it seems since im not treally trying to do any swift interop if possible.
a
I think so, unless I'm missing something.
👍 1
c
thanks. yeah it seems like a lot of the "cons" of kmp go away if i just use it everywhere (which i have a greenfield poc) so it seems like i should be able to use all of my favorite things about kotlin (specifically coroutines) 😅 Thanks arkadii
K 2
1
t
The KMP NativeCoroutines package library makes this much cleaner on both sides- KMP and Swift. Options include RxSwift, Combine and Asynchrony
d
By the way. Final version of app, created in the video by Sebastia Aigner available here: https://github.com/SebastianAigner/my-bird-app
K 2