34,333
edits
Changes
→Creating the UIView Subclass
Select the draw2DViewController.xib file and select the UIView component in the View object. Display the Identity Inspector (''View -> Utilities -> Identity Inspector'') and change the Class setting from UIView to our new class named draw2D:
== Locating the drawRect Method in the UIView Subclass ==