cog/Preferences/General/AppcastArrayController.m

33 lines
997 B
Objective-C

//
// AppcastArrayController.m
// General
//
// Created by Vincent Spader on 5/19/07.
// Copyright 2007 __MyCompanyName__. All rights reserved.
//
#import "AppcastArrayController.h"
@implementation AppcastArrayController
- (void)awakeFromNib
{
[self removeObjects:[self arrangedObjects]];
[self addObject:
[NSDictionary dictionaryWithObjectsAndKeys:
NSLocalizedStringFromTableInBundle(@"Stable", nil, [NSBundle bundleForClass:[self class]], @"") , @"name", @"http://kode54.net/cog/stable.xml", @"url",nil]];
[self addObject:
[NSDictionary dictionaryWithObjectsAndKeys:
NSLocalizedStringFromTableInBundle(@"Unstable", nil, [NSBundle bundleForClass:[self class]], @"") , @"name", @"http://kode54.net/cog/unstable.xml", @"url",nil]];
[self addObject:
[NSDictionary dictionaryWithObjectsAndKeys:
NSLocalizedStringFromTableInBundle(@"Nightly", nil, [NSBundle bundleForClass:[self class]], @"") , @"name", @"http://kode54.net/cog/nightly.xml", @"url",nil]];
}
@end