Re: CocoaEOApplication
Re: CocoaEOApplication
- Subject: Re: CocoaEOApplication
- From: Ricardo Strausz <email@hidden>
- Date: Wed, 9 Mar 2005 12:51:11 -0600
first, double check that the type is
EODisplayGroup * (note the *... it is a pointer).
Secondly, you may nead to implement an interface (a .h file) for
EODisplayGroup, and the methods you are using... in general this will
avoid the compiler to "unknow the class".
Of course, the compiler will think that such an object is an
Objective-C object, but your are fooling it; don't worry!
Definetly you do not nead to change platform!!
Dino
On Mar 8, 2005, at 6:49, email@hidden wrote:
Date: Tue, 8 Mar 2005 11:04:39 +0100
From: Fabrice Pipart <email@hidden>
Subject: CocoaEOApplication
To: WOdev List <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset="us-ascii"
Hi,
I am currently developing a module of an application that, to my mind,
should be developed in Objective-C (it uses Quicktime and the Obj-C API
is far more complete than QT4J and I would like to use Core-Video in
the near future : it is Obj-C only right?).
But I would like to integrate that module in WebObjects (that is, the
rest of the application), at least to write/read the database.
I saw here :
http://wodev.spearway.com/cgi-bin/WebObjects/WODev.woa/wa/Main?
wikiPage=CocoaEOApplication and in the archives
(http://lists.apple.com/archives/webobjects-dev/2003/Jul/msg00370.html)
that it might be possible to use the EOF in Objective-C.
And in fact to display and insert data in database, it works fine.
But obviously I need to add some more custom logic.
At point 12. (of the wodev tutorial) when I try to connect my outlet to
the EODisplayGroup, I have an error in IB : "displayGroup must be of
type EODisplayGroup". Than I changed the type of my outlet from "id" to
"EODisplayGroup" but now the source file of the controller does not
compile : "parse error before EODisplayGroup"...
Does someone have an idea? Am I missing an import?
Should I switch to another architecture?
Thanks.
Fabrice Pipart
www.icconsulting.mc
International Corporate Consulting
25, Boulevard de Belgique
MC - 98000 Monaco
T. +377 97982104 (direct)
F. +377 97708807
_______________________________________________
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