I'm designing the interface to my latest app and I've decided to use
Quartz Composer instead of Core Animation simply for the ease of
development.
The stumbling block I've hit is getting my objects and their data into
my composition. I've published a generic structure "Controller" input
port an a boolean "Debug" one. I am setting them using -
[compositionController setValue:[NSNumber numberWithBool:NO]
forKeyPath:@"patch.Debug_1.value"];
[compositionController setValue:self
forKeyPath:@"patch.Controller.value"];
This works so far and I've verified the value is actually set by
pulling it back out using valueForKey:
I'm then attempting to extract the various values I need using
Structure Key Member patches with no avail. I've searched the archives
and found this: http://lists.apple.com/archives/quartzcomposer-dev/2006/Nov/msg00095.html
For QC not to use KVC I think is a major oversight, and presents an
entry to the Cocoa frameworks.
The only solution I can think of is to write a QCPlugin subclass that
does use KVC to get the value required, but in writing that I can't
set my input/output properties as virtual.
Can anyone help me get around this problem without having to redesign
my whole UI in Core Animation?
Thanks,
Keith
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]