cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Klajd Deda" <clyde.d...@gmail.com>
Subject Re: Re: Cocoa Cayenne Class Generation?
Date Wed, 11 Oct 2006 21:44:09 GMT
On 10/11/06, Tore Halset <halset@pvv.ntnu.no> 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.
>

Mime
View raw message