We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I suggest adding an example how to use it in UIKit - I did it like this: In the main class I initialize aptabase and it just works:
override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) { super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil) Aptabase.shared.initialize(appKey: "") } required init?(coder: NSCoder) { super.init(coder: coder) Aptabase.shared.initialize(appKey: "") }
The text was updated successfully, but these errors were encountered:
That's a good suggestion, I'm not too familiar with UIKit, so I need to experiment a bit.
In your example you have called initialize twice. Is that really needed? Have you tried initialising it on AppDelegate?
initialize
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. Aptabase.shared.initialize(appKey: "") return true }
Sorry, something went wrong.
no but this should work i guess
it depends on how init is called...
No branches or pull requests
I suggest adding an example how to use it in UIKit - I did it like this:
In the main class I initialize aptabase and it just works:
The text was updated successfully, but these errors were encountered: