Reputation: 12617
I want to rename View to View1. How can I do this?
Upvotes: 6
Views: 4249
Reputation: 45
I think the operator wants to change the name in the outline. This can be done as described but it is no longer under Identity but Document.
Upvotes: 0
Reputation: 4092
Not sure what you are planning to do. If you want to have this view renamed in IB objects inspector:
However, if you want to access the view from view controller(use it in code), you should read about IBOutlets.
Upvotes: 14
Reputation: 2227
in the identity inspector, there's a section called "Identity". in that section is a textfield for "Label". changing that will change the name that appears in xcode. note that this is only something that has effect in xcode - it doesn't change anything about how the view is used in the app. is that what you want?
Upvotes: 2