From 8c47108f6de8d04fa7d1cf7dbfc8a4fd423979f5 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Tue, 21 Jul 2009 00:04:41 +0000 Subject: Improvements to reporting the correct row count for tables. See issue #141. --- Source/SPTableData.m | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Source/SPTableData.m') diff --git a/Source/SPTableData.m b/Source/SPTableData.m index 69db2b93..c8dbe7b0 100644 --- a/Source/SPTableData.m +++ b/Source/SPTableData.m @@ -196,6 +196,15 @@ return [status objectForKey:aKey]; } +/* + * Set the table status value for the supplied key. This method is useful for when status values are obtained + * via other means and are subsequently more accurate than the value currently set. + */ +- (void)setStatusValue:(NSString *)value forKey:(NSString *)key +{ + [status setValue:value forKey:key]; +} + /* * Retrieve all known status values as a dictionary, using or refreshing the cache as appropriate. -- cgit v1.2.3