• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Confused and Mental, help!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Confused and Mental, help! (From: Steve Gehrman <email@hidden>)

  • Prev by Date: Re: NSFileManager and aliases
  • Next by Date: Declaration of an instance
  • Previous by thread: Confused and Mental, help!
  • Next by thread: Declaration of an instance
  • Index(es):
    • Date
    • Thread