Created
June 26, 2018 00:32
-
-
Save aybekckaya/9881fe411a1380ef5d575f1d18f54e01 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
extension NSObject { | |
var className: String { | |
return String(describing: type(of: self)) | |
} | |
class var className: String { | |
return String(describing: self) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment