Re: XCode problem?
Re: XCode problem?
- Subject: Re: XCode problem?
- From: Dirk Bajohr <email@hidden>
- Date: Fri, 4 Jun 2004 22:19:19 +0200
The object called "id" is not accessable in your method, that's what
the error says. Does the variable exist? Is the variable public,
protected or privat? You want to fetch object with that id, but where
do you set the value?
Cheers,
Dirk
Am 04.06.2004 um 21:58 schrieb Justin Tocci:
Ok guys, now can I be sure I have a problem in Xcode? Here is the code:
public NSArray detailForItem() {
Session session = (Session)session();
NSMutableDictionary args = new NSMutableDictionary();
> args.setObjectForKey(id, "personID");
return
EOUtilities.objectsWithFetchSpecificationAndBindings(session().defaultE
ditingContext(),
"Tdrawing",
"drawingDetail",
(NSDictionary)args);
}
XCode refuses to build this, marks the line with the greater than
symbol and the error says "cannot resolve symbol : variable id". All
I'm doing is building an NSDictionary, why would it try to resolve it
as a variable?
Anyone have any ideas other than use Eclipse and WOLips? Or am I going
to spend my weekend learning how to install and use another IDE :-(
justin
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
--
Dirk Bajohr
iSOLUTION - Individuelle Software fuer moderne Kommunikation
Hauptstr. 50
53757 Sankt Augustin
T +49 2241 921567-0
F +49 2241 921567-89
http://www.isolution.de
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.