Skip to content

Instantly share code, notes, and snippets.

@hartbit
Created July 28, 2014 16:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hartbit/cc68a3ca1d171db0bedf to your computer and use it in GitHub Desktop.
Save hartbit/cc68a3ca1d171db0bedf to your computer and use it in GitHub Desktop.
protocol Delegate<T> {
func generate() -> T
}
class Controller<T> {
var delegate: Delegate<T>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment