Graphics Programs Reference
In-Depth Information
Now you're going to write a new class called
BNRMapPoint
that will conform to
MKAnnotation
. When the user tags a location, an instance of
BNRMapPoint
will be
created and represented on the map.
From the
File
menu, select
New
and then
New File...
. Then rom the
iOS
section, choose
Cocoa Touch
, select
Objective-C class
, and click
Next
(
Figure 5.14
).
Figure 5.14 Creating an NSObject subclass