This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
/
Examples.h
70 lines (64 loc) · 3.06 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
68
69
70
//
// 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 MBXExampleAddMarkerSymbol;
extern NSString *const MBXExampleAnimatedLine;
extern NSString *const MBXExampleAnnotationView;
extern NSString *const MBXExampleBlockingGesturesDelegate;
extern NSString *const MBXExampleBuildingLight;
extern NSString *const MBXExampleCameraAnimation;
extern NSString *const MBXExampleCameraFlyTo;
extern NSString *const MBXExampleClustering;
extern NSString *const MBXExampleClusteringWithImages;
extern NSString *const MBXExampleCustomCalloutView;
extern NSString *const MBXExampleDDSCircleLayer;
extern NSString *const MBXExampleDefaultCallout;
extern NSString *const MBXExampleDefaultStyles;
extern NSString *const MBXExampleDraggableAnnotationView;
extern NSString *const MBXExampleFeatureSelection;
extern NSString *const MBXExampleFormattingExpression;
extern NSString *const MBXExampleLineGradient;
extern NSString *const MBXExampleHeatmap;
extern NSString *const MBXExampleImageSource;
extern NSString *const MBXExampleInsetMap;
extern NSString *const MBXExampleLabelPlacement;
extern NSString *const MBXExampleLineStyleLayer;
extern NSString *const MBXExampleLiveData;
extern NSString *const MBXExampleLocationPrivacy;
extern NSString *const MBXExampleManageOfflineRegions;
extern NSString *const MBXExampleMultipleImages;
extern NSString *const MBXExampleMultipleShapes;
extern NSString *const MBXExampleOfflinePack;
extern NSString *const MBXExamplePOIAlongRoute;
extern NSString *const MBXExamplePointConversion;
extern NSString *const MBXExamplePolygonPattern;
extern NSString *const MBXExampleRasterImagery;
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;
extern NSString *const MBXExampleMissingIcons;
extern NSString *const MBXExampleCacheManagement;
extern NSString *const MBXExampleShapeAnnotations;
@interface Examples : NSObject
+ (NSArray *)groups;
@end