On Tue, Apr 20, 2010 at 8:09 PM, Chase Meadors <[email protected]> wrote:
> Ideally, if QTMovie defined a currentTime property, I could use bindings or
> a binding-like design to handle the implementation of some time text &
> progress bar. However, QTMovie does not define it as a property. It appears
> setCurrentTime is not meant as an accessor to the variable; it's not called
> when current time changes. There also is no delegate method or anything that
> is called when currentTime changes.

For something as real-time as video or audio, you can't provide a
currentTime property that isn't interval-based. You'll need to set up
a timer and periodically check the current time of the movie, and
adjust your playhead accordingly.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to