Skip to content

Commit bba716a

Browse files
committed
Move exemple in a more logical order
1 parent 83d420d commit bba716a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Example/PinLayoutSample/UI/Menu/MenuViewController.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ enum PageType: Int {
3131
case between
3232
case form
3333
case wrapContent
34+
case autoSizing
3435
case tableViewWithReadable
3536
case introRTL
3637
case introObjC
37-
case autoSizing
3838

3939
case count
4040

@@ -51,10 +51,10 @@ enum PageType: Int {
5151
case .between: return "Between Example"
5252
case .form: return "Form Example"
5353
case .wrapContent: return "wrapContent Example"
54+
case .autoSizing: return "Auto Sizing"
5455
case .tableViewWithReadable: return "UITableView using readableMargins"
5556
case .introRTL: return "Right-to-left Language Support"
5657
case .introObjC: return "Objective-C PinLayout Example"
57-
case .autoSizing: return "Auto Sizing"
5858
case .count: return ""
5959
}
6060
}
@@ -86,14 +86,14 @@ enum PageType: Int {
8686
return FormViewController(pageType: self)
8787
case .wrapContent:
8888
return WrapContentViewController(pageType: self)
89+
case .autoSizing:
90+
return AutoSizingViewController()
8991
case .tableViewWithReadable:
9092
return TableViewReadableContentViewController(pageType: self)
9193
case .introRTL:
9294
return IntroRTLViewController(pageType: self)
9395
case .introObjC:
9496
return IntroObjectiveCViewController()
95-
case .autoSizing:
96-
return AutoSizingViewController()
9797
case .count:
9898
return UIViewController()
9999
}

0 commit comments

Comments
 (0)