Hi,
I want to implement the same flow live data from Android in Swift because I have a kmm project using realm.
for the android, my object its called UserInfo:
val userInfo: LiveData<UserInfo?> = liveData {
emitSource(repo.getUserProfile().flowOn(Dispatchers.IO).asLiveData(Dispatchers.Main))
}
LiveData is very useful because I can use for already login feature and I always have the UserInfo object everywhere.
What is the best approach for the Swift?