Visualize iOS sensors for live presentations, iOS AppStore demos, Apple Store prototypes, design reviews.
Visualize iOS sensors for live presentations, iOS AppStore demos, Apple Store prototypes, design reviews.
Carthage: To integrate SensorVisualizerKit into your Xcode project using Carthage, specify it in your Cartfile
:
github "joeblau/sensor-visualizer-kit" ~> 0.1.1
Cocoapods: To integrate SensorVisualizerKit into your Xcode project using CocoaPods, specify it in your Podfile
:
pod 'SensorVisualizerKit', '~> 0.1.1'
Storyboards
import UIKit
import SensorVisualizerKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow? = {
return SensorVisualizerWindow(frame: UIScreen.main.bounds)
}()
func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
return true
}
}
Programatic
import UIKit
import SensorVisualizerKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
window = SensorVisualizerWindow(frame: UIScreen.main.bounds)
window?.rootViewController = ViewController()
window?.makeKeyAndVisible()
return true
}
}
The method signature for initializing the SesnorVisuzliserWindow takes 1 required property and 2 optional properties
Sensor Visualizer Kit
Native iOS
The visualizer does not work with all controllers. The operating system can present controllers above the application window. These controllers do not work with the sensor visualizer.