• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XCode problem?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode problem?


  • Subject: Re: XCode problem?
  • From: Alan Ward <email@hidden>
  • Date: Fri, 4 Jun 2004 13:10:57 -0700

er... it looks like it can't resolve the symbol "id". What is "id"?... and is it in scope?.. etc
It's not the NSMutableDictionary that's in question... it's what you are trying to put in it.
Error messages are your friend... they often tell you what's wrong ;-)


Alan

On Jun 4, 2004, at 12:58 PM, Justin Tocci wrote:

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.
_______________________________________________
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.


References: 
 >XCode problem? (From: Justin Tocci <email@hidden>)

  • Prev by Date: Re: XCode problem?
  • Next by Date: Re: XCode problem?
  • Previous by thread: Re: XCode problem?
  • Next by thread: Re: XCode problem?
  • Index(es):
    • Date
    • Thread