Add a mechanism to define custom @attributes in Swift.
| Originator: | oliver | ||
| Number: | rdar://17369684 | Date Originated: | 20141-06-19 |
| Status: | Duplicate/17221503 (Open) | Resolved: | |
| Product: | Developer Tools | Product Version: | Version 6.0 (6A216f) |
| Classification: | Enhancement | Reproducible: | Always |
Summary: Languages like Java and C# have a mechanism by which developers can add their own type metadata (attributes). http://msdn.microsoft.com/en-us/library/aa288454(v=vs.71).aspx These meta data attributes are extremely useful when developing plugin based architectures, dependancy injection systems and other meta programming tasks. Steps to Reproduce: Expected Results: That swift allowed programmers to extend the attributes system. Actual Results: There doesn't appear to be any way of doing this yet. Version: Version 6.0 (6A216f) 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!