I am try to automatically assign the attribute value. I need to assign value for class attribute like bellow,
@property (nonatomic,retain)NSString *nid;
....
[self setValue:value forKey:@"nid"];
instead of,
[self setNid:value];
Problem i can't find method for handle the undefined key in my class. In NSDictionary have method for this,
[[dictionry allKeys]containsObject:@"nid"];
Is there any method similar to this handle my problem.