Skip to content

Commit 8079d59

Browse files
committed
Implements NSObject+Helpers
1 parent a51eaf1 commit 8079d59

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import Foundation
2+
3+
4+
/// NSObject: Helper Methods
5+
///
6+
extension NSObject {
7+
8+
/// Returns the receiver's classname as a string, not including the namespace.
9+
///
10+
class var classNameWithoutNamespaces: String {
11+
return String(describing: self)
12+
}
13+
}

0 commit comments

Comments
 (0)