6

Does Swift have java-like annotations (customizable) to store class or method metadata ?

@SuppressWarnings(value = "unchecked")
void maMethode() { }

If no, is it going to support it in the future?

Jibeex
  • 5,509
  • 3
  • 27
  • 37
  • So far there doesn't seem to be any way of doing this. I'm hopeful that at some future date they'll add it though. – David Berry Sep 12 '14 at 16:21
  • Possible duplicate of [Declaring and using custom attributes in Swift](http://stackoverflow.com/questions/24030957/declaring-and-using-custom-attributes-in-swift) – Marcus Leon Feb 16 '16 at 19:58

0 Answers0