Adding methods to NSString
Adding methods to NSString
- Subject: Adding methods to NSString
- From: Frank <email@hidden>
- Date: Wed, 26 Nov 2003 23:53:07 +0100
Hi,
I tried adding a category to NSString class to add a method which check
if one string is contained within another (like contains statement in
applescript).
Problem is that the NSString object complains it doesn't recongnize the
selector. Also the NSString object presents itself as being of the
NSCFString class, which I believe is the problem. As I cannot find any
reference to the NSCFString class (header files?) I cannot add a
category to it.
Is there any way out of this impasse (or am I just overlooking the
obvious)?
Regards,
Frank
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.