Free up to 1MM monthly messages. No credit card required.
In our quest to deliver a world-class developer experience, we’re pleased to introduce our new native PubNub Swift SDK.
While developers have been able to use the PubNub Objective-C SDK within a Swift application, the developer experience wasn’t where we wanted it to be. The native Swift SDK provides Swift developers a simplified and more streamlined experience to effectively develop their Swift application using PubNub with common best practice architecture patterns. This also allows developers to easily understand how to take advantage of PubNub’s features with predictable usage patterns that are familiar amongst Swift developers.
Apple has announced that Swift will be the new major language when writing applications for MacOS, iOS, TvOS and WatchOS, and upcoming new features for Swift may not be supported in Objective-C. For developers who have been using the Objective-C framework to code in Swift, this is clearly a problem.
In addition, Objective-C and Swift are not mutually intelligible and as you might expect, using an Objective-C library within Swift feels unnatural. Lastly, newer Swift developers want to follow patterns they’ve learned or can easily look up without requiring a depth of knowledge related to Objective-C and the nuances on how to make the two play nice.
Developers using the native Swift SDK can now quickly and easily onboard their application using PubNub without an intimate knowledge of Objective-C. There’s a number of ways this will create a better developer experience for you and your team:
And let’s not forget about being able to work with PubNub team members to build and maintain the perfect application. When working with PubNub, you’ll have access to our Solution Architects who can help to define and build your infrastructure while suggesting the common patterns that standard Swift applications already follow. If you need support, our Support Engineers will be able to help you achieve expected outcomes for applications built with the Swift SDK so that debugging and assisting any upcoming issues will be fairly clear.
Display real-time notification badges with PubNub and React Native to display important information and bring users back to your...
The concept of Digital Twins has evolved over the last two decades, however, one thing remains the same: the need for real-time...
Learn the ins-and-outs of PubNub message size and get a better idea of how many text characters fit in a single message.