Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

merchon

macrumors newbie
Original poster
Apr 17, 2008
1
0
I have a typical master/detail type application using core data. I have an NSTableView which uses an NSArrayControler for content (connected to my ManagedObjectContext). My detail view has an NSTextField that is bound to the array controller by "selection.name", name is my property of the entity. When I edit name in the textfield and press return the table view column changes as it should. But if I sort the column (click on the column header) things go wrong. When I now edit the text in the textfield and press return the text in the table changes to the new text and the textfield changes by reverting back to the previous text! The textfield and tableview are now out of sync.

Thanks for any help

merchon
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.