using AppKit additions in background threads
using AppKit additions in background threads
- Subject: using AppKit additions in background threads
- From: Michael Thon <email@hidden>
- Date: Tue, 06 Sep 2011 18:20:43 +0200
I'm importing data to an NSAttributedString using the method: initWithData:options:documentAttributes:error: which is an AppKit addition to NSAttributedString. I'm doing this in an NSOperation running on a separate thread, and what I see is that the UI of the app becomes unresponsive while this method is called. It doesn't happen all the time, but presumably the hang is related to the size of the data being converted.
This method is from App Kit. Does that mean that I can only call it on the main thread?
Mike
_______________________________________________
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