• 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: question on refreshing parameter data between instances.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question on refreshing parameter data between instances.


  • Subject: Re: question on refreshing parameter data between instances.
  • From: Darrin Cardani <email@hidden>
  • Date: Wed, 26 Aug 2009 15:57:03 -0700

Jay,

Your custom parameter data needs to implement the NSCoding protocol. It is the methods in that protocol which are called to serialize and deserialize the data. So you'll implement -initWithCoder: and - encodeWithCoder:.

See the SimpleMatte example in /Developer/Examples/FxPlug/ for sample code.

Darrin

On Aug 26, 2009, at 1:04 PM, Jay Boyer wrote:

I've been away for a couple of weeks. Thanks for all the information but
there is still a piece I am missing.


What callback is made to deserialize the data for custom UI elements? And
can you point me to an example of this?


Thanks,

Jay


-----Original Message----- From: Darrin Cardani [mailto:email@hidden] Sent: Wednesday, August 12, 2009 2:42 PM To: Brian Gardner Cc: Jay Boyer; 'Pro-Apps-Dev' Subject: Re: question on refreshing parameter data between instances.

There isn't, but if you have a custom parameter, you will get called
to deserialize its data. You could do what you need to do at that time.


Darrin

On Aug 11, 2009, at 12:58 PM, Brian Gardner wrote:

I have a similar situation to Jay.
When a saved FCP project is later reopened,
I'd like to update some parameter settings.

As a plugin is getting re-instated during an "Open Project..." (boot),
is there an methods which get called, which we can hook into?


 -- Brian


On Aug 11, 2009, at 10:53 AM, Jay Boyer wrote:


Is there a point in the boot sequence that I can detect that the plug-in is from a prior instance so that I can update these lists?

_______________________________________________ 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

-- Darrin Cardani email@hidden





-- Darrin Cardani 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: question on refreshing parameter data between instances.
      • From: "Jay Boyer" <email@hidden>
References: 
 >how trims & cuts effect reference image wells (From: Brian Gardner <email@hidden>)
 >Re: how trims & cuts effect reference image wells (From: Darrin Cardani <email@hidden>)
 >question on refreshing parameter data between instances. (From: "Jay Boyer" <email@hidden>)
 >Re: question on refreshing parameter data between instances. (From: Brian Gardner <email@hidden>)
 >Re: question on refreshing parameter data between instances. (From: Darrin Cardani <email@hidden>)
 >RE: question on refreshing parameter data between instances. (From: "Jay Boyer" <email@hidden>)

  • Prev by Date: Re: question on refreshing parameter data between instances.
  • Next by Date: Pantomime for Email notification
  • Previous by thread: Re: question on refreshing parameter data between instances.
  • Next by thread: RE: question on refreshing parameter data between instances.
  • Index(es):
    • Date
    • Thread