• 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
manual key value binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

manual key value binding


  • Subject: manual key value binding
  • From: Matthew Johnson <email@hidden>
  • Date: Tue, 18 Nov 2003 21:51:19 -0600

If I have two model objects that both implement KVC and KVO properly it looks like I should be able to expose bindings on one of them and send it bind:toObject:withKeyPath:options using a key path in the other object to set up a "lightweight" binding between these model objects. I definitely don't want or need the overhead of a full controller in this scenario, just a simple automatic binding. I don't have a specific scenario for this in mind right now, but I have some general ideas that seem to be leading in this direction.

My questions are will this work and are there any caveats I should be aware of? I haven't seen anything of this nature in the documentation and it seems like this kind of scenario may not have been tested thoroughly if it is not an expected or recommended use...

Matthew
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: manual key value binding
      • From: Dustin Voss <email@hidden>
  • Prev by Date: Newbie:The best way to resample a bitmap data?
  • Next by Date: Kiosk Memory Cards and Elegant Ejecting
  • Previous by thread: Re: Newbie:The best way to resample a bitmap data?
  • Next by thread: Re: manual key value binding
  • Index(es):
    • Date
    • Thread