Mailing Lists: Apple Mailing Lists

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

Re: Cocoa Bindings



The NIB file contains a Patch Controller, linked to a .qtz file.
The 4 image outputs of the controller are bound to 4 NSImageViews.
UI elements (sliders, buttons, etc) are bound to the controller inputs as well.


I have several NSImages being produced from another source that I would like to feed to the Patch Controller as inputs. I have not found a way to supply inputs programmatically to a NIB's Patch Controller. setValue appears to not be a method of the controller or [controller patch].

You can call setValue:forInputKey: on the QCView instead and it should work fine


Or -setValue:forKeyPath: on the controller object with a key path similar as the ones used in IB (e.g. patch.myInput.value) should also work fine

Given the above configuration, what is the standard practice for moving selected patch states into core data models.

I wouldn't know, I never tried to integrate both, but some people on the list might have


________________________________________________________
Pierre-Olivier Latour                            email@hidden
Quartz Composer Architect                Graphics & Imaging Team

_______________________________________________
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
References: 
 >Cocoa Bindings (From: Giovannini <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.