Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

cblackburn

macrumors regular
Original poster
Hey everyone,

I'm trying to watch for when the user changes a field on an NSArrayController subclass. I want it so that when the user edits the information I am notified but so that when the user simply changes the selection of the ArrayController I am not called.

What is the best way of implementing this? Is addObserver:forKeyPath:... the way to go? I think this will be called every time the user changes the selection though?

Thanks for your help

Chris
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.