Re: How to add an array to a dictionary.....
Re: How to add an array to a dictionary.....
- Subject: Re: How to add an array to a dictionary.....
- From: John Harte <email@hidden>
- Date: Sat, 12 Oct 2002 23:25:47 -0400
Is somonesName equal to something? You can't store nil in an
NSDictionary or an NSArray.
John
On Saturday, October 12, 2002, at 10:21 PM, Keith Pritchard wrote:
helppp? Thanks!
NSMutableArray *thread;
thread=[[NSMutableArray alloc] initWithCapacity:0];
[thread addObject:[NSMutableDictionary dictionaryWithObjectsAndKeys:
somonesName,@"name",
(NSMutableArray *)nextArticle=[[NSMutableArray
alloc]init],@"children",nil] ];
_______________________________________________
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.