Contents

applying(_:)

Returns a configuration object that applies the specified configuration values on top of the current object’s values.

Declaration

func applying(_ otherConfiguration: UIImage.Configuration?) -> Self

Parameters

  • otherConfiguration:

    The configuration attributes to apply over the current attributes. Values in this object take precedence over values in the image’s current configuration object.

Mentioned in

Return Value

A configuration object with the specified image configuration attributes and merged traits.

Discussion

This method merges the traits from otherConfiguration with the current object’s trait collection, giving precedence to traits in otherConfiguration unless the trait is unspecified. For image-specific traits, this method replaces the current image attributes with the attributes in otherConfiguration.

See Also

Modifying a configuration object