• 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: textStorage readFromURL does not like blanks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: textStorage readFromURL does not like blanks


  • Subject: Re: textStorage readFromURL does not like blanks
  • From: Martin Wierschin <email@hidden>
  • Date: Mon, 20 Aug 2007 00:32:46 -0700

NSTextStorage *textStorage = [ textView textStorage ];
NSDictionary *dict;
[ textStorage readFromURL: fu options: nil documentAttributes: &dict error: outError ]

There seems to be an Apple bug in reading HTML into mutable attributed strings (eg: NSTextStorage). See:


	http://www.cocoabuilder.com/archive/message/cocoa/2007/7/17/186292

You'll probably find that loading the same HTML into an immutable attributed string will work just fine.

~Martin

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: textStorage readFromURL does not like blanks
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >textStorage readFromURL does not like blanks (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: Programmatically selecting column header cell and triggering a sort
  • Next by Date: NSArrayController and Class objects
  • Previous by thread: textStorage readFromURL does not like blanks
  • Next by thread: Re: textStorage readFromURL does not like blanks
  • Index(es):
    • Date
    • Thread