title: How to Remove the particular array value not an object?
body: <p><em>This is the value my array contains:</em></p>
  
  <pre><code>(
          {
          yes = 0;
      },
          {
          yes = 1;
      },
          {
          yes = 2;
      },
          {
          yes = 3;
      },
          {
          yes = 4;
      }
  )
  </code></pre>
  
  <p>Now i like to remove yes=1;</p>
  
  <p><em>this is My code</em></p>
  
  <pre><code>-(void)touchup:(UIButton*)click
  {
  
  
      dicButtonState=[[NSMutableDictionary alloc]init];
  
  
      if(click.selected==NO)
      {
          click.backgroundColor=[UIColor colorFromHexString:@"#ffc400"];
           click.selected=YES;
  
  
  
        [dicButtonState setValue:@(click.tag) forKey:@"yes"];
  //        [arrButtonState addObject:btntag];
  
         [arrButtonState addObject:dicButtonState];
  
      }
  #pragma mark deleting product on user deselection
      else
      {
  
          click.backgroundColor=[UIColor grayColor];
          click.selected=NO;
  
  
      }
  
  }
  </code></pre>
  
  <p>This is my code to maintain the user selection button state i am storing those values in array.</p>
  
  <p>how i have to remove this ,please anybody help me to do this..</p>