Using Swift with Anyline

The Anyline SDK is written in the Objective-C language, but you can write applications using Anyline with Swift. Continue to refer to the Getting Started page and follow the steps there to set up a new Xcode application project with the Anyline SDK.

In order to allow your Swift project to use Objective-C code, after you finished setting up the project, you will also need to point your application’s Objective-C Bridging Header build setting to a file in your project, that contains at least the following line:

#import <Anyline/Anyline.h>