RSDUIActionObject
public struct RSDUIActionObject : RSDEmbeddedResourceUIAction, Codable
RSDUIActionObject is a concrete implementation of RSDUIAction that can be used to customize the
title and image displayed for a given action of the UI.
-
The title to display on the button associated with this action.
Declaration
Swift
public var buttonTitle: String? -
The name of the icon to display on the button associated with this action.
Declaration
Swift
public var iconName: String? -
The bundle identifier for the resource bundle that contains the image.
Declaration
Swift
public var bundleIdentifier: String? -
Default initializer for a button with text.
Declaration
Swift
public init(buttonTitle: String)Parameters
buttonTitleThe title to display on the button associated with this action.
-
Default initializer for a button with an image.
Declaration
Swift
public init(iconName: String, bundleIdentifier: String? = nil)Parameters
iconNameThe name of the image to display on the button.
bundleIdentifierThe bundle identifier for the resource bundle that contains the image.
View on GitHub
RSDUIActionObject Structure Reference