• 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
Array Controller - Making some items uneditable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Array Controller - Making some items uneditable?


  • Subject: Array Controller - Making some items uneditable?
  • From: Matt Gough <email@hidden>
  • Date: Tue, 13 Jun 2006 12:45:25 +0100

I have a table view bound to an array controller. I would like to prevent some of the items in the table being edited (by double- clicking them). I could obviously prevent any changes being propagated using validate<key>:error: but I'd prefer it if the user wasn't lulled into thinking they can make changes.

I imagine I could override [NSTableColimn isEditable] and check the selection, but I was hoping for a purely KVC-based solution.

Matt Gough
_______________________________________________
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: Array Controller - Making some items uneditable?
      • From: Jim Correia <email@hidden>
  • Prev by Date: Re: Routing Information
  • Next by Date: Re: Array Controller - Making some items uneditable?
  • Previous by thread: set alternate increment on nsslider
  • Next by thread: Re: Array Controller - Making some items uneditable?
  • Index(es):
    • Date
    • Thread