Re: Setting string values and getting keyframe values
Re: Setting string values and getting keyframe values
- Subject: Re: Setting string values and getting keyframe values
- From: Daniel Walz <email@hidden>
- Date: Wed, 31 May 2017 22:02:07 +0100
Hi Darrin
On Wed, May 31, 2017 at 6:01 PM, Darrin Cardani <email@hidden> wrote:
>
> I have seen other developers use techniques like the following:
>
> At some point when you aren’t allowed to set parameters, issue a call to:
> [-myPlugin performSelectorOnMainThread:@selector(setSpecialParams:)
> withObject:whateverObjectYouNeed
> waitUntilDone:NO];
> Then in -setSpecialParams:, you can use the FxCustomParameterActionAPI to
> start an action, then set parameters as you like, then call endAction:.
>
>
> What this does is performs whatever selector you choose on the main UI
> thread. The calls to startAction/endAction ensure that the app does the
> right housekeeping for you to start changing parameter values.
>
> Let me know if that works for you.
>
> Darrin
>
That looks good, I will give that a go. And for regular checks for
synchronising I think I could use NSTimer, which also happens on the
GUI thread, together with your hint using beginAction and endAction I
should be good to go.
Thanks, I will get back if I run in trouble...
Daniel
--
Daniel Walz | Software Developer
Filmstro | Music that Moves.
www.filmstro.com | twitter/filmstro | vimeo/filmstro
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden