GithubHelp home page GithubHelp logo

carabina / sensor-visualizer-kit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from asafkorem/sensor-visualizer-kit

0.0 1.0 0.0 11.22 MB

Visualize iOS sensors for live presentations, iOS AppStore demos, Apple Store prototypes, design reviews.

License: MIT License

Swift 96.54% Ruby 3.46%

sensor-visualizer-kit's Introduction

SensorVisualizerKit

Visualize iOS sensors for live presentations, iOS AppStore demos, Apple Store prototypes, design reviews.

Install

Carthage: To integrate SensorVisualizerKit into your Xcode project using Carthage, specify it in your Cartfile:

github "joeblau/sensor-visualizer-kit" ~> 0.1

Cocoapods: To integrate SensorVisualizerKit into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'SensorVisualizerKit', '~> 0.1'

Use

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
    }
}

Configure

The method signature for initializing the SesnorVisuzliserWindow takes 1 required property and 2 optional properties

  • frame: The size of the window which is usually the screen bounds
  • primary (optional): The tap and shake color which defaults to the tint color
  • secondary (optional): The tap border color which defaults to the tint color

Sensors

Sensor Visualizer Kit

  • Accelerometer: An accelerometer measures changes in velocity along one axis.
  • Bluetooth Radio: A wireless technology standard for exchanging data between fixed and mobile devices over short distances using short-wavelength.
  • Capacitive pressure sensors (3D Touch): When you press the display, capacitive sensors instantly measure microscopic changes in the distance between the cover glass and the backlight. iOS uses these measurements to provide fast, accurate, and continuous response to finger pressure.
  • Digitizer: Thin plastic film attached to the screen. It’s sensitive to your finger movements, and sends information about the position and movements of your fingers to the motherboard.
  • Linear Actuator (Taptic Engine) - A device that can reproduce the sensation of motion or generate new and distinct tactile experiences.
  • Physical Button:
  • Physical Switch:

Native iOS

  • Battery: A device consisting of one or more electrochemical cells with external connections provided to power electrical devices.
  • Cellular Network Radio: A communication network where the last link is wireless.
  • Clock: An instrument used to measure, keep, and indicate time.
  • Global Positioning System (GPS): A global navigation satellite system that provides geolocation and time information to a GPS receiver anywhere on or near the Earth where there is an unobstructed line of sight to four or more GPS satellites.
  • Wi-Fi Radio: A family of radio technologies that is commonly used for the wireless local area networking.

Limitations

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.

sensor-visualizer-kit's People

Contributors

joeblau avatar

Watchers

Carabineiro avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.