Skip navigation.
 
mlRe: Bindings and object-pointer keys
FROM : Seth Pellegrino
DATE : Fri Jan 04 15:07:37 2008

On Dec 31, 2007, at 3:18 AM, Ken Thomases wrote:

> There may be a more elegant or correct solution, but the following 
> should work:
>
> Create a "synthetic" property on the Job class, let's call it 
> salaryData.  Use setKeys:triggerChangeNotificationsForDependentKey: 
> to make the salaryData property dependent on the salary key (and any 
> other keys/properties on which SalaryCell bases its display and 
> behavior).  Then, bind your salary column to the salaryData property.
> <snip>
> I hope that helps.


Indeed, that helped a great deal. I  do see your point about a salary 
value-object as well, and I'll definitely spend some time thinking 
about that path.

Thank you again, sir, your solution works very well.

Also, thanks are due to Mr. mmalc crawford, your information about 
Core Data is very helpful. However, I think I'm going to take your 
advice and spend some more time with Cocoa before I actually use Core 
Data.

Seth Pellegrino

Related mailsAuthorDate
mlBindings and object-pointer keys Seth Pellegrino Dec 30, 17:40
mlRe: Bindings and object-pointer keys I. Savant Dec 30, 18:00
mlRe: Bindings and object-pointer keys Seth Pellegrino Dec 31, 00:49
mlRe: Bindings and object-pointer keys mmalc crawford Dec 31, 00:58
mlRe: Bindings and object-pointer keys Seth Pellegrino Dec 31, 05:23
mlRe: Bindings and object-pointer keys mmalc crawford Dec 31, 06:27
mlRe: Bindings and object-pointer keys Ken Thomases Dec 31, 09:18
mlRe: Bindings and object-pointer keys Seth Pellegrino Jan 4, 15:07