• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IBOutlets or property + binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IBOutlets or property + binding


  • Subject: Re: IBOutlets or property + binding
  • From: Christian Ziegler <email@hidden>
  • Date: Thu, 19 Nov 2009 18:32:40 +0100

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 <email@hidden>
> 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 (email@hidden)
>
> 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:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: IBOutlets or property + binding
      • From: Keary Suska <email@hidden>
References: 
 >IBOutlets or property + binding (From: Christian Ziegler <email@hidden>)
 >Re: IBOutlets or property + binding (From: Karolis Ramanauskas <email@hidden>)

  • Prev by Date: Re: IBOutlets or property + binding
  • Next by Date: Re: IBOutlets or property + binding
  • Previous by thread: Re: IBOutlets or property + binding
  • Next by thread: Re: IBOutlets or property + binding
  • Index(es):
    • Date
    • Thread