A lightweight library for building and using touch gestures with SproutCore 2.0 Applications
Switch branches/tags
Nothing to show
Pull request Compare This branch is 89 commits behind emberjs-addons:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
generators
packages/sproutcore-touch
.gitignore
.gitmodules
Gemfile
README.md
Rakefile
VERSION
project.json

README.md

SproutCore Touch

Current Version: 2.0.beta

Overview

SproutCore Touch lays the groundwork for a comprehensive touch and gesture system that sits on top of SproutCore 2.0.

Along with providing support for custom gesture recognizers, SproutCore Touch ships with some pre-built gestures: Pinch, Pan, and Tap.

Consult the gesture.js file for instructions on building your own gestures as well as using the built-in one.

Usage

  1. Download the SproutCore Touch Starter Kit

  2. Unzip and open the kit in your favourite editor

  3. Open the iOS Simulator and try pinching and panning the red box with two fingers

  4. Open js/app.js and play around with the application. You can find docs in gesture.js

How to Run Unit Tests

  1. Install Ruby 1.9.2. There are many resources on the web can help; one of the best is rvm.

  2. Run gem install bpm --pre to install bpm, the browser package manager.

  3. To start the development server, run bpm preview

  4. Then visit: http://localhost:4020/assets/spade-qunit/index.html?package=sproutcore-touch