Re: Bindings: how to deal with canRemove ?
Re: Bindings: how to deal with canRemove ?
- Subject: Re: Bindings: how to deal with canRemove ?
- From: Herve Bouvier <email@hidden>
- Date: Mon, 20 Sep 2004 17:26:05 +0200
Le 20 sept. 04, à 09:44, Scott Stevenson a écrit :
On Sep 20, 2004, at 12:39 AM, Herve Bouvier wrote:
But is there a way ton customize the behavior of canRemove ?
Could it be Yes when an item is selected AND the item itself is ok to
be deleted ?
Do i have to subclass NSArrayController for that ?
The canRemove item is a controller key, so you'll probably need to
subclass for that.
Ideally, your subclass would use a delegate to extend canRemove.
- Scott
Excelent !
I think i'll do that, a reusable subclass of NSArrayController that
délégate canRemove canAdd and canInsert.
Thanks a lot
Hervé
Marseille
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden