Code Interaction with Quartz Composition
Posted
by Alberto MQO
on Stack Overflow
See other posts from Stack Overflow
or by Alberto MQO
Published on 2010-04-03T15:35:48Z
Indexed on
2010/04/03
15:43 UTC
Read the original article
Hit count: 228
Hi, i have a Quartz Composition with a Cube, and X/Y/Z rotation inputs are published. On Interface Builder i made a QCView and a QCPatchController with the previous Quartz Composition loaded. In QCView the Patch Controller is binded, and the rotation published ports are binded too to three NSSlider, so when i change the value of the NSSlider's then the cube rotates.
All this works fine, but i want to change the rotation values of the cube from the App Delegate on XCode. I tried to change the value of the NSSliders with IBoulets pointing to them, but this change doesnt apply to the cube, like it does when i change the Sliders directly with my mouse.
What should i instanciate and/or how to access and change this Input_Ports.value throught the CQPatchController?
Thank you very much for reading, i really need help!
© Stack Overflow or respective owner