• 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: programatically updating UI for NSArrayContoller/NSTableView combo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: programatically updating UI for NSArrayContoller/NSTableView combo


  • Subject: Re: programatically updating UI for NSArrayContoller/NSTableView combo
  • From: mmalc Crawford <email@hidden>
  • Date: Sat, 09 Jan 2010 13:59:19 -0800

On Jan 9, 2010, at 1:50 pm, Russell Gray wrote:
> On 10/01/2010, at 8:18 AM, Quincey Morris wrote:
>> How about if you register your own KVO observer of the "subscriptions" property? Does it get notified when the property changes? Did you check the log for exception error messages?
> So, I added an observer to my awakeFromNIb:
> [subscriptionsArrayController addObserver: self
> 			forKeyPath: @"arrangedObjects"
> 			options: NSKeyValueObservingOptionNew
> 			context: NULL];
>

Quincey did suggest observing the subscriptions property...

> what would be my next plan of attack here?
>
Re-read the KVO Programming Guide and the Cocoa Bindings Programming Guide, and review the myriad examples that show how to do this to see how yours differs.
Seeing the code you're using to modify the subscriptions property would also be useful.

mmalc

_______________________________________________

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: programatically updating UI for NSArrayContoller/NSTableView combo
      • From: Russell Gray <email@hidden>
References: 
 >programatically updating UI for NSArrayContoller/NSTableView combo (From: Russell Gray <email@hidden>)
 >Re: programatically updating UI for NSArrayContoller/NSTableView combo (From: mmalc Crawford <email@hidden>)
 >Re: programatically updating UI for NSArrayContoller/NSTableView combo (From: Russell Gray <email@hidden>)
 >Re: programatically updating UI for NSArrayContoller/NSTableView combo (From: Quincey Morris <email@hidden>)
 >Re: programatically updating UI for NSArrayContoller/NSTableView combo (From: Russell Gray <email@hidden>)
 >Re: programatically updating UI for NSArrayContoller/NSTableView combo (From: Quincey Morris <email@hidden>)
 >Re: programatically updating UI for NSArrayContoller/NSTableView combo (From: Russell Gray <email@hidden>)

  • Prev by Date: Re: programatically updating UI for NSArrayContoller/NSTableView combo
  • Next by Date: Re: programatically updating UI for NSArrayContoller/NSTableView combo
  • Previous by thread: Re: programatically updating UI for NSArrayContoller/NSTableView combo
  • Next by thread: Re: programatically updating UI for NSArrayContoller/NSTableView combo
  • Index(es):
    • Date
    • Thread