-
Notifications
You must be signed in to change notification settings - Fork 0
/
MapKit.framework.h
2742 lines (2034 loc) · 105 KB
/
MapKit.framework.h
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// ========== MapKit.framework/Headers/MKGeodesicPolyline.h
//
// MKGeodesicPolyline.h
// MapKit
//
// Copyright (c) 2013-2014, Apple Inc. All rights reserved.
//
#import <MapKit/MKPolyline.h>
NS_ASSUME_NONNULL_BEGIN
/*
An MKGeodesicPolyline follows the shortest path along the surface of the earth,
which may appear as a curved line when drawn on the projected MKMapView.
*/
NS_CLASS_AVAILABLE(10_9, 7_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
@interface MKGeodesicPolyline : MKPolyline
+ (instancetype)polylineWithPoints:(const MKMapPoint *)points count:(NSUInteger)count;
+ (instancetype)polylineWithCoordinates:(const CLLocationCoordinate2D *)coords count:(NSUInteger)count;
@end
NS_ASSUME_NONNULL_END
// ========== MapKit.framework/Headers/MKPolygon.h
//
// MKPolygon.h
// MapKit
//
// Copyright (c) 2010-2014, Apple Inc. All rights reserved.
//
#import <MapKit/MKFoundation.h>
#import <MapKit/MKMultiPoint.h>
#import <MapKit/MKOverlay.h>
NS_ASSUME_NONNULL_BEGIN
NS_CLASS_AVAILABLE(10_9, 4_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
@interface MKPolygon : MKMultiPoint <MKOverlay>
+ (instancetype)polygonWithPoints:(const MKMapPoint *)points count:(NSUInteger)count;
+ (instancetype)polygonWithPoints:(const MKMapPoint *)points count:(NSUInteger)count interiorPolygons:(nullable NSArray<MKPolygon *> *)interiorPolygons;
+ (instancetype)polygonWithCoordinates:(const CLLocationCoordinate2D *)coords count:(NSUInteger)count;
+ (instancetype)polygonWithCoordinates:(const CLLocationCoordinate2D *)coords count:(NSUInteger)count interiorPolygons:(nullable NSArray<MKPolygon *> *)interiorPolygons;
@property (atomic, readonly, nullable) NSArray<MKPolygon *> *interiorPolygons;
@end
NS_ASSUME_NONNULL_END
// ========== MapKit.framework/Headers/MKMapCamera.h
//
// MKMapCamera.h
// MapKit
//
// Copyright (c) 2013-2014, Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <MapKit/MKFoundation.h>
#if __has_include(<UIKit/UIView.h>) || !TARGET_OS_IPHONE
#import <CoreLocation/CoreLocation.h>
#import <CoreGraphics/CoreGraphics.h>
NS_ASSUME_NONNULL_BEGIN
NS_CLASS_AVAILABLE(10_9, 7_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
@interface MKMapCamera : NSObject <NSSecureCoding, NSCopying>
@property (nonatomic) CLLocationCoordinate2D centerCoordinate;
@property (nonatomic) CLLocationDistance centerCoordinateDistance API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
@property (nonatomic) CLLocationDirection heading;
@property (nonatomic) CGFloat pitch; // In degrees where 0 is looking straight down. Pitch may be clamped to an appropriate value.
@property (nonatomic) CLLocationDistance altitude API_DEPRECATED("Use centerCoordinateDistance", ios(7.0, API_TO_BE_DEPRECATED), macos(10.9, API_TO_BE_DEPRECATED), tvos(9.2, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos);
+ (instancetype)camera;
+ (instancetype)cameraLookingAtCenterCoordinate:(CLLocationCoordinate2D)centerCoordinate
fromEyeCoordinate:(CLLocationCoordinate2D)eyeCoordinate
eyeAltitude:(CLLocationDistance)eyeAltitude;
+ (instancetype)cameraLookingAtCenterCoordinate:(CLLocationCoordinate2D)centerCoordinate
fromDistance:(CLLocationDistance)distance
pitch:(CGFloat)pitch
heading:(CLLocationDirection)heading NS_AVAILABLE(10_11, 9_0);
@end
NS_ASSUME_NONNULL_END
#endif
// ========== MapKit.framework/Headers/MKLocalSearch.h
//
// MKLocalSearch.h
// MapKit
//
// Copyright (c) 2012-2014, Apple Inc. All rights reserved.
//
#import <MapKit/MKFoundation.h>
NS_ASSUME_NONNULL_BEGIN
@class MKLocalSearchRequest;
@class MKLocalSearchResponse;
typedef void (^MKLocalSearchCompletionHandler)(MKLocalSearchResponse * __nullable response, NSError * __nullable error);
NS_CLASS_AVAILABLE(10_9, 6_1) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
@interface MKLocalSearch : NSObject
// The request will be copied during initialization, so any changes made to the request
// after this method returns do not affect the request used in -startWithCompletionHandler:
- (instancetype)initWithRequest:(MKLocalSearchRequest *)request NS_DESIGNATED_INITIALIZER;
// Any calls to -startWithCompletionHandler: while -[MKLocalSearch isSearching] will fail.
// completionHandler will be called on the main queue
- (void)startWithCompletionHandler:(MKLocalSearchCompletionHandler)completionHandler;
- (void)cancel;
@property (nonatomic, readonly, getter=isSearching) BOOL searching;
@end
NS_ASSUME_NONNULL_END
// ========== MapKit.framework/Headers/MKCircleRenderer.h
//
// MKCircleRenderer.h
// MapKit
//
// Copyright (c) 2010-2014, Apple Inc. All rights reserved.
//
#import <MapKit/MKOverlayPathRenderer.h>
#import <MapKit/MKCircle.h>
NS_ASSUME_NONNULL_BEGIN
NS_CLASS_AVAILABLE(10_9, 7_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
@interface MKCircleRenderer : MKOverlayPathRenderer
- (instancetype)initWithCircle:(MKCircle *)circle;
@property (nonatomic, readonly) MKCircle *circle;
@end
NS_ASSUME_NONNULL_END
// ========== MapKit.framework/Headers/MKPolyline.h
//
// MKPolyline.h
// MapKit
//
// Copyright (c) 2010-2014, Apple Inc. All rights reserved.
//
#import <MapKit/MKMultiPoint.h>
#import <MapKit/MKOverlay.h>
#import <MapKit/MKFoundation.h>
NS_ASSUME_NONNULL_BEGIN
NS_CLASS_AVAILABLE(10_9, 4_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
@interface MKPolyline : MKMultiPoint <MKOverlay>
+ (instancetype)polylineWithPoints:(const MKMapPoint *)points count:(NSUInteger)count;
+ (instancetype)polylineWithCoordinates:(const CLLocationCoordinate2D *)coords count:(NSUInteger)count;
@end
NS_ASSUME_NONNULL_END
// ========== MapKit.framework/Headers/MKUserTrackingButton.h
//
// MKUserTrackingButton.h
// MapKit
//
// Copyright © 2017 Apple, Inc. All rights reserved.
//
#import <UIKit/UIView.h>
@class MKMapView;
NS_ASSUME_NONNULL_BEGIN
NS_CLASS_AVAILABLE_IOS(11_0) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos)
@interface MKUserTrackingButton : UIView
+ (instancetype)userTrackingButtonWithMapView:(nullable MKMapView *)mapView;
@property (nonatomic, nullable, weak) MKMapView *mapView;
@end
NS_ASSUME_NONNULL_END
// ========== MapKit.framework/Headers/MKGeoJSONSerialization.h
//
// MKGeoJSONSerialization.h
// MapKit
//
// Copyright (c) 2019, Apple Inc. All rights reserved.
//
#import <MapKit/MapKit.h>
NS_ASSUME_NONNULL_BEGIN
API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos)
@protocol MKGeoJSONObject <NSObject>
@end
API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos)
@interface MKGeoJSONDecoder : NSObject
- (NSArray<id<MKGeoJSONObject>> * _Nullable)geoJSONObjectsWithData:(NSData *)data error:(NSError ** _Nullable)errorPtr NS_SWIFT_NAME(decode(_:));
@end
API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos)
@interface MKGeoJSONFeature : NSObject <MKGeoJSONObject>
// If set, will be either a string or a number, depending on the original source data
@property (nonatomic, readonly, nullable) NSString *identifier;
// Serialized JSON
@property (nonatomic, readonly, nullable) NSData *properties;
@property (nonatomic, readonly) NSArray<__kindof MKShape<MKGeoJSONObject> *> *geometry;
@end
API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos)
@interface MKPointAnnotation (MKGeoJSONSerialization) <MKGeoJSONObject>
@end
API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos)
@interface MKMultiPoint (MKGeoJSONSerialization) <MKGeoJSONObject>
@end
API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos)
@interface MKMultiPolyline (MKGeoJSONSerialization) <MKGeoJSONObject>
@end
API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos)
@interface MKMultiPolygon (MKGeoJSONSerialization) <MKGeoJSONObject>
@end
API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos)
@interface MKPolyline (MKGeoJSONSerialization) <MKGeoJSONObject>
@end
API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos)
@interface MKPolygon (MKGeoJSONSerialization) <MKGeoJSONObject>
@end
NS_ASSUME_NONNULL_END
// ========== MapKit.framework/Headers/MKPolylineRenderer.h
//
// MKPolylineRenderer.h
// MapKit
//
// Copyright (c) 2013-2014, Apple Inc. All rights reserved.
//
#import <MapKit/MKFoundation.h>
#import <MapKit/MKOverlayPathRenderer.h>
#import <MapKit/MKPolyline.h>
NS_ASSUME_NONNULL_BEGIN
NS_CLASS_AVAILABLE(10_9, 7_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
@interface MKPolylineRenderer : MKOverlayPathRenderer
- (instancetype)initWithPolyline:(MKPolyline *)polyline;
@property (nonatomic, readonly) MKPolyline *polyline;
@end
NS_ASSUME_NONNULL_END
// ========== MapKit.framework/Headers/MKReverseGeocoder.h
//
// MKReverseGeocoder.h
// MapKit
//
// Copyright (c) 2009-2014, Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreLocation/CLLocation.h>
#import <MapKit/MKTypes.h>
#import <MapKit/MKFoundation.h>
#import <MapKit/MKPlacemark.h>
@protocol MKReverseGeocoderDelegate;
// MKReverseGeocoder is now deprecated.
// Use CLGeocoder in CoreLocation instead.
NS_CLASS_DEPRECATED(NA, NA, 3_0, 5_0) API_UNAVAILABLE(tvos, watchos)
@interface MKReverseGeocoder : NSObject
- (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate NS_DEPRECATED_IOS(3_0,5_0);
// A MKReverseGeocoder object should only be started once.
- (void)start NS_DEPRECATED_IOS(3_0,5_0);
- (void)cancel NS_DEPRECATED_IOS(3_0,5_0);
@property (nonatomic, weak) id<MKReverseGeocoderDelegate> delegate NS_DEPRECATED_IOS(3_0,5_0);
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate NS_DEPRECATED_IOS(3_0,5_0);
@property (nonatomic, readonly) MKPlacemark *placemark NS_DEPRECATED_IOS(3_2,5_0);
@property (nonatomic, readonly, getter=isQuerying) BOOL querying NS_DEPRECATED_IOS(3_0,5_0);
@end
NS_CLASS_DEPRECATED(NA, NA, 3_0, 5_0) API_UNAVAILABLE(tvos, watchos)
@protocol MKReverseGeocoderDelegate <NSObject>
@required
- (void)reverseGeocoder:(MKReverseGeocoder *)geocoder didFindPlacemark:(MKPlacemark *)placemark NS_DEPRECATED_IOS(3_0,5_0);
// There are at least two types of errors:
// - Errors sent up from the underlying connection (temporary condition)
// - Result not found errors (permanent condition). The result not found errors
// will have the domain MKErrorDomain and the code MKErrorPlacemarkNotFound
- (void)reverseGeocoder:(MKReverseGeocoder *)geocoder didFailWithError:(NSError *)error NS_DEPRECATED_IOS(3_0,5_0);
@end
// ========== MapKit.framework/Headers/MKPolygonRenderer.h
//
// MKPolygonRenderer.h
// MapKit
//
// Copyright (c) 2013-2014, Apple Inc. All rights reserved.
//
#import <MapKit/MKOverlayPathRenderer.h>
#import <MapKit/MKPolygon.h>
NS_ASSUME_NONNULL_BEGIN
NS_CLASS_AVAILABLE(10_9, 7_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
@interface MKPolygonRenderer : MKOverlayPathRenderer
- (instancetype)initWithPolygon:(MKPolygon *)polygon;
@property (nonatomic, readonly) MKPolygon *polygon;
@end
NS_ASSUME_NONNULL_END
// ========== MapKit.framework/Headers/MKOverlayPathView.h
//
// MKOverlayPathView.h
// MapKit
//
// Copyright (c) 2010-2014, Apple Inc. All rights reserved.
//
#import <MapKit/MKFoundation.h>
#if MK_SUPPORTS_VIEW_CLASSES
#import <UIKit/UIKit.h>
#import <MapKit/MKOverlayView.h>
// Prefer MKOverlayPathRenderer
API_DEPRECATED_WITH_REPLACEMENT("MKOverlayPathRenderer", ios(4.0, 13.0)) API_UNAVAILABLE(macos, tvos, watchos)
@interface MKOverlayPathView : MKOverlayView
@property (strong) UIColor *fillColor NS_DEPRECATED_IOS(4_0, 7_0);
@property (strong) UIColor *strokeColor NS_DEPRECATED_IOS(4_0, 7_0);
@property CGFloat lineWidth NS_DEPRECATED_IOS(4_0, 7_0); // defaults to 0, which is MKRoadWidthAtZoomScale(currentZoomScale)
@property CGLineJoin lineJoin NS_DEPRECATED_IOS(4_0, 7_0); // defaults to kCGLineJoinRound
@property CGLineCap lineCap NS_DEPRECATED_IOS(4_0, 7_0); // defaults to kCGLineCapRound
@property CGFloat miterLimit NS_DEPRECATED_IOS(4_0, 7_0); // defaults to 10
@property CGFloat lineDashPhase NS_DEPRECATED_IOS(4_0, 7_0); // defaults to 0
@property (copy) NSArray *lineDashPattern NS_DEPRECATED_IOS(4_0, 7_0); // an array of NSNumbers, defaults to nil
// subclassers should override this to create a path and then set it on
// themselves with self.path = newPath;
- (void)createPath NS_DEPRECATED_IOS(4_0, 7_0);
// returns cached path or calls createPath if path has not yet been created
@property CGPathRef path NS_DEPRECATED_IOS(4_0, 7_0); // path will be retained
- (void)invalidatePath NS_DEPRECATED_IOS(4_0, 7_0);
// subclassers may override these
- (void)applyStrokePropertiesToContext:(CGContextRef)context
atZoomScale:(MKZoomScale)zoomScale NS_DEPRECATED_IOS(4_0, 7_0);
- (void)applyFillPropertiesToContext:(CGContextRef)context
atZoomScale:(MKZoomScale)zoomScale NS_DEPRECATED_IOS(4_0, 7_0);
- (void)strokePath:(CGPathRef)path inContext:(CGContextRef)context NS_DEPRECATED_IOS(4_0, 7_0);
- (void)fillPath:(CGPathRef)path inContext:(CGContextRef)context NS_DEPRECATED_IOS(4_0, 7_0);
@end
#endif // MK_SUPPORTS_VIEW_CLASSES
// ========== MapKit.framework/Headers/MKCircleView.h
//
// MKCircleView.h
// MapKit
//
// Copyright (c) 2010-2014, Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <MapKit/MKFoundation.h>
#if MK_SUPPORTS_VIEW_CLASSES
#import <MapKit/MKCircle.h>
#import <MapKit/MKOverlayPathView.h>
// Prefer MKCircleRenderer
API_DEPRECATED_WITH_REPLACEMENT("MKCircleRenderer", ios(4.0, 13.0)) API_UNAVAILABLE(macos, tvos, watchos)
@interface MKCircleView : MKOverlayPathView
- (instancetype)initWithCircle:(MKCircle *)circle NS_DEPRECATED_IOS(4_0, 7_0);
@property (nonatomic, readonly) MKCircle *circle NS_DEPRECATED_IOS(4_0, 7_0);
@end
#endif // MK_SUPPORTS_VIEW_CLASSES
// ========== MapKit.framework/Headers/MKAnnotationView.h
//
// MKAnnotationView.h
// MapKit
//
// Copyright (c) 2009-2014, Apple Inc. All rights reserved.
//
#import <MapKit/MKFoundation.h>
#if MK_SUPPORTS_VIEW_CLASSES
#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
#else
#import <AppKit/AppKit.h>
#endif
NS_ASSUME_NONNULL_BEGIN
// Post this notification to re-query callout information.
MK_EXTERN NSString * const MKAnnotationCalloutInfoDidChangeNotification;
typedef NS_ENUM(NSUInteger, MKAnnotationViewDragState) {
MKAnnotationViewDragStateNone = 0, // View is at rest, sitting on the map.
MKAnnotationViewDragStateStarting, // View is beginning to drag (e.g. pin lift)
MKAnnotationViewDragStateDragging, // View is dragging ("lift" animations are complete)
MKAnnotationViewDragStateCanceling, // View was not dragged and should return to its starting position (e.g. pin drop)
MKAnnotationViewDragStateEnding // View was dragged, new coordinate is set and view should return to resting position (e.g. pin drop)
} NS_ENUM_AVAILABLE(10_9, 4_0) API_UNAVAILABLE(tvos, watchos);
typedef float MKFeatureDisplayPriority NS_TYPED_EXTENSIBLE_ENUM NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0) API_UNAVAILABLE(watchos);
static const MKFeatureDisplayPriority MKFeatureDisplayPriorityRequired NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0) API_UNAVAILABLE(watchos) = 1000;
static const MKFeatureDisplayPriority MKFeatureDisplayPriorityDefaultHigh NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0) API_UNAVAILABLE(watchos) = 750;
static const MKFeatureDisplayPriority MKFeatureDisplayPriorityDefaultLow NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0) API_UNAVAILABLE(watchos) = 250;
typedef NS_ENUM(NSInteger, MKAnnotationViewCollisionMode) {
MKAnnotationViewCollisionModeRectangle,
MKAnnotationViewCollisionModeCircle
} NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0) API_UNAVAILABLE(watchos);
@protocol MKAnnotation;
#if TARGET_OS_IPHONE
NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
@interface MKAnnotationView : UIView
#else
NS_CLASS_AVAILABLE(10_9, NA)
@interface MKAnnotationView : NSView
#endif
- (instancetype)initWithAnnotation:(nullable id <MKAnnotation>)annotation reuseIdentifier:(nullable NSString *)reuseIdentifier NS_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder *)aDecoder NS_DESIGNATED_INITIALIZER;
@property (nonatomic, readonly, nullable) NSString *reuseIdentifier;
// Classes that override must call super.
- (void)prepareForReuse;
- (void)prepareForDisplay NS_REQUIRES_SUPER NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0);
@property (nonatomic, strong, nullable) id <MKAnnotation> annotation;
#if TARGET_OS_IPHONE
@property (nonatomic, strong, nullable) UIImage *image;
#else
@property (nonatomic, strong, nullable) NSImage *image;
#endif
// By default, the center of annotation view is placed over the coordinate of the annotation.
// centerOffset is the offset in screen points from the center of the annotion view.
@property (nonatomic) CGPoint centerOffset;
// calloutOffset is the offset in screen points from the top-middle of the annotation view, where the anchor of the callout should be shown.
@property (nonatomic) CGPoint calloutOffset;
#if !TARGET_OS_IPHONE
// leftCalloutOffset is the offset in screen points from the middle-left of the annotation view, where the anchor of the callout should be shown when oriented off the left side of the annotation view
@property (nonatomic) CGPoint leftCalloutOffset;
// rightCalloutOffset is the offset in screen points from the middle-right of the annotation view, where the anchor of the callout should be shown when oriented off the right side of the annotation view
@property (nonatomic) CGPoint rightCalloutOffset;
#endif
// Defaults to YES. If NO, ignores touch events and subclasses may draw differently.
@property (nonatomic, getter=isEnabled) BOOL enabled;
// Defaults to NO. This gets set/cleared automatically when touch enters/exits during tracking and cleared on up.
@property (nonatomic, getter=isHighlighted) BOOL highlighted;
// Defaults to NO. Becomes YES when tapped/clicked on in the map view.
@property (nonatomic, getter=isSelected) BOOL selected;
- (void)setSelected:(BOOL)selected animated:(BOOL)animated;
// If YES, a standard callout bubble will be shown when the annotation is selected.
// The annotation must have a title for the callout to be shown.
@property (nonatomic) BOOL canShowCallout;
// The left accessory view to be used in the standard callout.
#if TARGET_OS_IPHONE
@property (strong, nonatomic, nullable) UIView *leftCalloutAccessoryView;
#else
@property (strong, nonatomic, nullable) NSView *leftCalloutAccessoryView;
#endif
// The right accessory view to be used in the standard callout.
#if TARGET_OS_IPHONE
@property (strong, nonatomic, nullable) UIView *rightCalloutAccessoryView;
#else
@property (strong, nonatomic, nullable) NSView *rightCalloutAccessoryView;
#endif
// The detail accessory view to be used in the standard callout.
#if TARGET_OS_IPHONE
@property (nonatomic, strong, nullable) UIView *detailCalloutAccessoryView NS_AVAILABLE(10_11, 9_0);
#else
@property (nonatomic, strong, nullable) NSView *detailCalloutAccessoryView NS_AVAILABLE(10_11, 9_0);
#endif
// If YES and the underlying id<MKAnnotation> responds to setCoordinate:,
// the user will be able to drag this annotation view around the map.
@property (nonatomic, getter=isDraggable) BOOL draggable NS_AVAILABLE(10_9, 4_0) API_UNAVAILABLE(tvos);
// Automatically set to MKAnnotationViewDragStateStarting, Canceling, and Ending when necessary.
// Implementer is responsible for transitioning to Dragging and None states as appropriate.
@property (nonatomic) MKAnnotationViewDragState dragState NS_AVAILABLE(10_9, 4_0) API_UNAVAILABLE(tvos);
// Developers targeting iOS 4.2 and after must use setDragState:animated: instead of setDragState:.
- (void)setDragState:(MKAnnotationViewDragState)newDragState animated:(BOOL)animated NS_AVAILABLE(10_9, 4_2) API_UNAVAILABLE(tvos);
// Annotation views with equal non-nil identifiers can cluster together.
@property (nonatomic, copy, nullable) NSString *clusteringIdentifier NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0);
// If non-nil this is the annotation view this view is clustered into.
@property (nonatomic, weak, readonly, nullable) MKAnnotationView *clusterAnnotationView NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0);
// Default is MKFeatureDisplayPriorityRequired, other values opts into collision occlusion by priority.
@property (nonatomic) MKFeatureDisplayPriority displayPriority NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0);
// Default collision mode is rectangle.
@property (nonatomic) MKAnnotationViewCollisionMode collisionMode NS_AVAILABLE(10_13, 11_0) __TVOS_AVAILABLE(11_0);
@end
NS_ASSUME_NONNULL_END
#endif // MK_SUPPORTS_VIEW_CLASSES
// ========== MapKit.framework/Headers/MKAnnotation.h
//
// MKAnnotation.h
// MapKit
//
// Copyright (c) 2009-2014, Apple Inc. All rights reserved.
//
#import <CoreGraphics/CoreGraphics.h>
#import <CoreLocation/CoreLocation.h>
#import <MapKit/MKFoundation.h>
NS_ASSUME_NONNULL_BEGIN
@protocol MKAnnotation <NSObject>
// Center latitude and longitude of the annotation view.
// The implementation of this property must be KVO compliant.
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
@optional
// Title and subtitle for use by selection UI.
@property (nonatomic, readonly, copy, nullable) NSString *title;
@property (nonatomic, readonly, copy, nullable) NSString *subtitle;
// Called as a result of dragging an annotation view.
- (void)setCoordinate:(CLLocationCoordinate2D)newCoordinate NS_AVAILABLE(10_9, 4_0);
@end
NS_ASSUME_NONNULL_END
// ========== MapKit.framework/Headers/MKMapCameraZoomRange.h
//
// MKMapCameraZoomRange.h
// MapKit
//
// Copyright © 2018 Apple, Inc. All rights reserved.
//
#import <MapKit/MKFoundation.h>
#if MK_SUPPORTS_VIEW_CLASSES
#import <CoreLocation/CoreLocation.h>
MK_EXTERN const CLLocationDistance MKMapCameraZoomDefault API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
NS_ASSUME_NONNULL_BEGIN
API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos)
@interface MKMapCameraZoomRange : NSObject <NSSecureCoding, NSCopying>
- (nullable instancetype)initWithMinCenterCoordinateDistance:(CLLocationDistance)minDistance maxCenterCoordinateDistance:(CLLocationDistance)maxDistance NS_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithMinCenterCoordinateDistance:(CLLocationDistance)minDistance;
- (nullable instancetype)initWithMaxCenterCoordinateDistance:(CLLocationDistance)maxDistance;
@property (nonatomic, readonly) CLLocationDistance minCenterCoordinateDistance;
@property (nonatomic, readonly) CLLocationDistance maxCenterCoordinateDistance;
@end
NS_ASSUME_NONNULL_END
#endif
// ========== MapKit.framework/Headers/MKDistanceFormatter.h
//
// MKDistanceFormatter.h
// MapKit
//
// Copyright (c) 2013-2014, Apple Inc. All rights reserved.
//
#import <MapKit/MKFoundation.h>
#import <CoreLocation/CoreLocation.h>
NS_ASSUME_NONNULL_BEGIN
NS_CLASS_AVAILABLE(10_9, 7_0) __TVOS_AVAILABLE(9_2)
@interface MKDistanceFormatter : NSFormatter
// Convenience methods. MKDistanceFormatter also responds to the usual NSFormatter methods.
- (NSString *)stringFromDistance:(CLLocationDistance)distance;
- (CLLocationDistance)distanceFromString:(NSString *)distance; // Returns negative distance if distance string could not be parsed.
@property (copy, NS_NONATOMIC_IOSONLY, null_resettable) NSLocale *locale; // defaults to current locale
typedef NS_ENUM(NSUInteger, MKDistanceFormatterUnits) {
MKDistanceFormatterUnitsDefault, // Let units depend on locale. Note that some locales use imperial measurements for distances but metric for everything else, so this is not identical to NSLocaleUsesMetricSystem.
MKDistanceFormatterUnitsMetric,
MKDistanceFormatterUnitsImperial,
MKDistanceFormatterUnitsImperialWithYards
} NS_ENUM_AVAILABLE(10_9, 7_0) __TVOS_AVAILABLE(9_2);
@property (assign, NS_NONATOMIC_IOSONLY) MKDistanceFormatterUnits units;
typedef NS_ENUM(NSUInteger, MKDistanceFormatterUnitStyle) {
MKDistanceFormatterUnitStyleDefault = 0, // Whether to abbreviate depends on units, locale, and user interface language
MKDistanceFormatterUnitStyleAbbreviated, // Ex. km
MKDistanceFormatterUnitStyleFull // Ex. kilometers
} NS_ENUM_AVAILABLE(10_9, 7_0) __TVOS_AVAILABLE(9_2);
@property (assign, NS_NONATOMIC_IOSONLY) MKDistanceFormatterUnitStyle unitStyle;
@end
NS_ASSUME_NONNULL_END
// ========== MapKit.framework/Headers/MKPlacemark.h
//
// MKPlacemark.h
// MapKit
//
// Copyright (c) 2009-2014, Apple Inc. All rights reserved.
//
#import <MapKit/MKFoundation.h>
#import <MapKit/MKAnnotation.h>
#import <CoreLocation/CLLocation.h>
#import <CoreLocation/CLPlacemark.h>
@class CNPostalAddress;
NS_ASSUME_NONNULL_BEGIN
NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2)
@interface MKPlacemark : CLPlacemark <MKAnnotation>
- (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate NS_AVAILABLE(10_12, 10_0) __TVOS_AVAILABLE(10_0) __WATCHOS_AVAILABLE(3_0);
// An address dictionary is a dictionary in the same form as returned by
// ABRecordCopyValue(person, kABPersonAddressProperty).
- (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate
addressDictionary:(nullable NSDictionary<NSString *, id> *)addressDictionary;
- (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate
postalAddress:(nonnull CNPostalAddress *)postalAddress NS_AVAILABLE(10_12, 10_0) __WATCHOS_AVAILABLE(3_0) __TVOS_UNAVAILABLE;
// To create an MKPlacemark from a CLPlacemark, call [MKPlacemark initWithPlacemark:] passing the CLPlacemark instance that is returned by CLGeocoder.
// See CLGeocoder.h and CLPlacemark.h in CoreLocation for more information.
@property (nonatomic, readonly, nullable) NSString *countryCode;
@end
NS_ASSUME_NONNULL_END
// ========== MapKit.framework/Headers/MKOverlay.h
//
// MKOverlay.h
// MapKit
//
// Copyright (c) 2010-2014, Apple Inc. All rights reserved.
//
#import <MapKit/MKFoundation.h>
#import <MapKit/MKAnnotation.h>
#import <MapKit/MKTypes.h>
#import <MapKit/MKGeometry.h>
NS_ASSUME_NONNULL_BEGIN
API_AVAILABLE(ios(4.0), tvos(9.2), macos(10.9)) API_UNAVAILABLE(watchos)
@protocol MKOverlay <MKAnnotation>
@required
// From MKAnnotation, for areas this should return the centroid of the area.
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
// boundingMapRect should be the smallest rectangle that completely contains the overlay.
// For overlays that span the 180th meridian, boundingMapRect should have either a negative MinX or a MaxX that is greater than MKMapSizeWorld.width.
@property (nonatomic, readonly) MKMapRect boundingMapRect;
@optional
// Implement intersectsMapRect to provide more precise control over when the view for the overlay should be shown.
// If omitted, MKMapRectIntersectsRect([overlay boundingRect], mapRect) will be used instead.
- (BOOL)intersectsMapRect:(MKMapRect)mapRect;
// If this method is implemented and returns YES, MKMapView may use it as a hint to skip loading or drawing the built in map content in the area covered by this overlay.
- (BOOL)canReplaceMapContent NS_AVAILABLE(10_9, 7_0);
@end
NS_ASSUME_NONNULL_END
// ========== MapKit.framework/Headers/MKMultiPoint.h
//
// MKMultiPoint.h
// MapKit
//
// Copyright (c) 2010-2014, Apple Inc. All rights reserved.
//
#import <MapKit/MKFoundation.h>
#import <MapKit/MKShape.h>
#import <MapKit/MKGeometry.h>
#import <MapKit/MKTypes.h>
NS_ASSUME_NONNULL_BEGIN
NS_CLASS_AVAILABLE(10_9, 4_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
@interface MKMultiPoint : MKShape
- (MKMapPoint *)points NS_RETURNS_INNER_POINTER;
@property (nonatomic, readonly) NSUInteger pointCount;
// Unproject and copy points into the provided array of coordinates that
// must be large enough to hold range.length coordinates.
- (void)getCoordinates:(CLLocationCoordinate2D *)coords range:(NSRange)range;
@end
NS_ASSUME_NONNULL_END
// ========== MapKit.framework/Headers/MKDirectionsTypes.h
//
// MKDirectionsTypes.h
// MapKit
//
// Copyright (c) 2013-2014, Apple Inc. All rights reserved.
//
#import <MapKit/MKFoundation.h>
typedef NS_OPTIONS(NSUInteger, MKDirectionsTransportType) {
MKDirectionsTransportTypeAutomobile = 1 << 0,
MKDirectionsTransportTypeWalking = 1 << 1,
MKDirectionsTransportTypeTransit NS_ENUM_AVAILABLE(10_11, 9_0) = 1 << 2, // Only supported for ETA calculations
MKDirectionsTransportTypeAny = 0x0FFFFFFF
} NS_ENUM_AVAILABLE(10_9, 7_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos);
// ========== MapKit.framework/Headers/MKCircle.h
//
// MKCircle.h
// MapKit
//
// Copyright (c) 2010-2014, Apple Inc. All rights reserved.
//
#import <MapKit/MKShape.h>
#import <MapKit/MKOverlay.h>
#import <MapKit/MKGeometry.h>
#import <MapKit/MKFoundation.h>
NS_ASSUME_NONNULL_BEGIN
NS_CLASS_AVAILABLE(10_9, 4_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
@interface MKCircle : MKShape <MKOverlay>
+ (instancetype)circleWithCenterCoordinate:(CLLocationCoordinate2D)coord
radius:(CLLocationDistance)radius;
+ (instancetype)circleWithMapRect:(MKMapRect)mapRect; // radius will be determined from MAX(width, height)
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
@property (nonatomic, readonly) CLLocationDistance radius;
@property (nonatomic, readonly) MKMapRect boundingMapRect;
@end
NS_ASSUME_NONNULL_END
// ========== MapKit.framework/Headers/MKMapSnapshotOptions.h
//
// MKMapSnapshotOptions.h
// MapKit
//
// Copyright (c) 2013-2014, Apple Inc. All rights reserved.
//
#import <MapKit/MKFoundation.h>
#if __has_include(<UIKit/UIView.h>) || !TARGET_OS_IPHONE
#import <MapKit/MKGeometry.h>
#import <MapKit/MKTypes.h>
#import <MapKit/MKMapView.h>
@class MKPointOfInterestFilter;
NS_ASSUME_NONNULL_BEGIN
NS_CLASS_AVAILABLE(10_9, 7_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
@interface MKMapSnapshotOptions : NSObject <NSCopying>
@property (nonatomic, copy) MKMapCamera *camera;
@property (nonatomic, assign) MKMapRect mapRect;
@property (nonatomic, assign) MKCoordinateRegion region;
@property (nonatomic, assign) MKMapType mapType;
@property (nonatomic, copy, nullable) MKPointOfInterestFilter *pointOfInterestFilter API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
@property (nonatomic) BOOL showsPointsOfInterest API_DEPRECATED("Use pointOfInterestFilter", macos(10.9, 10.15), ios(7.0, 13.0), tvos(9.2, 13.0)) API_UNAVAILABLE(watchos); // Affects MKMapTypeStandard and MKMapTypeHybrid
@property (nonatomic) BOOL showsBuildings; // Affects MKMapTypeStandard
// The size of the image to create. Defaults to 256x256
#if TARGET_OS_IPHONE
@property (nonatomic, assign) CGSize size;
#else
@property (nonatomic, assign) NSSize size;
@property (nonatomic, nullable, strong) NSAppearance *appearance API_AVAILABLE(macos(10.14)) API_UNAVAILABLE(ios, tvos, watchos);
#endif
#if TARGET_OS_IPHONE
// Defaults to the device's screen scale
@property (nonatomic, assign) CGFloat scale API_DEPRECATED("Use traitCollection.displayScale", ios(7.0, API_TO_BE_DEPRECATED), tvos(9.2, API_TO_BE_DEPRECATED));
@property (nonatomic, copy) UITraitCollection *traitCollection API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(macos);
#endif
@end
NS_ASSUME_NONNULL_END
#endif
// ========== MapKit.framework/Headers/MKPointAnnotation.h
//
// MKPointAnnotation.h
// MapKit
//
// Copyright (c) 2010-2014, Apple Inc. All rights reserved.
//
#import <MapKit/MKFoundation.h>
#import <MapKit/MKShape.h>
#import <MapKit/MKFoundation.h>
#import <CoreLocation/CLLocation.h>
NS_ASSUME_NONNULL_BEGIN
NS_CLASS_AVAILABLE(10_9, 4_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
@interface MKPointAnnotation : MKShape
- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos);
- (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate title:(nullable NSString *)title subtitle:(nullable NSString *)subtitle NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15)) API_UNAVAILABLE(watchos);
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
@end
NS_ASSUME_NONNULL_END
// ========== MapKit.framework/Headers/NSUserActivity+MKMapItem.h
//
// NSUserActivity+MKMapItem.h
// MapKit
//
// Copyright (c) 2009-2016, Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
@class MKMapItem;
@interface NSUserActivity (MKMapItem)
@property (nonatomic, strong) MKMapItem *mapItem NS_AVAILABLE(10_12, 10_0) __TVOS_AVAILABLE(10_0) __WATCHOS_AVAILABLE(3_0);
@end
// ========== MapKit.framework/Headers/MKMapSnapshotter.h
//
// MKMapSnapshotter.h
// MapKit
//
// Copyright (c) 2013-2014, Apple Inc. All rights reserved.
//
#import <MapKit/MKFoundation.h>
@class MKMapSnapshotOptions;
@class MKMapSnapshot;
NS_ASSUME_NONNULL_BEGIN
typedef void (^MKMapSnapshotCompletionHandler)(MKMapSnapshot * __nullable snapshot, NSError * __nullable error);
NS_CLASS_AVAILABLE(10_9, 7_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
@interface MKMapSnapshotter : NSObject
- (instancetype)initWithOptions:(MKMapSnapshotOptions *)options NS_DESIGNATED_INITIALIZER;
- (void)startWithCompletionHandler:(MKMapSnapshotCompletionHandler)completionHandler; // defaults to the main queue
- (void)startWithQueue:(dispatch_queue_t)queue completionHandler:(MKMapSnapshotCompletionHandler)completionHandler;
- (void)cancel;
@property (nonatomic, readonly, getter=isLoading) BOOL loading;
@end
NS_ASSUME_NONNULL_END
// ========== MapKit.framework/Headers/MKPinAnnotationView.h
//
// MKPinAnnotationView.h
// MapKit
//
// Copyright (c) 2009-2014, Apple Inc. All rights reserved.
//
#import <MapKit/MKFoundation.h>
#if MK_SUPPORTS_VIEW_CLASSES
#import <MapKit/MKAnnotationView.h>
typedef NS_ENUM(NSUInteger, MKPinAnnotationColor) {
MKPinAnnotationColorRed = 0,
MKPinAnnotationColorGreen,
MKPinAnnotationColorPurple
} NS_ENUM_DEPRECATED(10_9, 10_11, 3_0, 9_0, "Use MKPinAnnotationView's pinTintColor instead") API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
NS_ASSUME_NONNULL_BEGIN
NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
@interface MKPinAnnotationView : MKAnnotationView
#if TARGET_OS_IPHONE
+ (UIColor *)redPinColor NS_AVAILABLE(10_11, 9_0);
+ (UIColor *)greenPinColor NS_AVAILABLE(10_11, 9_0);
+ (UIColor *)purplePinColor NS_AVAILABLE(10_11, 9_0);
#else
+ (NSColor *)redPinColor NS_AVAILABLE(10_11, 9_0);
+ (NSColor *)greenPinColor NS_AVAILABLE(10_11, 9_0);
+ (NSColor *)purplePinColor NS_AVAILABLE(10_11, 9_0);
#endif
#if TARGET_OS_IPHONE
@property (NS_NONATOMIC_IOSONLY, strong, null_resettable) UIColor *pinTintColor NS_AVAILABLE(10_11, 9_0) UI_APPEARANCE_SELECTOR;
#else
@property (NS_NONATOMIC_IOSONLY, strong, null_resettable) NSColor *pinTintColor NS_AVAILABLE(10_11, 9_0);
#endif
@property (nonatomic) BOOL animatesDrop;