On 10/11/06, Tore Halset <[EMAIL PROTECTED]> wrote:
On Oct 11, 2006, at 17:11, Michael Gentry wrote:
> I just checked out the Cocoa Cayenne project from the sandbox and have
> a question about the Objective-C class generation. How were
> Artist.h/m created?
By hand..
> Have you created a velocity template for this yet?
No. Are you able to take a look at it?
I hoped to do all the needed stuff for initWithCoder and
encodeWithCoder in CAYPersistentObject. The problem is that I do not
know witch attributes to decode at the stage of initWithCoder. What
do you think?
I was thinking to use the meta data from the model.
and write a template that iterates through them to populate the methods.
i have done similar with the EOGen and EOModel.
The question is how flexible are the templates in cayenne ?
> PS. A co-worker is also interested in contributing to this -- he just
> subscribed to everything.
Cool :)
- Tore.