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
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 mails | Author | Date |
|---|---|---|
| Seth Pellegrino | Dec 30, 17:40 | |
| I. Savant | Dec 30, 18:00 | |
| Seth Pellegrino | Dec 31, 00:49 | |
| mmalc crawford | Dec 31, 00:58 | |
| Seth Pellegrino | Dec 31, 05:23 | |
| mmalc crawford | Dec 31, 06:27 | |
| Ken Thomases | Dec 31, 09:18 | |
| Seth Pellegrino | Jan 4, 15:07 |






Cocoa mail archive

