• 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 a model's ivar array to the contents of an NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding a model's ivar array to the contents of an NSArrayController


  • Subject: Re: Binding a model's ivar array to the contents of an NSArrayController
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 16 Sep 2009 11:34:34 -0400

On Sep 16, 2009, at 11:29 AM, A B wrote:

So in short, my need is pretty simple: Bind an array to an NSArrayController. That being said, it seems that no combination of exposeBindings:, bind:toObject:withKeypath:options:, observeValueForKey:ofObject:change:context:, etc. is working as I expect it to. Admittedly, I have done most of my binding work via IB and I've never really done much with bind:toObject:withKeypath:options: before, so I wouldn't be surprised to find that that was where my problem lay.

Can anybody offer any general tips as to how I might be able to accomplish this? I'm sure that this is one of those basic things that once I get it I'll do a full-on forehead slap when the light goes on, but right now I'm just feeling around in the dark.

An example, perhaps?

http://homepage.mac.com/mmalc/CocoaExamples/controllers.html

  See the "Graphics Bindings" example.

--
I.S.

_______________________________________________

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


References: 
 >Binding a model's ivar array to the contents of an NSArrayController (From: A B <email@hidden>)

  • Prev by Date: Binding a model's ivar array to the contents of an NSArrayController
  • Next by Date: Re: Debug-level messages don't appear in Console even after asl_set_filter()
  • Previous by thread: Binding a model's ivar array to the contents of an NSArrayController
  • Next by thread: Re: Binding a model's ivar array to the contents of an NSArrayController
  • Index(es):
    • Date
    • Thread