Created
May 1, 2017 14:44
-
-
Save greggjaskiewicz/7bf556a50b4f8c7bd2eb0569d430555b 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
for element in cells { | |
switch element { | |
case .one(let typeOne): | |
print("\(typeOne.bar1) \(typeOne.foo1) \(typeOne.foo2) ") | |
case .two(let typeTwo): | |
print("\(typeTwo.fooString) \(typeTwo.foo1) \(typeTwo.barBool) ") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment