Classes
The following classes are available globally.
-
PredixDonutView – Donut view chart, also can be a pie chart.
See moreDeclaration
Swift
open class PredixDonutView: PieChartView
-
Progress Circle View Shows progress as an arc within a circular display Can display two threshold lines, and change the progress color when the progress passes those thresholds Can display the percentage progress value as a centered title Can animate changes to the progress arc, the threshold color change, and title updates
See moreDeclaration
Swift
open class PredixCircleProgressView: UIView
-
Provides an authentication view that represents the default Predix UAA authentication view.
The authentication view is intended to handle most of the interactions with UAA for you using a native UI form. Simply provider your configuration and tell the PredixAuthenticationView to start authentication.
NOTE: The baseURL, clientId and clientSecret can be defined in your info.plist instead of in code using the following keys: server_url, client_id and client_secret
Example usage from Interface builder:
class ViewController: UIViewController, PredixAuthenticationViewDelegate { @IBOutlet weak var authenticationView: PredixAuthenticationView!
override func viewDidLoad() { super.viewDidLoad() var configuration = AuthenticationManagerConfiguration() configuration.baseURL = URL(string: "https://youruaahost.com") configuration.clientId = "a clientID" configuration.clientSecret = "a client secret" authenticationView.configuration = configuration authenticationView.beginAuthentication() } func authenticationComplete(success: Bool, error: Error?) { //Code you want to execute when Authentication has completed }
}
See moreDeclaration
Swift
open class PredixAuthenticationView: UIView
-
PredixTimeSeriesView – TimeSeries chart built with
See moreLineChartView
.Declaration
Swift
open class PredixTimeSeriesView: LineChartView
-
A TimeSeries tag model.
See moreDeclaration
Swift
public class TimeSeriesTag: NSObject