PCrompton / ApplePencilExperiments

Experiments with Apple Pencil development using Apple's sample code as a base: https://developer.apple.com/library/ios/samplecode/TouchCanvas/Introduction/Intro.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TouchCanvas: Using UITouch efficiently and effectively

TouchCanvas illustrates responsive touch handling using coalesced and predictive touches (when available) via a simple drawing app. The sample uses force information (when available) to change line thickness. Apple Pencil and finger touches are distinguished via different colors. In addition, Apple Pencil only data is demonstrated through the use of estimated properties and updates providing the actual property data including the azimuth and altitude of the Apple Pencil while in use.

Requirements

Build

iOS 9.1 SDK, Xcode 7.1

Runtime

iOS 9.1

Copyright (C) 2015 Apple Inc. All rights reserved.

About

Experiments with Apple Pencil development using Apple's sample code as a base: https://developer.apple.com/library/ios/samplecode/TouchCanvas/Introduction/Intro.html

License:Other


Languages

Language:Swift 100.0%