BKController
open class BKController
Main controller of blukii SDK
BlukiiController controls the instantiation of all controllers that can only be loaded by BlukiiController.
Please note: There must be only one BlukiiController instance to prevent multiple instantiations of package controllers and data structures.
Example Snippet
override func viewDidLoad() {
...
mBlukiiCloud = BKController.instance.getCloud()
...
}
-
Gets an instance of BlukiiController.
Declaration
Swift
public static let instance: BKController
Return Value
An instance of
BKController
-
Gets an instance of the cloud controller class
BKBlukiiCloud
Declaration
Swift
open func getCloud() -> BKBlukiiCloud
Return Value
An instance of the cloud controller class
BKBlukiiCloud
-
Gets an instance of the info main controller class
BKBlukiiInfo
Declaration
Swift
open func getInfoClient() -> BKBlukiiInfo
Return Value
An instance of
BKBlukiiInfo