Created
July 27, 2015 03:40
-
-
Save d6u/a2b9540faad9df733766 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 ClassA { | |
| } | |
| let ClassARef: ClassA.Type = ClassA.self | |
| let a = ClassARef.init() | |
| a is ClassA // true | |
| let ClassARef2: ClassA.Type = b.dynamicType | |
| let b = ClassARef2.init() | |
| b is ClassA // true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment