Re: NSAttributedString and HTML
Re: NSAttributedString and HTML
- Subject: Re: NSAttributedString and HTML
- From: Finlay Dobbie <email@hidden>
- Date: Sun, 22 Sep 2002 10:33:34 +0100
On Saturday, September 21, 2002, at 06:11 am, Chris Hanson wrote:
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
Of course it's not recognized! I don't want to write my own HTML
parser, that's what the AppKit additions to NSAttributedString are
for! And how the heck is it getting at MyDocument?
This looks like you have a problem with object refcounts resulting in
pointers to random memory being called... Try turning on
NSZombieEnabled (see NSDebug.h in Foundation) and see if that helps you
track it down :-)
-- Finlay
_______________________________________________
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.