Where can I find the RevenueCat SDK documentation in Objective-C? I’m not using Swift directly (though I link to several Swift libs) and I’m having a difficult time integrating without Objective-C docs.
+4
Alright. In the mean time, I’m adding iOS app extensions support to my app, following the instructions here: https://www.revenuecat.com/docs/ios-app-extensions
However the code snippet is only in Swift. I tried converting to Objective-C which looks like this:
NSUserDefaults * defaults = [[NSUserDefaults alloc] initWithSuiteName:kSummaryWidgetAppGroupName];
[RCPurchases configureWithAPIKey:kRevenueCatAPIKey appUserID:nil observerMode:NO userDefaults:defaults];
But Xcode gives this warning:
'configureWithAPIKey:appUserID:observerMode:userDefaults:' is deprecated: first deprecated in iOS 1 - 'configure' has been renamed to 'configure(with:)'
Can I safely ignore this warning?
Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.