How do I know when a new object is added to an NSArray or NSCollectionView?

2010-01-10 Thread Brad Stone
I'd like a viewController to be notified whenever an arrayController adds a new object. Here's why: I have an NSTextField in a view that gets added in an NSCollectionView. There's also an array controller and when I fire the add: selector the new view shows up in the collection. The view

Re: How do I know when a new object is added to an NSArray or NSCollectionView?

2010-01-10 Thread Quincey Morris
On Jan 8, 2010, at 17:02, Brad Stone wrote: I'd like a viewController to be notified whenever an arrayController adds a new object. Here's why: ... 1) how do I get notified if a new object is added?