Early bird prices are coming to an end soon... ⏰ Grab your tickets before January 17

This article was published on July 14, 2016

Facebook built a Swift SDK for iOS developers (sort of)


Facebook built a Swift SDK for iOS developers (sort of) Image by: Lewis Tse Pui Lung / Shutterstock.com

Facebook is getting serious about Swift. A full two years after the language was launched, Facebook now has an SDK (in beta) for Swift.

Downloadable via CocoaPods, Carthage or GitHub, the Facebook Swift SDK uses Swift versions 2.2.1 and 2.3. Facebook says it will update to Swift 3 once that version is out of beta and reached Gold Master status this Fall.

Included in the SDK are Facebook’s login and share options, as well as the Graph API for curating personal experiences for users and Facebook Analytics for apps.

It’s not Facebook’s first foray into Swift, though. Earlier this year, the company distributed code for Bolts, a collection of low-level libraries, onto GitHub. While very basic, Bolts libraries nonetheless made some boilerplate functionality much easier to integrate.

The 💜 of EU tech

The latest rumblings from the EU tech scene, a story from our wise ol' founder Boris, and some questionable AI art. It's free, every week, in your inbox. Sign up now!

In a blog post announcing the Swift SDK Beta, Facebook’s Nikita Lutsenko wrote “We believe it is important for us to grow and diversify our developer ecosystem by extending our platform capabilities to Swift app developers on iOS, watchOS, tvOS, and macOS.”

SwiftTNW2

IBM, Facebook an beyond

Facebook isn’t the only company glomming onto the Swift train. IBM made a huge play from day one, picking up where Apple left off with a focus on the enterprise space. It even created a cloud-based Swift developer environment so developers could toy with Swift.

Facebook’s beta SDK could do the same for non-enterprise users. It’s tools are among the best in the industry, but it’s not immediately clear how serious it is about Swift yet. In its blog post, Facebook openly admits it’s beta SDK “provides native Swift frameworks that wraps our existing Objective-C SDK for iOS.”

It didn’t actually create the SDK from the ground-up; it wrapped legacy code with Swift to make it presentable and usable for developers. A safe play, we’ll have to wait for Swift 3 — which will bring stability to the language — to see if Facebook is really ready to turn the corner.

It may not be off on the right path, but Facebook’s play is still important here. While it feels like the company is testing the waters a bit, it’s still a big move towards Swift, and that’ll pay dividends moving forward.

Get the TNW newsletter

Get the most important tech news in your inbox each week.

Also tagged with