i trying out afnetworking after coming restkit , wondering if there's simpler solution having of objects:
- (id)initwithattributes:(nsdictionary *)attributes { // ... init _userid = [[attributes valueforkeypath:@"id"] integervalue]; _username = [attributes valueforkeypath:@"username"]; _avatarimageurlstring = [attributes valueforkeypath:@"avatar_image.url"]; return self; }
this how things appear in afnetworking basics example. looks might cumbersome i'm returning objects children. there easier way me this?
i saw there afincrementalstore referenced in this question. not want of information retrieved persist beyond current session didn't think right thing do.
thanks in advance help.
Comments
Post a Comment