• 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: Binding name must be same as ivar name?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding name must be same as ivar name?


  • Subject: Re: Binding name must be same as ivar name?
  • From: Roarke Lynch <email@hidden>
  • Date: Thu, 24 Feb 2005 23:24:24 -0500


On Feb 24, 2005, at 1:44 PM, mmalcolm crawford wrote:
Binding names are the names of attributes of an object that may be bound.
You bind an object's binding to another object using a keypath. It is items in a keypath that can have derived values. This is a general property of key-value coding, and dependent values is a feature of key-value observing, both of which may find utility in contexts other than bindings.

Are you saying that bindings should not be used for derived properties that are peers of each other? Simple example: a sum class


@implementation Sum
- (int)a { return a; }
- void setA:(int)newA { a = newA; }

- (int)b { return b; }
- void setB:(int)newB { b = newB; }

- (int)c { return a + b; }
@end

Now are you saying that the keys "a" and "b" should not be configured to automatically notify for a change in "c"?

Roarke Lynch
-------------------------------
email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Binding name must be same as ivar name?
      • From: mmalcolm crawford <email@hidden>
References: 
 >Re: Binding name must be same as ivar name? (From: Ricky Sharp <email@hidden>)
 >Re: Binding name must be same as ivar name? (From: "Sean McBride" <email@hidden>)
 >Re: Binding name must be same as ivar name? (From: Ricky Sharp <email@hidden>)
 >Re: Binding name must be same as ivar name? (From: glenn andreas <email@hidden>)
 >Re: Binding name must be same as ivar name? (From: mmalcolm crawford <email@hidden>)
 >Re: Binding name must be same as ivar name? (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: NSArchiving and NSUnarchiving multiple objects
  • Next by Date: NSArrayController/Shared Defaults fun & games
  • Previous by thread: Re: Binding name must be same as ivar name?
  • Next by thread: Re: Binding name must be same as ivar name?
  • Index(es):
    • Date
    • Thread