Files
MapLibreParticleLab/platform/darwin/src/MGLShape.h
Jason Wray 256689a33d [ios, macos] Make Xcode 7.3 the minimum required version
- Removes nullability shims for Xcode 6.
- Removes MGLTypes.h from files where it was only being used for
  nullability support.
- Accepts that `NS_SWIFT_NAME` is not fully supported by Xcode 7.2 and
  lower.
- Adds documentation about Xcode 7.3 requirement.
2016-08-18 11:35:32 -04:00

40 lines
1000 B
Objective-C

#import <Foundation/Foundation.h>
#import "MGLAnnotation.h"
NS_ASSUME_NONNULL_BEGIN
/**
The `MGLShape` class is an abstract class that defines the basic properties for
all shape-based annotation objects. This class must be subclassed and cannot be
used as is. Subclasses are responsible for defining the geometry of the shape
and providing an appropriate value for the coordinate property inherited from
the `MGLAnnotation` protocol.
*/
@interface MGLShape : NSObject <MGLAnnotation>
/**
The title of the shape annotation. The default value of this property is `nil`.
*/
@property (nonatomic, copy, nullable) NSString *title;
/**
The subtitle of the shape annotation. The default value of this property is
`nil`.
*/
@property (nonatomic, copy, nullable) NSString *subtitle;
#if !TARGET_OS_IPHONE
/**
The tooltip of the shape annotation. The default value of this property is
`nil`.
*/
@property (nonatomic, copy, nullable) NSString *toolTip;
#endif
@end
NS_ASSUME_NONNULL_END