Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 26efe640c1
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (23 sloc) 0.502 kb
//
// HaltedColumnTransformer.m
// Spike
//
// Created by Matt Mower on 15/02/2009.
// Copyright 2009 LucidMac Software. All rights reserved.
//
#import "HaltedColumnTransformer.h"
@implementation HaltedColumnTransformer
+ (Class)transformedValueClass {
return [NSImage class];
}
+ (BOOL)allowsReverseTransformation {
return NO;
}
- (id)transformedValue:(id)value {
if( [value boolValue] ) {
return [NSImage imageNamed:@"ticked_checkbox.png"];
} else {
return nil;
}
}
@end
Jump to Line
Something went wrong with that request. Please try again.