• 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: 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.

References: 
 >NSAttributedString and HTML (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: Sending a keystroke
  • Next by Date: Re: Bad access when application quits - NSApp terminate
  • Previous by thread: Re: NSAttributedString and HTML
  • Next by thread: XML Interface Cocoa App
  • Index(es):
    • Date
    • Thread