• 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: Subclassing NSTableView[Solved]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Subclassing NSTableView[Solved]


  • Subject: RE: Subclassing NSTableView[Solved]
  • From: "Peter Karlsson" <email@hidden>
  • Date: Thu, 21 Oct 2004 12:27:38 +0200

Just want to tell everyone that it works now but it's very strange.

This code was missing in my app:

- (void)tableView:(NSTableView*)table setObjectValue:anObject
forTableColumn:(NSTableColumn *)col row:(int)rowIndex
{
[myMutableArray replaceObjectAtIndex: rowIndex withObject: anObject];
return;
}

But this code was also missing from the app yesterday that worked. I have
had no other problems since the project started at least 1 year ago, all
the time with this code missing. What conclusions can I make from that? I
really don't know... ;-)

Peter

Ursprungligt meddelande

> Dear list!
>
> Yesterday I subclassed my NSTableView so the user can edit a row and press
> return to exit the editing process, everything worked as expected. Today I
> did the same thing to another app. But when I have edited the row and
press
> return the text in the row is not changed to the one I have typed. It
> changes back to the text that was in the row before the editing took
place.
> Can someone tell me what's going on here? Very strange...
>
> Best regards Peter
>
> _______________________________________________
> 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
>

_______________________________________________
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: Subclassing NSTableView[Solved]
      • From: Daniel Todd Currie <email@hidden>
  • Prev by Date: NSXMLParser question
  • Next by Date: Diff between Build styles in X Code.
  • Previous by thread: Re: NSXMLParser question
  • Next by thread: Re: Subclassing NSTableView[Solved]
  • Index(es):
    • Date
    • Thread