SwiftstructWeatherMaps

struct WeatherMaps.ButtonGroup.Button

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 17

  1. funcstatic currentLocation(isPermissionGranted: Bool, openSettings: () -> ()) -> WeatherMaps.ButtonGroup.Button
  2. funcstatic dismiss(_: WeatherMaps.ButtonGroup.Button.Content, identifier: String?, handler: () -> ()) -> WeatherMaps.ButtonGroup.Button
  3. funcstatic zoomIn(action: () -> (), endAction: () -> ()) -> WeatherMaps.ButtonGroup.Button
  4. funcstatic zoomOut(action: () -> (), endAction: () -> ()) -> WeatherMaps.ButtonGroup.Button
  5. varstatic var locationPicker: WeatherMaps.ButtonGroup.Button { get }
  6. varstatic var overlayMenu: WeatherMaps.ButtonGroup.Button { get }
  7. fieldvar accessibilityHint: String?+0x60
  8. fieldvar accessibilityImage: UIImage?+0x70
  9. fieldvar accessibilityLabel: String?+0x50
  10. fieldlet action: WeatherMaps.ButtonGroup.Button.Action?+0x18
  11. fieldlet content: WeatherMaps.ButtonGroup.Button.Content+0x0
  12. fieldlet identifier: String+0x40
  13. fieldlet menu: WeatherMaps.ButtonGroup.Button.Menu?+0x39
  14. funcaccessibilityHint(String) -> WeatherMaps.ButtonGroup.Button
  15. funcaccessibilityImage(UIImage?) -> WeatherMaps.ButtonGroup.Button
  16. funcaccessibilityLabel(String) -> WeatherMaps.ButtonGroup.Button
  17. initinit(_: WeatherMaps.ButtonGroup.Button.Content, identifier: String?, handler: () -> (), endHandler: (() -> ())?) -> WeatherMaps.ButtonGroup.Button
struct WeatherMaps.ButtonGroup.Button {
    enum Content {
        case title(Swift.String)
        case image(systemName: Swift.String)
    }
    enum Event {
        case primaryAction
        case touchEnd
    }
    enum Menu {
        case overlays
    }
    enum Action {
        case navigateToCurrentLocation(isPermissionGranted: Swift.Bool, openSettings: () -> ())
        case custom(() -> (), (() -> ())?)
        case dismiss(() -> ())
        case presentLocationPicker
    }
    let content: WeatherMaps.ButtonGroup.Button.Content
    let action: WeatherMaps.ButtonGroup.Button.Action?
    let menu: WeatherMaps.ButtonGroup.Button.Menu?
    let identifier: Swift.String
    var accessibilityLabel: Swift.String?
    var accessibilityHint: Swift.String?
    var accessibilityImage: __C.UIImage?

    init(_: WeatherMaps.ButtonGroup.Button.Content, identifier: Swift.String?, handler: @escaping () -> (), endHandler: (() -> ())?)

    func accessibilityHint(_: Swift.String) -> WeatherMaps.ButtonGroup.Button
    func accessibilityImage(_: __C.UIImage?) -> WeatherMaps.ButtonGroup.Button
    func accessibilityLabel(_: Swift.String) -> WeatherMaps.ButtonGroup.Button

    static var locationPicker: WeatherMaps.ButtonGroup.Button {
        get
    }
    static var overlayMenu: WeatherMaps.ButtonGroup.Button {
        get
    }

    static func currentLocation(isPermissionGranted: Swift.Bool, openSettings: @escaping () -> ()) -> WeatherMaps.ButtonGroup.Button
    static func zoomIn(action: @escaping () -> (), endAction: @escaping () -> ()) -> WeatherMaps.ButtonGroup.Button
    static func dismiss(_: WeatherMaps.ButtonGroup.Button.Content, identifier: Swift.String?, handler: @escaping () -> ()) -> WeatherMaps.ButtonGroup.Button
    static func zoomOut(action: @escaping () -> (), endAction: @escaping () -> ()) -> WeatherMaps.ButtonGroup.Button
}