Contents

combineExplicit(_:)

Merges a sequence of explicit alignment values produced by this instance.

Declaration

func combineExplicit<S>(_ values: S) -> CGFloat? where S : Sequence, S.Element == CGFloat?

Discussion

For built-in horizontal alignment types, this method returns the mean of all non-nil values.

See Also

Creating a custom alignment