• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Updating an NSMovieView in a busy loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Updating an NSMovieView in a busy loop
      • From: "Theodore H. Smith" <email@hidden>
References: 
 >Updating an NSMovieView in a busy loop (From: "Theodore H. Smith" <email@hidden>)
 >Re: Updating an NSMovieView in a busy loop (From: "Theodore H. Smith" <email@hidden>)

  • Prev by Date: Re: other question ...
  • Next by Date: Re: Using filter predicate on an NSArrayController (simple q)
  • Previous by thread: Re: Updating an NSMovieView in a busy loop
  • Next by thread: Re: Updating an NSMovieView in a busy loop
  • Index(es):
    • Date
    • Thread