I am looking for something like Java annotations (a way to mark a field or method with metadata) in Objective-c, but I cannot find anything that really is a surrogate for this Java function.
Is there a way to achieve the same Java annotation result in Objective-C?
Basically in a real situation, I'm trying to mark some fields in a class that I want to export using a serializer, I want to mark all fields in a class that need to be exported or serialized ...
Is there any other way to mark these fields?
source share