I can't believe they don't have this Obj-C method...

Discussion in 'Mac Programming' started by Billy Boo Bob, Aug 10, 2010.

  1. Billy Boo Bob macrumors 6502

    Billy Boo Bob

    Joined:
    Jun 6, 2005
    Location:
    Dark Side Of The Moon
    #1
    Why in the hell didn't Apple, or for that matter, NeXT, where it all started, put in a matching NSTableViewDelegate method for

    tableView:shouldEditTableColumn:row:

    called

    tableView:didEditTableColumn:row: ???

    I know it's not that hard to work around it, but that should be a no-brainer... "Ok. So a cell just got edited... What cell was it?" Jeez.

    Sorry for the rant... I'm still fairly new to Obj-C and just spent a long time in the docs trying to find something similar, then gave up and wrote my workaround.
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    What do you need it for? I imagine tableView:setObjectValue:forTableColumn:row: does the trick for most people.
     

Share This Page