Since its WWDC 2014 introduction, Swift has proven to be one of the fastest growing programming languages. 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.
Earlier this year we provided a complete Swift implementation for Bolts that exposes many native Swift features, including proper generic types, support for value types, and native Swift error handling.
Today, we are proud to announce a Facebook SDK for Swift Beta to make it easier for developers to build rich experiences using Swift apps. As with many Facebook projects, we are releasing the source code.
The Facebook SDK for Swift beta provides native Swift frameworks that wraps our existing Objective-C SDK for iOS to provide the following features:
Since Swift is still under active development, the Facebook SDK for Swift Beta supports Swift 2.2.1 and 2.3, which gives you the ability to submit apps to the Apple App Store today. Later this year we will update the Facebook SDK for Swift when Swift 3 reaches GM.
You can download the beta on GitHub or integrate via CocoaPods or Carthage. Read our getting started guide. We look forward to your feedback and contributions.
Sign up for monthly updates from Meta for Developers.