aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDataCellFormatter.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPDataCellFormatter.h')
-rw-r--r--Source/SPDataCellFormatter.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/SPDataCellFormatter.h b/Source/SPDataCellFormatter.h
index 8784898a..8c62d83a 100644
--- a/Source/SPDataCellFormatter.h
+++ b/Source/SPDataCellFormatter.h
@@ -25,9 +25,14 @@
@interface SPDataCellFormatter : NSFormatter {
- NSUInteger textLimit;
+ int textLimit;
}
-@property NSUInteger textLimit;
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
+ @property int textLimit;
+#else
+ -(int)textLimit;
+ -(void)setTextLimit:(int)limit;
+#endif
@end