Refactoring of property names doesn't rename the corresponding ivar
| Originator: | TheCocoaNaut | ||
| Number: | rdar://12225850 | Date Originated: | 03-Sep-2012 11:43 PM |
| Status: | Duplicate/12008280 | Resolved: | |
| Product: | Developer Tools | Product Version: | 4.4.1 |
| Classification: | Other Bug | Reproducible: | Allways |
When I refactor a property by renaming it, all references are renamed too. But the corresponding ivars keep the old name. Example: --- @property (nonatomic, strong) NSMutableArray *arrayProperty; --- In Xcode 4 this will generate the corresponding ivar _arrayProperty. If I refactor now by changing the name of this property the ivar keeps this name, it will not be refactored!
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!