Guidelines for FxDynamicParameter
site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bensyverson.com; s=bensyverson; t=1504706010; bh=yKOImHYcfiVPaYLxycR2Tw/Jud0G+S6R5JHh/SWIGu0=; h=From:Subject:Date:To; b=DkBmx4Dj4Wc72/bS7CkZ+D8Og2phmdnPWm8KRnPvMYJ6A4Up1CIXuMYLuMgD6A67b lIHsJzetaib86X4FVxsP0AFSFFk/NRQY4wefzebBgbuY6VMsgTCM4gh2pNjgYUKeHw dkhpVEsogef+XSHAWPo/ChQdakNR4wZxVV1AvZQmC+bz9bolS4kFhCxS6ulfru0sO7 iIkJ+aAhsIKe4F8wDZ6rYhy5eEKbVUeCBnmesepJ9I1WUFbcUWdNjddXRvhh7b+6rj I1qz+ui9TLqKSh5ABW9ap7BtKI4TMn9rsxf9HngZ5yxh+w4bfLt8uhwz+5g+NtbvRX MlJ7txfHnthHA== 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 (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Ben Syverson