UILabel subclasses don't get localized text with Base.lproj

Originator:me
Number:rdar://15184282 Date Originated:15184282
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 5.0 (5A1413)
Classification:Serious Bug Reproducible:Always
 
Jonathon Mah09-Oct-2013 00:22 AM

Summary:
UILabel instances with a custom class set in Interface Builder - both an empty subclass an a nonexistent subclass (which falls back to UILabel itself at runtime) aren't given localized strings, and retain the Base localization value set in the nib / storyboard.

Steps to Reproduce:
Run attached project with Xcode 5.0 (5A1413). Uses iOS 7 SDK.

Expected Results:
All three labels in the attached project get their target localization, "en value".

Actual Results:
The UILabel instance with no custom class gets the localized value; the custom subclass and the nonexistent subclass retain their value in the Base.lproj storyboard of "Base value".

Version:
Xcode 5.0 (5A1413)
Development machine is running 10.8.5 (12F45)

Notes:


Configuration:


Attachments:
'UILabel Subclass Bug.zip' was successfully uploaded.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!