Created
April 28, 2017 11:39
-
-
Save AndreyPanov/4b07f4aa0a1aa8a17d579b1959a29c3c 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
enum Guide { | |
case headerLabel((UILabel) -> ()) | |
case bodyLabel((UILabel) -> ()) | |
case loginTextField((UITextField) -> ()) | |
func identifier() -> String { | |
switch self { | |
case .headerLabel: return "header" | |
case .bodyLabel: return "body" | |
case .loginTextField: return "login" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment