init(imageLiteralResourceName:)
Returns the image object for the specified resource.
Declaration
required convenience init(imageLiteralResourceName name: String)Parameters
- name:
The name of the file or image asset.
Return Value
The image object.
See Also
Loading and caching images
Providing images for different appearancesConfiguring and displaying symbol images in your UICreating custom symbol images for your appinit(named:in:compatibleWith:)init(named:in:with:)init(named:in:variableValue:configuration:)init(named:)init(systemName:withConfiguration:)init(systemName:variableValue:configuration:)init(systemName:compatibleWith:)init(systemName:)init(resource:)Building high-performance lists and collection views