Created
April 2, 2018 20:49
-
-
Save Agarunov/ed6cf6e69347458d8de3a1bac2a54ad5 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
class Department { } | |
protocol Employee { | |
// warning: 'weak' should not be applied to a property declaration in a protocol | |
// and will be disallowed in future versions | |
weak var department: Department? { get } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment