With interface builder for xcode 3 i could rename an object by clicking on its name in the outline view. Is there a way to rename objects in interface builder for xcode 4? Because an outline like this:
View
View
View
View
View
View
View
could be a little more informative.
There are two ways to rename the objects. First, select an object and open the identity inspector. In the Identity section there is a Label text field. Enter the name in the text field.
Second, you can change the object list, which runs along the left side of the editor, from the icon view to the hierarchical view. The hierarchical view shows the document outline, which looks similar to the following screenshot:
Select an object from the object list and press the Return key to rename the object. How you change to the hierarchical view depends on the Xcode 4 version you're using. Newer versions have a button in the lower left corner of the canvas that toggles the icon and hierarchical views. Older versions have a small button at the bottom of the object list.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With