Title: Swift
Last modified: December 8, 2017

---

# Swift

 *  Resolved [jacobahlberg](https://wordpress.org/support/users/jacobahlberg/)
 * (@jacobahlberg)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/swift/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fswift%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Delite Studio](https://wordpress.org/support/users/delitestudio/)
 * (@delitestudio)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/swift/#post-10142093)
 * 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](https://developer.apple.com/library/content/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html).

Viewing 1 replies (of 1 total)

The topic ‘Swift’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/push-notifications-for-wp_373b48.
   svg)
 * [Push Notifications for WordPress (Lite)](https://wordpress.org/plugins/push-notifications-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/push-notifications-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/push-notifications-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/push-notifications-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/push-notifications-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/push-notifications-for-wp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Delite Studio](https://wordpress.org/support/users/delitestudio/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/swift/#post-10142093)
 * Status: resolved