Contents

updateValue(_:forAnimatedKey:)

Sets the value of a key whose value you use during the animation.

Declaration

func updateValue(_ value: CGFloat, forAnimatedKey key: NSCollectionViewTransitionLayout.AnimatedKey)

Parameters

  • value:

    The value of the key.

  • key:

    The key that you define for your custom transition layout.

Discussion

Use this method to update the value of a specific key that you use in your custom transition layout.

See Also

Updating the Transition Information