• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Invalidating custom data based on clip
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Invalidating custom data based on clip


  • Subject: Re: Invalidating custom data based on clip
  • From: Darrin Cardani <email@hidden>
  • Date: Mon, 28 Nov 2011 09:23:34 -0800

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      (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.
Pro-apps-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Invalidating custom data based on clip
      • From: Ben Syverson <email@hidden>
    • Re: Invalidating custom data based on clip
      • From: Ben Syverson <email@hidden>
References: 
 >Invalidating custom data based on clip (From: Ben Syverson <email@hidden>)

  • Prev by Date: Invalidating custom data based on clip
  • Next by Date: Re: Invalidating custom data based on clip
  • Previous by thread: Invalidating custom data based on clip
  • Next by thread: Re: Invalidating custom data based on clip
  • Index(es):
    • Date
    • Thread