title: How to set limit in text field?
body: <p>can any body tell me how to set the limit for words to enter in a text field in objective-c?
  In my case i have a registration form and in registration form every user have to enter <code>username</code>, <code>password</code>, <code>email</code> and <code>phone no.</code> and now i have to restrict the user to enter a name of maximum 15 characters.</p>
  
  <p>can any one tell me how i can do this?</p>