SwiftでアピアリーズのSDKを初期化

以下でいける。

AppDelegate.swift

import UIKit

let baas = AB.sharedFacade()

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        // Override point for customization after application launch.
        baas.config.datastoreID = "xxxx"
        baas.config.applicationID = "xxxx"
        baas.config.applicationToken = "xxxx"
        baas.activate()
        
        return true
    }