7. Doodlz App
Multi-Touch Event Handling, Graphics, UIBezierPath
s, Drawing with a Custom UIView
Subclass, UIToolbar
, UIBarButtonItem
, Accelerometer Sensor and Motion Event Handling
Objectives
In this chapter you’ll:
Override UIResponder
touch event-handling methods to process multi-touch events, allowing the user to draw lines by dragging multiple fingers across the screen.
Store each line the user draws as a UIBezierPath
.
Use a UIToolbar
to display ...
Get iOS 8 for Programmers: An App-Driven Approach with Swift, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.