Swift Syntax: replace @class_protocol with 'class'
| Originator: | hooman.mehr | ||
| Number: | rdar://17510790 | Date Originated: | 06/30/2014 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools - Swift | Product Version: | Xcode 6b2 |
| Classification: | Enhancement | Reproducible: |
Summary:
I don't like Swift's current class protocol header.
Why not use:
class protocol MyClassProto { ... }
instead of:
@class_protocol protocol MyClassProto { ... }
Steps to Reproduce:
Define a class protocol
Expected Results:
class protocol MyClassProto { ... }
Actual Results:
@class_protocol protocol MyClassProto { ... }
Version:
Xcode 6 Beta 2
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!