diff --git a/Preferences/General/AppcastArrayController.h b/Preferences/General/AppcastArrayController.h new file mode 100644 index 000000000..4c6b486cc --- /dev/null +++ b/Preferences/General/AppcastArrayController.h @@ -0,0 +1,16 @@ +// +// AppcastArrayController.h +// General +// +// Created by Vincent Spader on 5/19/07. +// Copyright 2007 __MyCompanyName__. All rights reserved. +// + +#import + + +@interface AppcastArrayController : NSArrayController { + +} + +@end diff --git a/Preferences/General/AppcastArrayController.m b/Preferences/General/AppcastArrayController.m new file mode 100644 index 000000000..5af4e42a3 --- /dev/null +++ b/Preferences/General/AppcastArrayController.m @@ -0,0 +1,32 @@ +// +// 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: + @"Stable", @"name", @"http://cogx.org/appcast/stable.xml", @"url",nil]]; + + [self addObject: + [NSDictionary dictionaryWithObjectsAndKeys: + @"Unstable", @"name", @"http://cogx.org/appcast/unstable.xml", @"url",nil]]; + + [self addObject: + [NSDictionary dictionaryWithObjectsAndKeys: + @"Nightly", @"name", @"http://cogx.org/appcast/nightly.xml", @"url",nil]]; +} + + +@end