• 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: Creating NSAttributedString objects using WebKit in secondary thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating NSAttributedString objects using WebKit in secondary thread


  • Subject: Re: Creating NSAttributedString objects using WebKit in secondary thread
  • From: Dragan Milić <email@hidden>
  • Date: Mon, 11 May 2009 23:56:36 +0200

On pon 11. 05. 2009., at 20:07, Douglas Davidson wrote:

On May 11, 2009, at 10:53 AM, Dragan Milić wrote:

Is there any way to initialise and use WebKit out of the main thread?

No, there isn't. This is a fundamental restriction on the use of WebKit.

Yes, I know. I just hoped there was some secret magical workaround which would enable me to create attributed strings in the main thread. The point is I'm trying to create something like Finder's "Show icon preview" functionality, trying to create graphical representations of some text files (which are kept in memory) but to still keep UI responsive if a user wants to scroll view etc.


So, I assume creating attributed strings is not thread safe, but I don't remember anything like that stated in the documentation. In my opinion, that looks like a bug.

Milke_______________________________________________

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: Creating NSAttributedString objects using WebKit in secondary thread
      • From: "Adam R. Maxwell" <email@hidden>
    • Re: Creating NSAttributedString objects using WebKit in secondary thread
      • From: Michael Ash <email@hidden>
    • Re: Creating NSAttributedString objects using WebKit in secondary thread
      • From: "Stephen J. Butler" <email@hidden>
References: 
 >Creating NSAttributedString objects using WebKit in secondary thread (From: Dragan Milić <email@hidden>)
 >Re: Creating NSAttributedString objects using WebKit in secondary thread (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Re: [iPhone] UITableView with state?
  • Next by Date: Re: Attr Str drawing vs Layout Manager drawing
  • Previous by thread: Re: Creating NSAttributedString objects using WebKit in secondary thread
  • Next by thread: Re: Creating NSAttributedString objects using WebKit in secondary thread
  • Index(es):
    • Date
    • Thread