On Feb 5, 2010, at 12:13 PM, Graham Cox wrote: > > On 05/02/2010, at 9:55 PM, Michael Thon wrote: > >> Instead of putting my delegate methods in the window controller, should I >> instead subclass NSArrayController and put the delegate methods in there? >> Doesn't make sense to me to make a subclass just to add delegate methods. > > > No, it can be any object, it's just usually convenient for it to be the same > controller that is also the datasource. > > Where does the error you mention actually come from? >
Haven't actually figured that out. Its not fatal and it isn't followed by a stack trace. my button in the UI is bound to remove: in the array controller. when I remove the last item in the table I get the error. clicking the button when the table is already empty does not throw the error. I guess it must come from NSTableView._______________________________________________ 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 arch...@mail-archive.com