Facade
public class Facade : NSObject
Class used to load the wayfinding module on a given view
-
Initializes the facade and checks the user’s credentials.
Declaration
Swift
public init(withCredentials keys: KeysStore, containedBy view: UIView, controlledBy viewController: UIViewController)
Parameters
keys
KeyStore instance containing the user’s credentials
view
View object that will contain the wayfinding UI
viewController
View controller associated with the containing view
-
Loads the Wayfinding UI in the assigned view and shows the selected building
Declaration
Swift
public func load(buildingWithId buildingId: String = "1051")
Parameters
buildingId
Id of the building to be load