Created
November 22, 2018 01:51
-
-
Save ArchieR7/a19d0c76f5eb6971a634cb8197d19834 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
protocol SomeProtocol { | |
associatedtype SomeType: Decodable | |
var bar: String { get } | |
} | |
struct Foo: SomeProtocol { | |
struct SomeType: Decodable { | |
let bar: String | |
} | |
var bar: String | |
} | |
struct Foo2: SomeProtocol { | |
typealias SomeType = Bool | |
var bar: String | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment