You got it right :-). That's what I've been doing. I was just
wondering whether people would use binding in that case. thanks a lot
for clarification.
Cheers
Chris
On 20.11.2009, at 20:02, Karolis Ramanauskas wrote:
Let me see.
The way I understand what you want to do is this:
You have
Let me see.
The way I understand what you want to do is this:
You have some controls in your window: c1, c2, c3, c4...
You don't care to be notified when they change. Only thing you care about is
to read their values when you click a button. I thing the best thing to do
here is just create a bun
On Nov 20, 2009, at 2:13 AM, Christian Ziegler wrote:
>
> On 19.11.2009, at 18:45, Keary Suska wrote:
>
>> On Nov 19, 2009, at 10:32 AM, Christian Ziegler wrote:
>>
>>> For instance I got a NSStepper and I only need the integerValue of that
>>> stepper. I could either define an IBOutlet and ac
On 19.11.2009, at 18:45, Keary Suska wrote:
> On Nov 19, 2009, at 10:32 AM, Christian Ziegler wrote:
>
>> For instance I got a NSStepper and I only need the integerValue of that
>> stepper. I could either define an IBOutlet and access the integerValue with
>> [stepper integerValue], or I coul
target/action is inappropriate since no action is needed at the time the value
was changed. Instead, once the user clicks a button I compute something hence I
read the values from the steppers and stuff. But that doesn't change much does
it :)
Cheers,
Chris
On 19.11.2009, at 18:51, Karolis Ra
Arghh... I was beaten to an answer! :) Slow typing...
Yeah, with bindings you will get a two-way connection. If you change your
property's value programmatically, the stepper will update also.
Instead of target-action you could set up an iboutleted property, connect
stepper to it and observe that
On Nov 19, 2009, at 10:32 AM, Christian Ziegler wrote:
> For instance I got a NSStepper and I only need the integerValue of that
> stepper. I could either define an IBOutlet and access the integerValue with
> [stepper integerValue], or I could define a property and bind the steppers
> value to
On 19.11.2009, at 18:27, Karolis Ramanauskas wrote:
>>
>> Would you create IBOutlets or properties + binding in that case?
>
>
> You will need to give an example of exactly what you want to accomplish.
> What values do you need?, etc. Then, perhaps it will be easier to answer.
>
> Peace
> - H
>
> Would you create IBOutlets or properties + binding in that case?
You will need to give an example of exactly what you want to accomplish.
What values do you need?, etc. Then, perhaps it will be easier to answer.
Peace
- Hide quoted text -
On Thu, Nov 19, 2009 at 5:48 AM, Christian Ziegler
Hi all,
once again I got a rather general question:
Say we got some view-elements which we don't wanna change in any way. We only
need to read their value to compute something. Would you create IBOutlets or
properties + binding in that case? Those values are not part of my model. They
are not
10 matches
Mail list logo