I want to change the name of the view in IB. See screenshot

I want to rename View to View1. How can i do this?

enter image description here

+5
source share
3 answers

Not sure what you plan to do. If you want this view to be renamed IB Object Inspector:

  • Choose a view
  • open the right panel.
  • go to the identity inspector (third icon)
  • fill Identity-> Label (labeled "Xcode Specific Label").

However, if you want to access the view from the view controller (use it in the code), you should read about IBOutlets.

+12
source

"". "". , , xcode. , , xcode - , . , ?

+2

I think the operator wants to change the name in the loop. This can be done as described, but it no longer refers to Identity, but to Document.

0
source

All Articles