Configuring Object Attributes

    Steps
  1. With a nib file open, select an object to configure.

  2. Display the Attributes inspector.

  3. Change the object’s attributes.

Prerequisite



image: ../art/ObjectAttributes_button.png

Configure the attributes of user interface objects in a nib file using the controls in the Attributes inspector.

The specific attributes depend on the type of object you select. The attributes you can configure in the inspector are generally equivalent to API methods you can call in your source code.

The Attributes inspector displays an object’s attributes according to its class hierarchy. For example, an NSTextField object has attributes that correspond to its class identity as a text field, a control, and a view.

The changes you make are applied to the object immediately. You can make your changes permanent by saving the nib file.

The video shows adding a second column of buttons to a matrix.