ImageName
public struct ImageName : Equatable, Hashable
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates an image name association with the specified bundle.
Declaration
Swift
public init(_ name: String, shouldFlip: Bool = false, forBundle bundle: Bundle = .main)Parameters
nameThe name of the image asset.
shouldFlipIf an image should be flipped or not.
bundleThe bundle that the image belongs to uses main as default.
ImageName Structure Reference