Bindings: how to deal with canRemove ?
Bindings: how to deal with canRemove ?
- Subject: Bindings: how to deal with canRemove ?
- From: Herve Bouvier <email@hidden>
- Date: Fri, 17 Sep 2004 09:10:51 +0200
Hello,
I 've search every where i could but did not find any information on
how to deal with the NSArrayController controller keys: canAdd,
canRemove, canInsert.
I know i can easily bind the enable state of a NSButton to these
controller keys but it seems the NSArrayController don't give me a
chance to customize his behavior depending on the model object's
selected item.
If i want to keep control of these "property" (canRemove etc...) should
I sub-class NSArrayController (and implement a specific behavior on
canRemove: ) or is there any other way ?
Is there a way to bind these "property" to my controller or model
object ?
I really can't figure out how to deal with those keys.
Please give me a clue on where to search.
Regards
------
Herve Bouvier
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