Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- id key, value;
- key = [[attributes objectAtIndex:j] name];
- value = [[attributes objectAtIndex:j] stringValue];
- [obj setValue:value forKey:key];
- id key, value;
- key = [[attributes objectAtIndex:j] name];
- value = [NSNumber numberWithInt:[[[attributes objectAtIndex:j] stringValue] intValue]];
- [obj setValue:value forKey:key];
Add Comment
Please, Sign In to add comment