• 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
Simple bindings example
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Simple bindings example


  • Subject: Simple bindings example
  • From: Andrew White <email@hidden>
  • Date: Fri, 14 May 2010 17:49:44 +1000

I've searched around and I can find sample code for this simple Bindings problem:

I have an NSMutableSet of strings. I update the set internally. I want to display a single column NSTableView with all the current strings in the set. These strings can (and do) change as the program runs. From a user perspective, this is read-only: the user can't edit it.

And I want to do it with bindings.

I cannot for the life of me figure how to plumb it. And how to get KVO to work.

Does anyone have a minimal example of this?

(XCode 3.2, 10.6)


Thanks

--
Andrew White
_______________________________________________

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: Simple bindings example
      • From: Quincey Morris <email@hidden>
  • Prev by Date: how to terminate first AlertPanel when second AlertPanel appears?
  • Next by Date: Re: AsyncUdpSocket: Receiving duplicate UDP Packet
  • Previous by thread: Re: how to terminate first AlertPanel when second AlertPanel appears?
  • Next by thread: Re: Simple bindings example
  • Index(es):
    • Date
    • Thread