Values of newly declared enum type are only auto completed after relaunch
| Originator: | datwelk | ||
| Number: | rdar://13534385 | Date Originated: | 29-Mar-2013 11:31 AM |
| Status: | Open | Resolved: | No |
| Product: | Developer Tools | Product Version: | 4.6.1 (4H512) |
| Classification: | UI/Usability | Reproducible: | Always |
Summary:
Xcode does not autocomplete the values of a newly declared enumeration type.
Steps to Reproduce:
1) Declare a new enumeration type:
typedef NS_ENUM(NSUInteger, WWDCState) {
WWDCStateDefault = 0,
WWDCStateTeasingDevs = 1,
WWDCStateTicketsOnSale = 2,
WWDCStateTicketsSoldOut = 2, // hardly a time diff between on sale & sold out
WWDCStateWestCoastDevsTrolled = 2
};
2) Declare an instance variable of the new enum type
3) Assign a value to the ivar
Expected Results:
The value that is assigned to the ivar is auto completed to one of the enum values.
Actual Results:
The value that is assigned to the ivar is not auto completed, only after relaunching Xcode.
Regression:
Notes:
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!
I LOL at your enum values (and I think this may be fixed now).