Re: cocoa view / AU interaction
Re: cocoa view / AU interaction
- Subject: Re: cocoa view / AU interaction
- From: Stephen Blinkhorn <email@hidden>
- Date: Sat, 30 Oct 2010 19:47:26 -0600
Hi Kevin,
I use different controller classes for different sections of the
plugin (inheriting functionality from a base class). Envelopes, LFOs,
filter and distortion sections etc are serviced by separate controller
objects that listen for parameter changes and receive UI actions
(updating the GUI or sending the parameter to the AU accordingly).
Hope that helps,
Stephen
On 30 Oct 2010, at 09:58, Kevin Dixon wrote:
I'm wiring up a complete cocoa view for the first time, and as I'm
going, I'm winding up with massive switch(...) statements to handle
parameter changed coming up and UI control changes going down... Is
there a more elegant way I could write this code? I'm thinking of a
NSDictionary keyed by parameter ID;
What approaches do you guys take to synchronize your UIs?
Thanks
-Kevin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden