Re: Re: Cocoa Cayenne Class Generation?

From: Klajd Deda (clyde.ded..mail.com)
Date: Wed Oct 11 2006 - 17:44:09 EDT

  • Next message: Tore Halset: "Re: Cocoa Cayenne Class Generation?"

    On 10/11/06, Tore Halset <halse..vv.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.
    >



    This archive was generated by hypermail 2.0.0 : Wed Oct 11 2006 - 17:44:34 EDT