NSObject

  • Variable to get the name of the class of the object.

    Usage Example

    let anObject = IndexController()
    Swift.print("Class name:", anObject.className) // Prints "Class name: ATKitDemo.IndexController"
    

    Declaration

    Swift

    public var className :String