• 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: Force binding to set variable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Force binding to set variable?


  • Subject: Re: Force binding to set variable?
  • From: George Orthwein <email@hidden>
  • Date: Tue, 29 Aug 2006 21:23:20 -0400

Are you using bindings or observing with KVO? I thought initial values were sent upon binding, while they are not with KVO.

For KVO, I have just ended up enumerating through an array of attributes to set initial values....

I just noticed that you didn't mention a controller... the controls/ view are bound directly to the model? Maybe this is why you don't get initial values stored upon binding—no controller magic to initially sync the values. Not sure though.

George


_______________________________________________ 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: Force binding to set variable?
      • From: Trygve Inda <email@hidden>
References: 
 >Force binding to set variable? (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: Automatic opening of a DataFile at awakeFromNib??
  • Next by Date: SecureInput
  • Previous by thread: Force binding to set variable?
  • Next by thread: Re: Force binding to set variable?
  • Index(es):
    • Date
    • Thread