|
Hey, If I have two object of same type: Thanks, Hadi |
|
Maybe this approach will work out in your case
|
|
hi, i think @ygeras's approach works in the sense that you can introduce two observable objects of different types, the sole purpose of each being to provide a "wrapper" of an object of type but i'd recommend some changes. for example, although each may have a @Published reference to an object of type rather, you want to use a little Combine technology so that each of the
i'd also recommend that you make
hope that helps, DMG |
|
|
SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until October 1st.
Sponsor Hacking with Swift and reach the world's largest Swift community!
You need to create an account or log in to reply.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.