Re: NSObjectController, content outlet and content object question

2009-07-01 Thread Michael de Haan
On Jul 1, 2009, at 8:45 AM, Keary Suska wrote: It might well be possible that I am thinking about the bindings incorrectly...and in fact all one needs in this case is to bind the view( textfield and slider) to the controller with the correct keypath, and that the relationship of a contr

Re: NSObjectController, content outlet and content object question

2009-07-01 Thread Keary Suska
On Jul 1, 2009, at 8:03 AM, Michael de Haan wrote: "I have previously used the content outlet to establish a connection between NSObjectController and its object. Is contentObject an alternative way to do the same thing" and the best reply by mmalc: "If you set the contentObject of an obje

Re: NSObjectController, content outlet and content object question

2009-07-01 Thread Michael de Haan
Hi Kevin, thanks for answering. Before I answer your specific enquiriesI was led to ask this by a very similar question to the group: "I have previously used the content outlet to establish a connection between NSObjectController and its object. Is contentObject an alternative way to

Re: NSObjectController, content outlet and content object question

2009-06-30 Thread Kevin Cathey
Michael, In IB, Bind the textField's and Slider's values to the model Key Path "selection.number". What are you binding to here? The object controller? Connect the NSOjectController's outlet ( cntrl-drag to foo). You have an outlet on "Foo" for the Object Controller? Another question, for

Re: NSObjectController, content outlet and content object question

2009-06-29 Thread Michael de Haan
Quincey Morris wrote: On Jun 29, 2009, at 15:23, Michael de Haan wrote: Given this simple appwhich keeps a slider and textField's value synchronized. 1) View consisting of a slider and a textField 2) Model (Foo) with a single property "number" 3) NSObjectController I am able to use 2

Re: NSObjectController, content outlet and content object question

2009-06-29 Thread Quincey Morris
On Jun 29, 2009, at 15:23, Michael de Haan wrote: Given this simple appwhich keeps a slider and textField's value synchronized. 1) View consisting of a slider and a textField 2) Model (Foo) with a single property "number" 3) NSObjectController I am able to use 2 configurations to get the

NSObjectController, content outlet and content object question

2009-06-29 Thread Michael de Haan
May I indulge the group with an issue I have been trying to understand for a few days. I have tried to read the extensive literature and correspondence to the group, but so far have not seen an answer that is specific to this question. Given this simple appwhich keeps a slider and text