Skip to content

Commit b2aad72

Browse files
authored
Merge pull request #181 from AdrianBinDC/master
Updated Capitalization & Spelling
2 parents ff672b7 + 8377b23 commit b2aad72

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Example/PinLayoutSample/UI/Menu/MenuViewController.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,19 @@ enum PageType: Int {
3939

4040
var title: String {
4141
switch self {
42-
case .intro: return "Introduction example"
43-
case .adjustToContainer: return "Adjust to container size"
44-
case .tableView: return "UITableView with variable cell's height"
42+
case .intro: return "Introduction Example"
43+
case .adjustToContainer: return "Adjust to Container Size"
44+
case .tableView: return "UITableView with Variable Cell's Height"
4545
case .collectionView: return "UICollectionView Example"
4646
case .animations: return "Animation Example"
47-
case .autoAdjustingSize: return "Auto adjusting size"
47+
case .autoAdjustingSize: return "Auto Adjusting Size"
4848
case .safeArea: return "SafeArea & readableMargins"
49-
case .relativePositions: return "Relative Positionning"
49+
case .relativePositions: return "Relative Positioning"
5050
case .between: return "Between Example"
5151
case .form: return "Form Example"
5252
case .wrapContent: return "wrapContent Example"
5353
case .tableViewWithReadable: return "UITableView using readableMargins"
54-
case .introRTL: return "Right-to-left language support"
54+
case .introRTL: return "Right-to-left Language Support"
5555
case .introObjC: return "Objective-C PinLayout Example"
5656
case .count: return ""
5757
}

Sources/Types.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ import Foundation
9898
var end: HorizontalEdge { get }
9999
}
100100

101-
/// Horizontal alignment used with relative positionning methods: above(of relativeView:, aligned:), below(of relativeView:, aligned:), ...
101+
/// Horizontal alignment used with relative positioning methods: above(of relativeView:, aligned:), below(of relativeView:, aligned:), ...
102102
///
103103
/// - left: left aligned
104104
/// - center: center aligned
@@ -121,7 +121,7 @@ import Foundation
121121
case end
122122
}
123123

124-
/// Vertical alignment used with relative positionning methods: after(of relativeView:, aligned:), before(of relativeView:, aligned:), ...
124+
/// Vertical alignment used with relative positioning methods: after(of relativeView:, aligned:), before(of relativeView:, aligned:), ...
125125
///
126126
/// - top: top aligned
127127
/// - center: center aligned

0 commit comments

Comments
 (0)