title: Array cannot be formed from single element in NSMutableDictionary -[__NSCFString count]:
body: <p>I'm setting objects to my NSMutableDictionary like this</p>
  
  <pre><code>if ([detail isEqualToString:[check objectAtIndex:1]]) {//check is NSArray,getdict is NSMutableDictionary,keyverify is NSMutableArray
  
  
          if ([getdict objectForKey:detail]==nil) {
  
              [getdict setObject:[check objectAtIndex:2] forKey:detail];
              [keyverify addObject:[check objectAtIndex:2]];
          }
  
          else{
  
              [keyverify addObject:[check objectAtIndex:2]];
              [getdict setObject:keyverify forKey:detail];
  
          }
  
          }
             NSArray * passarray=[getdict valueForKey:detail];
  </code></pre>
  
  <p>when my NSMutableDictionary value is like this </p>
  
  <pre><code>dict:{
  "Sample" =     (
      "Test1",
      Test2,
      Test3
  );
  }
  </code></pre>
  
  <p>i can get an array from NSMutableDictionary and displayed in UITableView but when i get my NSMutableDictionary value like this</p>
  
  <pre><code>dict:{
  "Sample" = Test1;
  }
  </code></pre>
  
  <p>my app crashes with an log</p>
  
  <pre><code>*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString count]: unrecognized selector sent to instance 0x6eab4c0'
  </code></pre>
  
  <p>Kindly help me pls..Thanks..</p>