Skip to content

Instantly share code, notes, and snippets.

@greggjaskiewicz
Created May 1, 2017 14:38
Show Gist options
  • Save greggjaskiewicz/b3dace9fe439320e379f3e5a500d479d to your computer and use it in GitHub Desktop.
Save greggjaskiewicz/b3dace9fe439320e379f3e5a500d479d to your computer and use it in GitHub Desktop.
two structs_associated_types
struct TypeOneStruct {
    let foo1: Int
    let foo2: Int
    let bar1: Bool
}
struct TypeTwoStruct {
    let fooString: String
    let barBool: Bool
    let foo1: Int
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment