Re: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop?
Re: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop?
- Subject: Re: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop?
- From: Mike Abdullah <email@hidden>
- Date: Tue, 07 May 2013 23:40:57 +0100
On 7 May 2013, at 23:37, Jean Suisse <email@hidden> wrote:
> Dear all,
>
> I am wondering:
> By any chance, could a call to [[NSAttributedString alloc] initWithHTML:dataUsingEncoding:documentAttributes:] lead to the event loop being run before the call returns?
I believe so, yes. It's currently implemented using WebKit, which would generally require spinning the runloop while any asynchronous work is performed.
_______________________________________________
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