Facebook’s Parse adds support for Apple’s new Swift programming language

Facebook’s Parse adds support for Apple’s new Swift programming language

On Monday, Apple released Swift, a new programming language for iOS and OS X. Today, still in the same workweek, Facebook’s Parse has added Swift support. This means developers building with Swift can take advantage of Parse’s features (storing data, managing users, sending push notifications, tracking analytics, and so on) long before Apple starts accepting apps in the fall.

To start using the Parse framework in your Swift project follow these steps:

  1. Add a new file to your project, an Objective-C .m file.
  2. When prompted about creating a bridge header file, approve the request.
  3. Remove the unused .m file you added.
  4. Add your Objective-C import statements to the created bridge header .h file:

F**k it, we'll do it live!

Our biggest ever edition of TNW Conference is fast approaching! Join 10,000 tech leaders this May in Amsterdam.

#import < Parse/Parse.h>
// or #import < ParseOSX/ParseOSX.h>

If you require more detailed instructions, Facebook has posted a more thorough explanation over on Stackoverflow. The company has also added Swift example code to its entire iOS/OSX documentation.

See also – Here’s what developers think about Apple’s new Swift programming language and Parse grows 25% in month after Facebook picked it up, powering 100k apps with aggregate API service

Read next: The expert's guide on how to grow a massive email list

Shh. Here's some distraction