forked from jerrykrinock/ClassesObjC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSSYDictionaryDebugger.h
35 lines (26 loc) · 1.01 KB
/
SSYDictionaryDebugger.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#import <Cocoa/Cocoa.h>
#if 0
#warning Compiling with SSYDebuggingMutableDictionary
#define SSY_DEBUGGING_MUTABLE_DICTIONARY_INCLUDED
// Set one or both of the following to 1
#define SSY_DEBUGGING_MUTABLE_DICTIONARY_LOG_CONTENTS_CHANGED 0
#define SSY_DEBUGGING_MUTABLE_DICTIONARY_LOG_MEMORY_MANAGEMENT 0
/*!
@brief A thin wrapper around NSMutableDictionary which may
be used in place of NSMutableDictionary when you want to have
logged whenever the dictionary's contents are changed, and/or
to log memory management.
@details When using this class in place of NSMutableDictionary,
you may get compiler warnings that SSYDebuggingMutableDictionary
may not implement methods such as -count. Ignore those
warnings. SSYDebuggingMutableDictionary will forward those
messages to the NSMutableDictionary that it wraps.
This class requires Mac OS 10.5 or later due to the use of
-forwardingTargetForSelector.
*/
@interface SSYDebuggingMutableDictionary : NSObject
{
NSMutableDictionary* dic ;
}
@end
#endif