Wednesday, 19 June 2013

UItextField length nil or not

if([[textField text] length] == 0) 
{
        //do your work...

 }