Created
May 14, 2019 18:48
-
-
Save daniloc/f857f3f359ebc10b768de4eca5cb30c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum TableSections: Int, CaseIterable { | |
case staticSection, | |
dynamicSection | |
func title() -> String { | |
switch self { | |
case .staticSection: | |
return "Static Cells" | |
case .dynamicSection: | |
return "Dynamic Cells" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment