diff options
Diffstat (limited to 'Source/SPDataCellFormatter.m')
-rw-r--r-- | Source/SPDataCellFormatter.m | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Source/SPDataCellFormatter.m b/Source/SPDataCellFormatter.m index 051a7ac6..4f005c23 100644 --- a/Source/SPDataCellFormatter.m +++ b/Source/SPDataCellFormatter.m @@ -26,7 +26,19 @@ @implementation SPDataCellFormatter -@synthesize textLimit; +#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 + @synthesize textLimit; +#else + -(int)textLimit + { + return textLimit; + } + + -(void)setTextLimit:(int)limit + { + textLimit = limit; + } +#endif - (NSString *)stringForObjectValue:(id)anObject { |