NDDictionary and int Values
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.