From 92537768101e736ceaea19659bc5c7adf03e6ce1 Mon Sep 17 00:00:00 2001 From: vspader Date: Sat, 19 May 2007 15:36:47 +0000 Subject: [PATCH] Added missing files. --- Preferences/General/AppcastArrayController.h | 16 ++++++++++ Preferences/General/AppcastArrayController.m | 32 ++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 Preferences/General/AppcastArrayController.h create mode 100644 Preferences/General/AppcastArrayController.m 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