aptabase-swift icon indicating copy to clipboard operation
aptabase-swift copied to clipboard

Example for UIKit

Open bircni opened this issue 1 year ago • 3 comments

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: "")
    }

bircni avatar Jun 03 '23 10:06 bircni