• 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: Scott Stevenson <email@hidden>
  • Date: Mon, 20 Sep 2004 00:44:48 -0700


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


-- Tree House Ideas http://treehouseideas.com/

_______________________________________________
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: Herve Bouvier <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>)
 >Re: Bindings: how to deal with canRemove ? (From: Herve Bouvier <email@hidden>)
 >Re: Bindings: how to deal with canRemove ? (From: Larry Fransson <email@hidden>)
 >Re: Bindings: how to deal with canRemove ? (From: Herve Bouvier <email@hidden>)

  • Prev by Date: Re: Bindings: how to deal with canRemove ?
  • Next by Date: Re: Why does SCM have to be so ....... hard?
  • Previous by thread: Re: Bindings: how to deal with canRemove ?
  • Next by thread: Re: Bindings: how to deal with canRemove ?
  • Index(es):
    • Date
    • Thread