• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bindings: how to deal with canRemove ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings: how to deal with canRemove ?


  • Subject: Re: Bindings: how to deal with canRemove ?
  • From: Herve Bouvier <email@hidden>
  • Date: Sun, 19 Sep 2004 17:10:02 +0200


Le 17 sept. 04, à 12:45, Allan Odgaard a écrit :

On 17. Sep 2004, at 9:10, Herve Bouvier wrote:

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?

You can implement a similar attribute in your own controller and bind the enabled state to that one instead.

Thank you,
Yes, I could also attach a Bool value to all my records in the array and bind the editable property of the button to this key throw the array controller ...
I'll try this.


But what is the canRemove control key for?

did any one use it ???
Is it supposed to be used in a future release (Tiger and Xcode 2 ?) ?

--------
Herve
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


  • Follow-Ups:
    • Re: Bindings: how to deal with canRemove ?
      • From: Larry Fransson <email@hidden>
    • Re: Bindings: how to deal with canRemove ?
      • From: Ondra Cada <email@hidden>
References: 
 >Bindings: how to deal with canRemove ? (From: Herve Bouvier <email@hidden>)
 >Re: Bindings: how to deal with canRemove ? (From: Allan Odgaard <email@hidden>)

  • Prev by Date: Re: Unicode replaceOccuranceOfString?
  • Next by Date: Re: Home and end keys and NSTableView, not handled automatically?
  • Previous by thread: Re: Bindings: how to deal with canRemove ?
  • Next by thread: Re: Bindings: how to deal with canRemove ?
  • Index(es):
    • Date
    • Thread