Re: Finding text that the user entered
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.