Defaulting new entity fields to be same as current selection?

2008-05-31 Thread Rick Mann
I've got an NSTreeController and associated view. I use - awakeFromInsert to set default values for the entities created as a result of calling -add. I'd like for one of the fields to take on the same value as the currently-selected entity. Can I get at that from within -awakeFromInsert?

Re: Defaulting new entity fields to be same as current selection?

2008-05-31 Thread Rick Mann
On May 31, 2008, at 07:30:16, I. Savant wrote: Can I get at that from within -awakeFromInsert? Yes, through some incredible acrobatics, you probably could, but then that would be like walking right up to the MVC design pattern and b**ch-slapping it right in the face. ;-) Yes, of