o Changed data to id type
Showing
1 changed file
with
3 additions
and
2 deletions
@@ -39,8 +39,9 @@ | @@ -39,8 +39,9 @@ | ||
39 | @interface RMMarker : RMMapLayer <RMMovingMapLayer> { | 39 | @interface RMMarker : RMMapLayer <RMMovingMapLayer> { |
40 | /// expressed in projected meters. The anchorPoint of the image is plotted here. | 40 | /// expressed in projected meters. The anchorPoint of the image is plotted here. |
41 | RMProjectedPoint projectedLocation; | 41 | RMProjectedPoint projectedLocation; |
42 | + | ||
42 | /// provided for storage of arbitrary user data | 43 | /// provided for storage of arbitrary user data |
43 | - NSObject* data; | 44 | + id data; |
44 | 45 | ||
45 | /// Text label, visible by default if it has content, but not required. | 46 | /// Text label, visible by default if it has content, but not required. |
46 | UIView *label; | 47 | UIView *label; |
@@ -55,7 +56,7 @@ | @@ -55,7 +56,7 @@ | ||
55 | @property (assign) BOOL enableDragging; | 56 | @property (assign) BOOL enableDragging; |
56 | @property (assign) BOOL enableRotation; | 57 | @property (assign) BOOL enableRotation; |
57 | 58 | ||
58 | -@property (nonatomic, retain) NSObject *data; | 59 | +@property (nonatomic, retain) id data; |
59 | @property (nonatomic, retain) UIView *label; | 60 | @property (nonatomic, retain) UIView *label; |
60 | @property (nonatomic, retain) UIColor *textForegroundColor; | 61 | @property (nonatomic, retain) UIColor *textForegroundColor; |
61 | @property (nonatomic, retain) UIColor *textBackgroundColor; | 62 | @property (nonatomic, retain) UIColor *textBackgroundColor; |
-
Please register or login to post a comment