Protocol

AlignmentID

Types used to identify alignment guides.

Declaration

protocol AlignmentID

Overview

Types conforming to AlignmentID have a corresponding alignment guide value, typically declared as a static constant property of HorizontalAlignment or VerticalAlignment.

Topics

Getting the Default Value

static func defaultValue(in: ViewDimensions) -> CGFloat

The value of the corresponding guide in the given context.

Required.