views:

45

answers:

1

I have a NSTableView which gets it's data from a NSArrayController and I need to delete the currently selected row, I know NSManagedObjectContext has a delete deleteObject: method but I can't think of how to deleted it from the NSArrayController?

+2  A: 

Use the NSArrayController's remove: action.

dreamlax