Classes
The following classes are available globally.
-
Configurations for the DALIapi framework can be stored and handled using this
Example usage:
See morelet file = NSDictionary(dictionary: [ "server_url": "https://dalilab-api.herokuapp.com/" ]) let config = DALIConfig(dict: file) DALIapi.configure(config: config)
Declaration
Swift
open class DALIConfig
-
Undocumented
See moreDeclaration
Swift
public class DALIEquipment
-
A set of errors used by the DALIapi framework to signal the user when there is an issue
See moreDeclaration
Swift
open class DALIError
-
An interface for getting and setting information about food in the lab
See moreDeclaration
Swift
public class DALIFood
-
A class for controlling the lights in the lab
See moreDeclaration
Swift
public class DALILights
-
A static struct that contains all location updates and queries
Example:
See moreDALILocation.Tim.get { (tim, error) in // ... if tim.inDALI { // ... } else if tim.inOffice { // ... } }
Declaration
Swift
public class DALILocation
-
Photo class for getting a list of all photos from the API
See moreDeclaration
Swift
public class DALIPhoto