Other Structures

The following structures are available globally.

  • SwiftUI view representing an icon

    See more

    Declaration

    Swift

    public struct DefaultIcon : View
  • SwiftUI view to preview an image

    See more

    Declaration

    Swift

    public struct ImagePreview : View
  • Options to modify the behavior of the Carousel

    See more

    Declaration

    Swift

    public struct CarouselOptions
  • A type-erased Codable value.

    You can encode or decode mixed-type or unknown values in dictionaries and other collections that require Encodable or Decodable conformance by declaring their contained type to be AnyCodable.

    See more

    Declaration

    Swift

    public struct AnyCodable
    extension AnyCodable: Codable
    extension AnyCodable: Equatable
    extension AnyCodable: CustomStringConvertible
    extension AnyCodable: CustomDebugStringConvertible
    extension AnyCodable: ExpressibleByNilLiteral, ExpressibleByBooleanLiteral, ExpressibleByIntegerLiteral, ExpressibleByFloatLiteral, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, ExpressibleByDictionaryLiteral