Re: Questions about NSThread, NSRunloop, Webview
Re: Questions about NSThread, NSRunloop, Webview
- Subject: Re: Questions about NSThread, NSRunloop, Webview
- From: Stefan Heukamp <email@hidden>
- Date: Mon, 20 Feb 2006 19:10:18 +0100
Hi,
I don't show the WebView on the screen. I just use it to load a
website and then use the DOM-tree to examine the webpage. Do you
think this
causes problems although?
Stefan
Am 20.02.2006 um 01:17 schrieb glenn andreas:
On Feb 19, 2006, at 2:46 PM, Stefan Heukamp wrote:
Hi,
recently I've got a few problems with NSThread, NSRunloop and
Webview. In a part of my program I try to implement kind of a
multithreaded frontend to the unix-tool wget.
Here's what I do:
1) I create a new Thread.
I assume a new NSRunLoop should be created automatically. Is
that true?
2) In this Thread I create a WebView and send loadRequest to this
Webview.
You're probably going to have problems from this step, regardless
of other issues, since doing things like creating a UI needs to be
done on the main thread...
(It's unclear if, even if created on the main thread, that you can
send loadRequest on a secondary thread either)
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
Widgetarium | the quickest path to widgets
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden