Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Qaanol

macrumors 6502a
Original poster
Jun 21, 2010
571
11
I’m editing an xib file, and in the list of “Objects” I have 7 array controllers. When I click on one and hit return, it appears to let me edit the name. After I enter a custom name and hit return again, the Label property of the object updates to what I wrote, but the list of Objects still shows “Array Controller”.

I want to be able to change how they are named in that list. I don’t actually care about editing any name-related property that will be exposed at compile or runtime, all I care about is making it easy for me to identify and distinguish among the objects while I am editing the xib file.

However, I cannot seem to do that. What is the proper method?

Edit: Okay, things just got weird.

After changing the Label for an Array Controller, if I bind a table view to it, then the name updates in the list of objects. Very strange.
 
Last edited:
I have no answer, but if it's any consolation, I get the same behaviour as you describe all the time. Usually I try to change the name for a while, get frustrated and resign myself to having the name stay as Array Controller.

So, I press on with my work and almost always the name mysteriously changes to the name I typed in later on in the project. It's almost as if the name *did* change, but for some reason the UI failed to update.

I guess it's a bug in Xcode, but I'd be grateful if anyone has any workarounds or fixes.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.