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