Other Enumerations
The following enumerations are available globally.
-
The supported arrow directions for a callout view.
- AWFCalloutArrowDirectionUp: Callout arrow points up towards the target.
- AWFCalloutArrowDirectionDown: Callout arrow points down towards the target.
- AWFCalloutArrowDirectionAny: Callout arrow direction is determined based on the target and constrained bounds.
Declaration
Objective-C
enum AWFCalloutArrowDirection : NSUInteger {}
Swift
enum AWFCalloutArrowDirection : UInt, @unchecked Sendable
-
The supported animation options for presenting a callout view.
- AWFCalloutAnimationBounce: The standard bounce animation the native UICalloutView uses.
- AWFCalloutAnimationFade: Simple fade in or out.
- AWFCalloutAnimationStretch: Grows or shrinks linearly like in the iPad Calendar app.
Declaration
Objective-C
enum AWFCalloutAnimation : NSInteger {}
Swift
enum AWFCalloutAnimation : Int, @unchecked Sendable
-
The legend type.
- AWFLegendTypeBar: A bar legend type defined by a series of color stops and values.
- AWFLegendTypePoint: A point legend type defined by a series of keyed items.
Declaration
Objective-C
enum AWFLegendType : NSUInteger {}
Swift
enum AWFLegendType : UInt, @unchecked Sendable
-
The legend orientation.
- AWFLegendOrientationHorizontal: Horizontal legend orientation.
- AWFLegendOrientationVertical: Vertical legend orientation.
Declaration
Objective-C
enum AWFLegendOrientation : NSUInteger {}
Swift
enum AWFLegendOrientation : UInt, @unchecked Sendable
-
The legend label position relative to the bar or point.
- AWFLabelPositionBottom: Labels are rendered underneath the bar (bar legends only).
- AWFLabelPositionTop: Labels are rendered above the bar (bar legends only).
- AWFLabelPositionLeft: Labels are rendered to the left of the bar or point.
- AWFLabelPositionRight: Labels are rendered to the right of the bar or point.
Declaration
Objective-C
enum AWFLabelPosition : NSUInteger {}
Swift
enum AWFLabelPosition : UInt, @unchecked Sendable
-
The legend point style for point legends.
- AWFPointTypeCircle: Points are drawn as squares.
- AWFPointTypeSquare: Points are drawn as circles.
Declaration
Objective-C
enum AWFPointType : NSUInteger {}
Swift
enum AWFPointType : UInt, @unchecked Sendable
-
The supported map content types for a weather map.
- AWFMapContentTypeRaster: Map content type consisting of raster imagery.
- AWFMapContentTypeTile: Map content type consisting of raster tile imagery.
- AWFMapContentTypePoint: Map content type consisting of point data (annotations).
- AWFMapContentTypeShape: Map content type consisting of shapes (polylines and polygons).
- AWFMapContentTypeLabel: Map content type consisting of text labels.
Declaration
Objective-C
enum AWFMapContentType : NSUInteger {}
Swift
enum AWFMapContentType : UInt, @unchecked Sendable
-
The supported weather map strategy types.
- AWFMapStrategyTypeApple: Apple Maps strategy type.
- AWFMapStrategyTypeGoogle: Google Maps strategy type. This type requires the Google Maps iOS SDK linked with your project.
- AWFMapStrategyTypeMapBox: Mapbox strategy type. This type requires the Mapbox GL iOS SDK linked with your project.
Declaration
Objective-C
enum AWFMapStrategyType : NSUInteger {}
Swift
enum AWFMapStrategyType : UInt, @unchecked Sendable
-
Weather map type options to determine which mapping strategy and library to use.
- AWFWeatherMapTypeApple: Apple’s MapKit
- AWFWeatherMapTypeGoogle: GoogleMaps iOS SDK
- AWFWeatherMapTypeMapbox: Mapbox iOS SDK
- AWFWeatherMapTypeDefault: Apple’s MapKit
Declaration
Objective-C
enum AWFWeatherMapType : NSUInteger {}
Swift
enum AWFWeatherMapType : UInt, @unchecked Sendable