We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
HorizontalAlignment
1 parent 74cece6 commit 37d7f7eCopy full SHA for 37d7f7e
AlignedCollectionViewFlowLayout/Classes/AlignedCollectionViewFlowLayout.swift
@@ -32,7 +32,15 @@ import UIKit
32
/// An abstract protocol that defines an alignment.
33
protocol Alignment {}
34
35
-/// Defines an alignment for UI elements.
+/**
36
+ Defines an alignment for UI elements.
37
+
38
+ - Note:
39
+ To support semantics for Right-to-Left language Users, use `leading` or `trailing`
40
+ just like you do with Autolayout.
41
42
+ If you want to force frame based `left` or `right` alighment, use `left` or `right`
43
+ */
44
public enum HorizontalAlignment: Alignment {
45
case left
46
case justified
0 commit comments