AWFObservationCalloutContentView

Objective-C

@interface AWFObservationCalloutContentView : UIView <AWFDataLoading>

Swift

class AWFObservationCalloutContentView : AWFDataLoading

An AWFObservationCalloutContentView object is a UIView subclass that displays a temperature value and weather icon within a weather map’s callout view. This class is typically used on a long press gesture on the weather map to display current weather conditions at that coordinate.

  • The temperature text label.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) UILabel *tempLabel;
  • The icon image view.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) UIImageView *iconView;
  • A Boolean value indicated whether the view currently has data.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL hasData;

    Swift

    var hasData: Bool { get }
  • A Boolean value indicating whether the view is currently loading data.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL isLoading;

    Swift

    var isLoading: Bool { get }