|
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 Still waiting on your CI build? Speed it up ~3x with Blaze - change one line, pay less, keep your existing GitHub workflows. First 25 HWS readers to use code HACKING at checkout get 50% off the first year. Try it now for free!
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.