Reputation: 7741
What is the new "User Interface Item Identifier" used for? I cannot seem to find any documentation on it.
I know the old "Label" was for IB use only. Is the new field the same thing?
Upvotes: 1
Views: 393
Reputation: 49054
It's used as part of the Cocoa Autolayout feature, introduced in Lion.
Upvotes: 1
Reputation: 7741
Its a new protocol. Turns out, NSCell and NSView conform to the protocol. If I set the value in Xcode, then call
NSLog(@"ident: %@", [myField identifier]);
it logs the string as expected. Yay! You must make the Base SDK in the build settings 10.7 though.
Upvotes: 2