diff options
-rw-r--r-- | MLKDictionary.h | 4 | ||||
-rw-r--r-- | MLKDictionary.m | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/MLKDictionary.h b/MLKDictionary.h index c88ad55..8bfd516 100644 --- a/MLKDictionary.h +++ b/MLKDictionary.h @@ -49,6 +49,10 @@ -(NSArray *) allKeys; -(NSArray *) allValues; +// Why not? ++(Class) classForKeyedUnarchiver; +-(Class) classForKeyedArchiver; + -(void) dealloc; -(void) finalize; @end diff --git a/MLKDictionary.m b/MLKDictionary.m index 9095c91..801cc95 100644 --- a/MLKDictionary.m +++ b/MLKDictionary.m @@ -254,6 +254,17 @@ static unsigned int equalp_hash (NSMapTable *table, const void *x) } ++(Class) classForKeyedUnarchiver +{ + return [MLKDictionary class]; +} + +-(Class) classForKeyedArchiver +{ + return [MLKDictionary class]; +} + + -(void) dealloc { NSFreeMapTable (m_table); |