|
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 Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.
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.