forked from jellehelsen/mapkit
/
MKAnnotationView.j
46 lines (35 loc) · 949 Bytes
/
MKAnnotationView.j
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
@implementation MKAnnotationView : CPView
{
BOOL enabled @accessors(getter=isEnabled);
BOOL highlighted @accessors(getter=isHighlighted);
CPImage image @accessors();
CPView leftCalloutAccessoryView @accessors();
CPString reuseIdentifier @accessors(readonly);
CPView rightCalloutAccessoryView @accessors();
BOOL selected @accessors(getter=isSelected);
MKAnnotation annotation @accessors();
CPPoint calloutOffset @accessors();
BOOL canShowCallout @accessors();
CPPoint centerOffset @accessors();
BOOL draggable @accessors(getter=isDraggable);
//TODO : Dragstate
}
- (id)initWithAnnotation:(MKAnnotation)aAnnotation reuseIdentifer:(CPString)aIdentfier
{
if(self = [super init])
{
self.annotation = aAnnotation;
}
return self;
}
- (void)prepareForReuse
{
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
}
/*
- (void)setDragState:(MKAnnotationViewDragState)newDragState animated:(BOOL)animated
{
}*/
@end