March 2012
Intermediate to advanced
590 pages
22h 48m
English
TouchDrawView will keep track of all of the lines that have been drawn and any that are currently being drawn. In TouchDrawView.m, create the two collections and import the header for the Line class.
#import "TouchDrawView.h"
#import "Line.h"
@implementation TouchDrawView
- (id)initWithFrame:(CGRect)r { self = [super initWithFrame:r]; if (self) { linesInProcess = [[NSMutableDictionary alloc] init]; // Don't let the autocomplete fool you on the ...Read now
Unlock full access