Created
May 17, 2019 19:21
-
-
Save FabiolaRamirez/393b3b279c15c3d1755c93010f50e20f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| func getSegmentValue(segmentNumber: Int) -> String { | |
| switch segmentNumber { | |
| case 1: | |
| return "New" | |
| case 2: | |
| return "Uninvolved" | |
| case 3: | |
| return "Constrained" | |
| case 4: | |
| return "Unqualified" | |
| case 5: | |
| return "Aspirational" | |
| case 6: | |
| return "Disciplined" | |
| default: | |
| return "None" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment