Contents

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