| 7 | | // NSLog(@"TypePadController - (void)awakeFromNib - called\n"); |
| | 9 | [self init_comemode]; |
| | 10 | } |
| | 11 | |
| | 12 | - (IBAction)refreshcomments:(id)sender { |
| | 13 | // .. // |
| | 14 | } |
| | 15 | |
| | 16 | - (void) init_comemode { |
| | 17 | [bloglist removeAllItems]; |
| | 18 | id key; |
| | 19 | TypePad *tp = [[[TypePad alloc] init] autorelease]; |
| | 20 | NSEnumerator *blog_enumerator = [[tp defaultAccountWeblogs] objectEnumerator]; |
| | 21 | while (key = [blog_enumerator nextObject]) { |
| | 22 | TypePadWeblog *tpobj = key; |
| | 23 | [bloglist addItemWithTitle:[NSString stringWithFormat:@"Weblog: %@", [tpobj weblogTitle]]]; |
| | 24 | } |