If I have a class thus:
@interface Fields : NSObject {
@public
NSString* location;
NSString* keywords;
}
@end
Can I access not only the values of location & keywords but also the names of these variables? i.e. "location" and "keywords" ? These names will be passed between computers and are not displayed to users.
Or... do I use a dictionary and keep code and data separate?