Custom SwiftUI view modifier for paid app features
In my app dataFude for Simulator I’ve decided to offer some features for free and others only to users who pay for the app. This way, everyone including students and hobbyist can meaningfully use the app, while professional users can support the development. I considered few different approaches including compiling two separate versions of the app, but ultimately went for shipping a single binary that relies on RevenueCat and enables/disables some parts of the UI depending on the purchase status. …

