Created
June 8, 2020 17:47
-
-
Save MathVasc/afa409d9096fb275181b305bb01c8a22 to your computer and use it in GitHub Desktop.
ClassName
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
| // An more OBJ-C approach | |
| let aClass: AnyClass? = object_getClass(SomeClass()) | |
| // An more Swift approach | |
| let aClass = SomeClass.self |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment