• 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: Finding text that the user entered
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding text that the user entered


  • Subject: Re: Finding text that the user entered
  • From: Jonathan Jackel <email@hidden>
  • Date: Sun, 15 Jun 2003 17:29:08 -0400

The table view will send tableView:setObjectValue:forTableColumn:row:
to its datasource when the user completes editing. Is that the use you
had in mind? If so, check out:

file:///Developer/Documentation/Cocoa/TasksAndConcepts/
ProgrammingTopics/TableView/Tasks/UsingTableDataSource.html

Jonathan

On Sunday, June 15, 2003, at 03:53 PM, Danny Swarzman wrote:

> Seems like a simple thing but...
>
> I have a NSTableView. I want to get the text that the user just entered
> so that I can use the value.
>
> I implement:
>
> - (void)controlTextDidEndEditing:(N
> SNotification *)aNotification
>
>
>
> then find the cell in question and:
>
> NSString* value = [cell stringValue];
>
> But I get the old value. How do I get the text that the user just
> entered?
>
> -Danny Swarzman
_______________________________________________
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.

References: 
 >Finding text that the user entered (From: Danny Swarzman <email@hidden>)

  • Prev by Date: Re: NSMovieView: Get frame counter
  • Next by Date: Re: Subclass
  • Previous by thread: Finding text that the user entered
  • Next by thread: Registering File Types or Icons
  • Index(es):
    • Date
    • Thread