• 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: NSAttributedString and HTML
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAttributedString and HTML


  • Subject: Re: NSAttributedString and HTML
  • From: Ali Ozer <email@hidden>
  • Date: Sat, 21 Sep 2002 11:41:39 -0700

What's strange is that as soon as it hits -[NSAttributedString initWithHTML:documentAttributes:], it throws an exception:

Exception raised during posting of notification. Ignored.
exception: *** +[MyDocument attributedStringWithHTML:documentAttributes:]:
selector not recognized

Do you happen to have a class named "HTMLDocument" in your app or in a framework? The AppKit dynamically looks for a class named HTMLDocument --- if you happen to have one of these, it might message your class instead. I am not sure why we see "MyDocument" in the exception below instead of "HTMLDocument" though...
Ali
_______________________________________________
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.
  • Follow-Ups:
    • Re: NSAttributedString and HTML
      • From: Chris Hanson <email@hidden>
References: 
 >NSAttributedString and HTML (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: NSTextField Focus
  • Next by Date: Re: NSAttributedString and HTML
  • Previous by thread: Re: NSAttributedString and HTML
  • Next by thread: Re: NSAttributedString and HTML
  • Index(es):
    • Date
    • Thread