protocol CountKeeper { | |
var count: Double { get } | |
} | |
struct RealTimeCounter: CountKeeper { | |
var count: Double { | |
return 1 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
protocol CountKeeper { | |
var count: Double { get } | |
} | |
struct RealTimeCounter: CountKeeper { | |
var count: Double { | |
return 1 | |
} | |
} |