Creating the TouchTracker Application
Now let’s get started with your application. In Xcode, create a new Empty Application iPhone project and name it TouchTracker. The class prefix should be the same as the other projects, BNR (Figure 12.2).
Figure 12.2 Creating TouchTracker
First, you will need a model object that describes a line. Create a new subclass of NSObject and name it BNRLine. In BNRLine.h, declare two CGPoint properties:
#import <Foundation/Foundation.h> @interface BNRLine : NSObject @property (nonatomic) CGPoint begin; ...