Guidelines for FxDynamicParameter
Guidelines for FxDynamicParameter
- Subject: Guidelines for FxDynamicParameter
- From: Ben Syverson <email@hidden>
- Date: Wed, 6 Sep 2017 08:53:27 -0500
Hi all,
I’m working on a project that uses dynamic parameter creation, and running into
issues.
I have two params which are always present (a “Show Editor” button and a hidden
custom parameter to store a project file). I’m adding these in addParameters.
In order to keep track of my parameter list, I’m using an NSMutableArray
property on the instance, self.paramsByIndex. So in addParameters, I’m adding
my first two parameters to my array.
The first problem is that when I’m updating the paramList, my first two params
aren’t there. Is addParameters called on a separate instance of my FxPlug?
It’s making it really difficult to keep my list of parameters in sync with
what’s returned from the dynamic API (parameterIDAtIndex:, etc).
Are there any guidelines for how & when to manage dynamic parameters? At this
point, I’m printing NSLogs to try to understand which of my FxPlug methods are
called in what order, and whether they’re all coming from the same instance.
Thanks!
Ben
_______________________________________________
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