• 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: bind:toObject:.. should set value in bindor?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bind:toObject:.. should set value in bindor?


  • Subject: Re: bind:toObject:.. should set value in bindor?
  • From: mmalcolm crawford <email@hidden>
  • Date: Wed, 5 Jan 2005 12:33:50 -0800


On Jan 5, 2005, at 10:28 AM, James Dessart wrote:

I'm coming across a behaviour where text fields will be updated with
the initially bound values from NSUserDefaults, whereas my own,
manually binding class does not.
I would like to know if NSTextField sets its own value from the
observed object when it gets bound, or if it's set somewhere else in
the binding process.

There isn't really anywhere else in the binding process...
In your bind:... method, just ask the object to which you're being bound for the relevant value.


mmalc

_______________________________________________
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


References: 
 >bind:toObject:.. should set value in bindor? (From: James Dessart <email@hidden>)

  • Prev by Date: Re: Fast image loading + scrolling like iPhoto
  • Next by Date: Recommended Books for Obj-c
  • Previous by thread: bind:toObject:.. should set value in bindor?
  • Next by thread: Re: bind:toObject:.. should set value in bindor?
  • Index(es):
    • Date
    • Thread