Created
May 1, 2017 14:41
-
-
Save greggjaskiewicz/23d512cfd3286d002c5ced142818f5f4 to your computer and use it in GitHub Desktop.
TwoStructsAssociated_AssociatedTypes
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
struct TypeOneStruct { | |
let foo1: Int | |
let foo2: Int | |
let bar1: Bool | |
} | |
struct TypeTwoStruct { | |
let fooString: String | |
let barBool: Bool | |
let foo1: Int | |
} | |
enum OurStructs { | |
case one(TypeOneStruct) | |
case two(TypeTwoStruct) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment