34,333
edits
Changes
→The iOS Drawing Example Application
== The iOS Drawing Example Application ==
If you are reading this book sequentially and have created the LiveViewDemo project as outlined in the chapter entitled [[Interface Builder Live Views and iOS 8 Embedded Frameworks|Interface Builder Live Views and iOS 10 Embedded Frameworks]], then the code in this chapter may simply be placed in the draw method contained within the MyDrawView.swift file and the results viewed dynamically within the live view in the Main.storyboard file. If you have not yet completed the tutorial in Interface Builder Live Views and iOS 10 Embedded Frameworks, follow the steps in the next three sections to create a new project, add a UIView subclass and locate the draw method.
== Creating the New Project ==