Skip to content

Instantly share code, notes, and snippets.

@aaronpearce
Created April 25, 2011 22:55
Show Gist options
  • Save aaronpearce/941432 to your computer and use it in GitHub Desktop.
Save aaronpearce/941432 to your computer and use it in GitHub Desktop.
Loader for first message center folders!
- (void) load {
dALogin = [[dAlogin alloc] init];
[dALogin login:@"pickley":@"yaaa...nah"];
theDiFi *difi = [[theDiFi alloc] init];
if([dALogin loggedOn]) {
[difi folderRequest];
NSDictionary *test = [difi folders];
NSLog(@"%@", [[[[[[[[test valueForKey:@"DiFi"] valueForKey:@"response"] valueForKey:@"calls"] valueForKey:@"response"] valueForKey:@"content"] objectAtIndex:0] objectAtIndex:0] valueForKey:@"folderid"]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment