MaplyLegendEntry

Objective-C

@interface MaplyLegendEntry : NSObject

Swift

class MaplyLegendEntry : NSObject

A single entry in the legend array returned by

  • Name of this entry

    Declaration

    Objective-C

    @property (nonatomic, nonnull) NSString *name;

    Swift

    var name: String { get set }
  • Image for this entry, if this is a single entry

    Declaration

    Objective-C

    @property (nonatomic, nullable) int *image;

    Swift

    var image: UnsafeMutablePointer<Int32>? { get set }
  • Array of entries if this is a group

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSMutableArray<MaplyLegendEntry *> *entries;

    Swift

    var entries: NSMutableArray? { get set }