TouchCanvas: Using UITouch efficiently and effectively

Last Revision:
Version 2.1, 2017-11-16
Modernize Swift.
(Full Revision History)
Build Requirements:
iOS 10 SDK, Xcode 8.0
Runtime Requirements:
iOS 9.1

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.