Best option for LiveData<UserInfo?> = liveData flow in Swift


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 {

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?