Swift: using "static" instead of "class" for class variable/funcs
| Originator: | raphael | ||
| Number: | rdar://17339474 | Date Originated: | 17-Jun-2014 09:31 AM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 6 |
| Classification: | Enhancement | Reproducible: | Not Applicable |
Swift uses 2 different keywords ("static" for struct types, "class" for class types) for the same concept of per-type variables.
Can you consider using the same keyword "static" for both case to make it simpler for developers?
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!