* Optimized Olivier's MYDirectoryWatcher fix (by caching the watcher's standardized path)
* Added -[NSData my_UTF8ToString] to CollectionUtils.
5 // Copyright 2008 Jens Alfke. All rights reserved.
8 #import <Cocoa/Cocoa.h>
11 #define WITH(OBJ) id __with=[OBJ beginWith]; @try
13 #define ENDWITH @finally{[__with endWith];}
14 #define CATCHWITH @catch(NSException *x){id w=__with; __with=nil; _catchWith(w,x);} @finally{[__with endWith];}
16 void _catchWith( id with, NSException *x );
18 @interface NSAutoreleasePool (With)
19 + (NSAutoreleasePool*) beginWith;