@interface KOptionString : NSCharacterSet
{
}
@end
KOptionString *whiteTest = [KOptionString whitespaceCharacterSet],
*hexTest = [KOptionString characterSetWithCharactersInString:
@"0123456789abcdefABCDEFxX"];
NSLog(@"whiteTest %@", [whiteTest class]);
NSLog(@"hexTest %@", [hexTest class]);
whiteTest result -> NSBuiltinCharacterSet
hexTest result -> NSCFCharacterSet
On Nov 19, 2008, at 8:48 AM, Andy Lee wrote:
Works for me:
@interface MyClass : NSCharacterSet
@end
@implementation MyClass
@end
...
NSLog(@"[MyClass class] returns [EMAIL PROTECTED]", [MyClass class]);
2008-11-19 08:44:27.891 Scratch2[24671:10b] [MyClass class] returns
[MyClass]
Can you post some code?
--Andy
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]