title: How to set array value and key in NSDictionary in iphone?
body: <p>Here i am using NSMutableArray to store date, then i tried to set key and assign ArrayValue in dictionary but the app crashed, please help me</p>
  
  <p>Thanks in ADvance</p>
  
  <pre><code> Here i tried the code for your reference:
  
    [DateArray addObject:dateString]; //NSMutablArray 
    NSMutableDictionary *myDictionary =[[NSMutableDictionary alloc]init];         
    [myDictionary setObject:DateArray forKey:@"Date"]; //put array value and set key in NSDictionary.
  </code></pre>