Created
May 10, 2010 04:48
-
-
Save dlinsin/395688 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "NSObject+YAJL.h" | |
NSDictionary *vals = [jsonResponse yajl_JSON]; | |
[player fill:vals]; | |
- (void)fill:(NSDictionary *)vals { | |
NSString *key; | |
for (key in vals) { | |
[self setValue:[vals objectForKey:key] forKey:key]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment