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
> - Hide quoted text -


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 it. As I mentioned I don't have to manipulate that stepper in any way, 
I really only need the value. I just wanna know what's best practice.

Cheers,
Chris


> 
> On Thu, Nov 19, 2009 at 5:48 AM, Christian Ziegler <chris.zieg...@me.com>
> wrote:
> 
>> 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 being persisted and I only need them temporarily to
>> compute stuff.
>> 
>> Thanks in advance,
>> Chris
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/chris.ziegler%40me.com
> 
> This email sent to chris.zieg...@me.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to