• 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: David LeBer <email@hidden>
  • Date: Fri, 4 Jun 2004 16:12:08 -0400

On 4-Jun-04, at 3: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 :-(

Where is id defined? Is it a public variable in your component?

;david

--
David LeBer
Codebase Software Systems
site:   http://www.codebase.ca
blog: http://david.codebase.ca
_______________________________________________
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