Re: Creating NSAttributedString objects using WebKit in secondary thread
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: Tue, 12 May 2009 02:05:13 +0200
On uto 12. 05. 2009., at 01:52, Michael Ash wrote:
2009/5/11 Dragan Milić <email@hidden>:
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.
There's no need for secret magic. Just use
performSelectorOnMainThread: to get some code to run on the main
thread.
Yes I know, I've made an error while typing (was thinking in my native
language and translating thoughts to English). That sentence should've
read: "I just hoped there was some secret magical workaround which
would enable me to create attributed strings in the SECONDARY thread."
Thanks anyway.
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