• 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
NSArrayController, a strange canEdit behaviour with datas
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSArrayController, a strange canEdit behaviour with datas


  • Subject: NSArrayController, a strange canEdit behaviour with datas
  • From: Herve Bouvier <email@hidden>
  • Date: Fri, 18 Jun 2004 02:34:08 +0200

Hi all,
Maybe i misunderstood something but ...

The documentation about canEdit say that it's TRUE with multiple selection Only if all values for the key are the same.

If i create a Master-Detail interface for an Array of simple dictionarys with a tableView displaying some of the keys and a detail interface with some TextFields and a TextView witch data is bind to NSArrayController selection.textkey.

When multiple lines of the tableView are selected:
- only the textFields, witch values are all the same in the selection, display the value and are editable (just like documentation says).
- but the textView never display anything, and is hallway editable, (causing some trouble in my model object)

I could understand if the textView were never editable in case of multiple selection .... ?
Is this a known bug ?

Thanks
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: Scrolling List of Thumbnails?
  • Next by Date: many-to-many relationships and object design
  • Previous by thread: Re: NSUndoManager in non-NSDocument Cocoa Applications: unable to change 'Undo' menu item name.
  • Next by thread: many-to-many relationships and object design
  • Index(es):
    • Date
    • Thread