Re: Updating an NSMovieView in a busy loop
Re: Updating an NSMovieView in a busy loop
- Subject: Re: Updating an NSMovieView in a busy loop
- From: Charilaos Skiadas <email@hidden>
- Date: Tue, 26 Jul 2005 10:07:26 -0500
On Jul 26, 2005, at 5:19 AM, Theodore H. Smith wrote:
On 26 Jul 2005, at 11:15, Theodore H. Smith wrote:
However, doing the same on an NSMovieView, fails. I don't get
anything displayed.
I should mention, that the NSMovieView DOES display properly, but
only after the method ends and we return back to the normal app
event processing. It doesn't display during the busy loop when
[display] is called, unlike my NSTextView which displays.
Perhaps that's a clue, maybe I should be doing stuff with the app's
events.
Presumably your busy loop is in a secondary thread? If not, it
probably should. If it is, then you should be using
performSelectorInMainThread: to update your movie view from the main
thread.
Unless I've misunderstood something in your setup.
--
http://elfdata.com/plugin/ Industrial strength string processing,
made easy.
"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."
Haris
_______________________________________________
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