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?
-
The default bundle from the factory used to decode this object.
Declaration
Swift
public var factoryBundle: Bundle?
-
Default initializer for a button with text.
Declaration
Swift
public init(buttonTitle: String)
Parameters
buttonTitle
The 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
iconName
The name of the image to display on the button.
bundleIdentifier
The bundle identifier for the resource bundle that contains the image.
-
Default initializer for a button with an image.
Declaration
Swift
public init(iconName: String, bundle: Bundle?)
Parameters
iconName
The name of the image to display on the button.
bundle
The resource bundle that contains the image.