site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Ben, Each plug-in instance has their -initWithAPIManager: method called, regardless of how they're created. Maybe you could do something like have a singleton which doles out custom IDs, and call it in the -initWithAPIManager: method. Then, whenever you go to use the custom data, if the id for that data doesn't match the id generated in -initWithAPIManager:, you throw it out and generate unique data for it. Would that work? Darrin On Nov 28, 2011, at 8:36 AM, Ben Syverson wrote:
Hi all,
I have an FxPlug that generates unique custom data for each clip. I'm concerned that currently, a user can copy the effect and paste it into another effect, and my FxPlug doesn't know that data is now invalid.
Is there a convenient way to identify the current clip and compare against it? Or is there a better way of going about this?
Or should I just tell users "don't do that?"
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: http://lists.apple.com/mailman/options/pro-apps-dev/dcardani%40apple.com
This email sent to dcardani@apple.com
_______________________________________________ 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: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... This email sent to site_archiver@lists.apple.com