Re: Confused and Mental, help!
Re: Confused and Mental, help!
- Subject: Re: Confused and Mental, help!
- From: Ondra Cada <email@hidden>
- Date: Tue, 16 Apr 2002 12:18:06 +0200
On Tuesday, April 16, 2002, at 11:31 , Steve Gehrman wrote:
For debugging purposes, I'm trying to subclass NSAttributedString, but
for some reason I get unrecognized selector when trying to create one of
these object.
...
I thought I understood Obj-C. I guess I'm retarded, sorry!!
Nope. You just don't read TFMs religiously enough to know that (a)
attributed strings are another example of a class cluster, and (b) class
clusters can't be directly subclassed (at least, not the way you used).
See "class cluster" in docs for more.
And, you should capitalize class names, incidentally.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.