• 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
NSOutlineView binding and row editing problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOutlineView binding and row editing problem


  • Subject: NSOutlineView binding and row editing problem
  • From: David Chan <email@hidden>
  • Date: Wed, 7 Dec 2005 17:46:56 +0800

Hi All,

I am currently trying to use NSTreeController binding to manage the
content of my NSOutlineView, reason being is that I am trying to use
Core Data for my application at the moment. Now when a user is trying
to edit a row (double clicking, type and return), I would like to
validate the entry before it gets updated. Previously I override
setObjectValue: forTableColumn: byItem: method. If the new entry is
invalid, I will simply not update the row and return the old value.

But that means I cannot use NSTreeController since I must set the
datasource to a controller class right? Is there a work around for
this?
Thank you.

Regards
David
_______________________________________________
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: NSOutlineView binding and row editing problem
      • From: Scott Anguish <email@hidden>
  • Prev by Date: Re: XCode Build issues
  • Next by Date: Re: NSOutlineView binding and row editing problem
  • Previous by thread: Re: XCode Build issues
  • Next by thread: Re: NSOutlineView binding and row editing problem
  • Index(es):
    • Date
    • Thread