Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Key path question



Hello,

I have a structure with members accessed by index in the qtz file. The port that uses the structure is exposed. I would like to be able to specify the key path in the Cocoa bindings of an edit field. I could not find in Apple's documentation how you would access a sub key by index.

Edit field's bindings

Bind To: QCPatchController
Controller Key: patch
Model Key Path: InPort[0].value;

The array notation is illegal but it expresses what I am trying to do. I would rather not name the structure members, array access is more relevant to the context. BTW, "String Component" does not seem to have the option to name the components nor see the generated names.

How do I bind to an index accessed QC structure?

Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.