ImageResource
struct ImageResource : Hashable
An image resource.
-
Initialize an
ImageResource
withname
andbundle
.Declaration
Swift
init(name: String, bundle: Bundle)
-
The “DefaultBase” asset catalog image resource.
Declaration
Swift
static let defaultBase: ImageResource
-
The “DefaultHandle” asset catalog image resource.
Declaration
Swift
static let defaultHandle: ImageResource
-
The “FancyBase” asset catalog image resource.
Declaration
Swift
static let fancyBase: ImageResource
-
The “FancyHandle” asset catalog image resource.
Declaration
Swift
static let fancyHandle: ImageResource