NSObject

extension NSObject
  • The class name of self.

    Determines the class name of the object’s dynamic type.

    Declaration

    Swift

    public var className: String { get }
  • The class name of Self.

    Equivalent to: NSStringFromClass(type).componentsSeparatedByString(".").last!

    Declaration

    Swift

    public static var className: String { get }