Changes

Jump to: navigation, search
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:
 [[Image:xcode_4_draw2D_class_change.jpg]] 
== Locating the drawRect Method in the UIView Subclass ==

Navigation menu