• Resolved jacobahlberg

    (@jacobahlberg)


    Hi!

    I’m new to iOS programming and have only programmed in Swift. I find this API to be perfect for an app i’m currently creating, but I just found that the getting started guide was just in objectiveC. I’m having trouble to translate the objectiveC to Swift code. So can someone help me out how I can get started using this API?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Delite Studio

    (@delitestudio)

    Since the library is written in Objective-C, you have to create a bridging header like this:

    //
    //  Push-Bridging-Header.h
    //
    
    #import <PushNotifications/PushNotifications.h>

    Then you can use the Objective-C methods as if they were written in Swift. More info here.

Viewing 1 replies (of 1 total)
  • The topic ‘Swift’ is closed to new replies.