• 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
NDDictionary and int Values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NDDictionary and int Values


  • Subject: NDDictionary and int Values
  • From: Roberto Sobachi <email@hidden>
  • Date: Sat, 7 Feb 2004 09:45:39 +0100

I've got this NSDictionary, but it returns passing arg 1 from
incompatible pointer type:

int i=0;

NSNumber *idcomic;

for(i=0; i<1000; i++) {

idcomic = [[NSNumber alloc] initWithInt: i];

demoDict = [[NSDictionary alloc] init];

demoDict = [NSDictionary dictionaryWithObjectsAndKeys: (id *)
idcomic, @"idcomic", @"Wolverine", @"protagonist", @"Senza Artigli",
@"title", @"12", @"prognumber", @"fdsf", @"sernumber", @"fdsf",
@"story", @"fdsf", @"pencils", @"fdsf", @"inks", @"fdsf", @"colors",
@"fdsf", @"vote", @"fdsf", @"series", @"fdsf", @"publisher", @"fdsf",
@"number", @"fdsf", @"pages", @"fdsf", @"date", @"fdsf", @"price",
@"fdsf", @"value", @"fdsf", @"covertype", @"sdfdsf", @"note", nil];

}


Roberto Sobachi
developer
http://www.xidiar.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NDDictionary and int Values
      • From: Jörn Salewski <email@hidden>
    • Re: NDDictionary and int Values
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Fitting the dynamically added tabs in a window
  • Next by Date: Re: NDDictionary and int Values
  • Previous by thread: Fitting the dynamically added tabs in a window
  • Next by thread: Re: NDDictionary and int Values
  • Index(es):
    • Date
    • Thread