categories porting
categories porting
- Subject: categories porting
- From: "Mohamed Mnajja" <email@hidden>
- Date: Mon, 23 May 2005 18:28:28 +0200
Hello,
i'm trying to migrate an existent
Objective-C
classes to Java using the
JavaConverter.
i have a problem when porting a
Category.
the JavaConverter doesn't generate any
associated
class.
what is the best way to migrate the categories into
Java (especially
categories of the foundation and EOF
classes):
1-transform the ObjC categories to classes that inherits
from the original base class.
which includes only the category's
methods and then i perform the
convertion.
2- transform the ObjC categories
to classes that inherits
from the original base
class:
- which adds a new attribute from the base class(which
will be
used as parameter to the constructor),
-
the category's
methods ,
-
and reimplements the base class methods by calling
the associated method from new
attribute attribute.
thank you for your help,
Mohamed Mnajja.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden