Mac Developer Library

Developer

Foundation Framework Reference NSNameSpecifier Class Reference

Options
Deployment Target:

On This Page
Language:

NSNameSpecifier

More...

Inheritance


Conforms To


Import Statement


import Foundation @import Foundation;

Availability


Available in OS X v10.2 and later.
  • Returns the name encapsulated by the receiver for the specified object in the container.

    Declaration

    Swift

    var name: String

    Objective-C

    @property(copy) NSString *name

    Import Statement

    import Foundation

    Availability

    Available in OS X v10.2 and later.

    See Also

    – setName:

  • Sets the name encapsulated with the receiver for the specified object in the container.

    Declaration

    Swift

    var name: String

    Objective-C

    @property(copy) NSString *name

    Import Statement

    import Foundation

    Availability

    Available in OS X v10.2 and later.

    See Also

    – name