title: Allowing only alphabets in textField
body: <p>I want to make a UITextField to accept only characters and display error when numbers or special characters are entered.But when Im doing so ,when I enter alphabets also error is displayed.Could not understand where I going wrong?</p>
  
  <pre><code>NSString *FNameReg=@"[A-Za-z]";
  NSPredicate *FNametest=[NSPredicate predicateWithFormat:@"SELF MATCHES %@",FNameReg];
   if(![FNametest evaluateWithObject:txtfirstname.text])
      {
          lblvalidateFName.hidden=NO;
          [testScroll setContentOffset:CGPointMake( 0 , 74)];
          return;
      }
  </code></pre>
  
  <p>BUt now when I give alphabets also then also error is displayed.Y is it so ?</p>