Widget | iOS SDK | 2GIS Documentation
iOS SDK

Widget

Base class representing a widget for filtering search results.

Extends: Hashable
public static func == (lhs: Widget, rhs: Widget) -> Bool

Returns a Boolean value indicating whether two values are equal.

Methods
Properties

Gets the widget type.

Gets the widget name. Can be missing.

Gets a list of filters describing the current state of the widget. Can be used during creation of a search query.