forked from mapbox/ios-sdk-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathExamples.h
67 lines (61 loc) · 2.95 KB
/
Examples.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
//
// Examples.h
// Examples
//
// Created by Jason Wray on 1/28/16.
// Copyright © 2016 Mapbox. All rights reserved.
//
#import <Foundation/Foundation.h>
// Steps to add a new example:
// 1. Create a new `NewExample.m` file in ../Examples/Code/Objective-C
// 2. In your new Objective-C file, add a new string constant defined as the name of the example view controller's class, e.g., `NSString *const MBXExampleSimpleMap = @"SimpleMapExample";`
// 3. Add a matching external string constant below to this Examples.h file
// 4. Add this constant to the `initialList` array in Examples.m
// 5. Create your `NewExample.swift` file in ../Examples/Code/Swift
// 6. Define the interface name of the Swift class being used in Objective-C by
// adding the @objc attribute to your Swift file - e.g., `@objc(SimpleMapExample_Swift)`
extern NSString *const MBXExampleAnimatedLine;
extern NSString *const MBXExampleAnnotationView;
extern NSString *const MBXExampleAnnotationViewsAndImagesExample;
extern NSString *const MBXExampleBlockingGesturesDelegate;
extern NSString *const MBXExampleBuildingLight;
extern NSString *const MBXExampleBuildings;
extern NSString *const MBXExampleCalloutDelegateUsage;
extern NSString *const MBXExampleCameraAnimation;
extern NSString *const MBXExampleCameraFlyTo;
extern NSString *const MBXExampleClustering;
extern NSString *const MBXExampleCustomAnnotationModel;
extern NSString *const MBXExampleCustomCalloutView;
extern NSString *const MBXExampleDDSCircleLayer;
extern NSString *const MBXExampleDefaultAnnotation;
extern NSString *const MBXExampleDefaultStyles;
extern NSString *const MBXExampleDraggableAnnotationView;
extern NSString *const MBXExampleFeatureSelection;
extern NSString *const MBXExampleImageAnnotation;
extern NSString *const MBXExampleImageSource;
extern NSString *const MBXExampleLineAnnotationGeoJSON;
extern NSString *const MBXExampleLineStyleLayer;
extern NSString *const MBXExampleLiveData;
extern NSString *const MBXExampleMultipleShapes;
extern NSString *const MBXExampleOfflinePack;
extern NSString *const MBXExamplePointConversion;
extern NSString *const MBXExamplePointHotspot;
extern NSString *const MBXExamplePolygonAnnotation;
extern NSString *const MBXExamplePolygonPattern;
extern NSString *const MBXExampleRasterImagery;
extern NSString *const MBXExampleRuntimeCircleStyles;
extern NSString *const MBXExampleSatelliteStyle;
extern NSString *const MBXExampleSelectFeature;
extern NSString *const MBXExampleShowHideLayer;
extern NSString *const MBXExampleSimpleMapView;
extern NSString *const MBXExampleStaticSnapshot;
extern NSString *const MBXExampleStudioClassicStyle;
extern NSString *const MBXExampleStudioStyle;
extern NSString *const MBXExampleSwitchStyles;
extern NSString *const MBXExampleThirdPartyVectorStyle;
extern NSString *const MBXExampleUserLocationAnnotation;
extern NSString *const MBXExampleUserTrackingModes;
extern NSString *const MBXExampleWebAPIData;
@interface Examples : NSObject
+ (NSArray *)list;
@end