Posted By

vaishnavi on 12/28/10


Tagged

class


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

vaishnavi
terababy
sag333ar
Tintenklecks
cnathan


To check the type of class


 / Published in: Objective C
 

  1. //to check if the first element of this array is a UITextField
  2.  
  3. if ([[array objectAtIndex:0] isKindOfClass:[UITextField class]]) {
  4.  
  5. //code
  6. }

Report this snippet  

You need to login to post a comment.