Swift / Xcode: offer a fix-it to implement a protocol
| Originator: | xenadu | ||
| Number: | rdar://21969278 | Date Originated: | 7/23/2015 |
| Status: | Open | Resolved: | |
| Product: | Product Version: | ||
| Classification: | Reproducible: |
Currently Xcode/Swift just give you an error that the protocol is not implemented. It would be a huge improvement to have Xcode offer a "fix-it" to add the missing properties/methods to the class, automatically surrounded with a "///MARK: <protocol name>" marker. This would require some compiler support to return this information along with Xcode support.
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!