1 #import "NamedSlider.h"
3 @implementation NamedSlider
11 - (void)setStrings:(NSArray *)theStrings
14 strings = [theStrings retain];
17 - (NSString *)stringValue
19 int index = [self intValue];
21 if (index >= 0 && index < [strings count])
22 return [strings objectAtIndex:index];
27 - (void)setIntValue:(int)value
29 [super setIntValue:value];
30 [self sendAction:[self action] to:[self target]];