Hi, I'm working in a KMM solution with SwiftUI. In...
# multiplatform
s
Hi, I'm working in a KMM solution with SwiftUI. In order to draw the UI I instantiate KMM Presenters in my SwiftUI Views and request the presenter to return the kotlin model (a data class with all the properties to be painted) to draw. Then I simply pass that kotlin model down to the SwiftUI subviews. Should it be more efficient to clone that kotlin model into structs and use those structs in subviews or it would not make any difference?
r
hi @sendoav is it solved??
s
Hi, it was not really a problem, just an optimization. I did not make the test to see if there was any difference