UILabel subclasses break using certain synthesized property names.
| Originator: | zac.developer | ||
| Number: | rdar://15622393 | Date Originated: | 09-Dec-2013 05:37 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 7.0: (11B508) |
| Classification: | Reproducible: |
Summary: When subclassing UILabel, certain property names cause undefined/erroneous behaviour when rendering text. Assuming this is because of private/internal ivar names colliding with user synthesized properties. Steps to Reproduce: 1: Subclass UILabel and add it to a view. 2: Set some text on the UILabel. 3: Define the following property in your subclass: @property(nonatomic,assign)CGFloat lineSpacing; Expected Results: UILabel subclass renders text correctly. Actual Results: UILabel subclass does not render text correctly. Version: 7.0: (11B508) Notes: Configuration: iOS Simulator. Attachments:
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!