NSObject
class NSObject : NSObjectProtocol
Adds useful capabilities to NSObject.
-
Extracts the simple class name of a given type. As in Swift the types names are composed with the modules they are located, this method extracts the type name without the module name.
Usage Example:
let name = "".simpleClassName() // returns "NSString"Declaration
Swift
open class func simpleClassName() -> StringReturn Value
The simple class name of the type
View on GitHub
NSObject Extension Reference