User-Defined Attribute in Swift

Originator:6osi6ris6
Number:rdar://17482265 Date Originated:06/27/2014
Status:Open Resolved:No
Product:Developer Tools Product Version:8.0
Classification:Swift Reproducible:Always
 
Summary:
It will be great to have the same attribute like Java and C# have in Swift. It will encourage developers to create good frameworks with easy customization, there are plenty of cases to use in applications too.

Steps to Reproduce:
1. It will be possible to create user-defined class for attribute
2. You can attach this attribute to declarative language element.
3. You can retrieve value of attribute from class if it attributed

Expected Results:
You can retrieve value of attribute from class if it attributed

Actual Results:
We cannot define user-define attributes in Swift

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!