PDA

View Full Version : Setting the value of a core data bound popupcellbutton via relationship




jtamez
May 3, 2009, 07:37 PM
Hello everyone


I've never been able to acomplish this. I have a core data bound table with a popupbuttoncell that displays values from a person entity. The popupbutton displays Company names, so I can set a company name to a person on my table.

I want to change the value of the popupbuttoncell via code like this:


[personArrayController setValue:@"company" forKeyPath:@"companyrelationship.companyname"];

With no success... any pointers?

Thanks a lot,
Joe