TouchCanvas: Using UITouch efficiently and effectively
Version 2.1, 2017-11-16
(Full Revision History)
iOS 10 SDK, Xcode 8.0
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.