Creating a new Swift class requires a superclass which then has to be manually deleted
| Originator: | andrew | ||
| Number: | rdar://19809976 | Date Originated: | 2015/2/12 |
| Status: | Open | Resolved: | |
| Product: | Xcode | Product Version: | 6.3 |
| Classification: | Other Bug | Reproducible: | Always |
Summary:
When creating simple model objects, I often don't want to specify a superclass when adding a new Swift class to a project, but the Xcode new file wizard insists on me providing one
Steps to Reproduce:
1. File >> New >> File
2. Select iOS >> Sourc >> Cocoa Touch Class
3. Click Next
4. Select Language of Swift
4. Enter a class name
5. Delete anything in the Subclass field
6. Observe the Next button is disabled
Expected Results:
I should be able to add a Swift class without specifying a superclass and get something like this:
class MyModel {
}
Actual Results:
In order to complete the wizard, I have to specify a superclass and then delete it afterwards. This is counter productive.
Version:
Xcode 6.3 (6D520o)
Notes:
Configuration:
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!