Drops Documentation

Structure Drop.​Accessibility

public struct Accessibility: ExpressibleByStringLiteral  

An object representing accessibility options.

Drop.Accessibility Drop.Accessibility ExpressibleByStringLiteral ExpressibleByStringLiteral Drop.Accessibility->ExpressibleByStringLiteral

Member Of

Drop

An object representing a drop.

Conforms To

ExpressibleByStringLiteral

Initializers

init(message:​)

public init(message: String)  

Create a new accessibility object.

Parameters

message String

Message to be announced when the drop is shown. Defaults to drop's "title, subtitle"

init(string​Literal:​)

public init(stringLiteral message: String)  

Create a new accessibility object.

Parameters

message String

Message to be announced when the drop is shown. Defaults to drop's "title, subtitle"

Properties

message

public let message: String

Accessibility message to be announced when the drop is shown.