title: custom class inheriting from UIButton not detected in isKindOfClass:
body: <p>I've created a custom button class with some extra properties that inherits from UIButton. It is added in a view like following with a normal button:</p>
  
  <pre><code>EFButton *btn = [EFButton buttonWithType:UIButtonTypeRoundedRect];    
  btn.frame = CGRectMake(500, 100, 100, 44);
  btn.backgroundColor = [UIColor lightGrayColor];
  btn.userInteractionEnabled = NO;
  [self.view addSubview:btn];
  
  UIButton *nBtn = [UIButton buttonWithType:UIButtonTypeRoundedRect];    
  nBtn.frame = CGRectMake(500, 100, 100, 44);
  nBtn.backgroundColor = [UIColor lightGrayColor];
  nBtn.userInteractionEnabled = NO;
  [self.view addSubview:nBtn];
  </code></pre>
  
  <p>Looping through the objects in view like:</p>
  
  <pre><code>  for (id view in self.view.subviews) 
  {
  
      if ([view isKindOfClass:[EFButton class]]) 
      {
          //** dsnt come here **
          NSLog(@"EFButton Class");
          EFButton *btn = view;
      }
      if ([view isKindOfClass:[UIButton class]]) 
      {
          //** come here **
          NSLog(@"UIButton Class");
          UIButton *btn = view;
      }
  }
  </code></pre>
  
  <p>UIButton is works but it does not come in the condition of isKindOfClass:[EFButton class]. Please help me with what i'm doing wrong or how it needs to be done.</p>