Skip to content

Instantly share code, notes, and snippets.

@Pearapps
Last active December 3, 2015 03:00
Show Gist options
  • Save Pearapps/6f92d6dffe6e976777e8 to your computer and use it in GitHub Desktop.
Save Pearapps/6f92d6dffe6e976777e8 to your computer and use it in GitHub Desktop.
protocol MyDelegate: class { }
final class MyObject {
weak var delegate: MyDelegate?
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment