On Fri, Apr 4, 2008 at 3:39 PM, Torsten Curdt <[EMAIL PROTECTED]> wrote: > OK ...so predicate filter I got working - sort of. I've bound the predicate > in the AppDelegate to the NSArrayController. When I start up the application > it filters just fine. > I've also got the "add" and "remove" actions bound to buttons. But as soon > as I call "add" the filtered objects re-appear and the predicate seems to > get not applied anymore. > > Any thoughts on that?
Yes. Remember the prerequisites I mentioned? > 4 - Bindings (and probably the required KVC/KVO concepts). ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This means "Key Value Coding" / "Key Value Observing". Lack of proper KVO encapsulation is most likely the cause. > As for the table cell.... Creating a custom table cell doesn't seem to be a > big deal. But if I want to layout the controls through IB it seems I either > need to get the SubviewTable thing working with bindings or just go Leopard > and use NSCollectionView. There seems to be quite a good example available. Yes. -- I.S. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]