I currently have a Quartz Composition as my main view and I have a input “string”. I have that input bound to a NSTextField and when I update the textfield and hit enter it updates the value on the Quartz Composition however if I use the following in my code:
[textField setStringValue:@”100”];
The NSTextField displays the value 100 but it does not update my Quartz Composition with that value. If I am to erase “100” and type it in myself the display will then update and display.
I would however I’m not too sure how, I’m very new to Cocoa (started this application on Thursday afternoon). Just a little personal application but I would like to learn as I go along and this was one thing I couldn’t find a tutorial on or documented very well.
[yourCompositionController setValue:@"100" forKeyPath:@"theBoundKeyHere"]