masked the pasword input to UITexfield
<p>I hope to mask the text input to UITextFiled as:</p>

<pre><code>"ABCDE" to
"*****"
</code></pre>

<p>below are my codes without function</p>

<pre><code>- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string
{
   int l=[textField.text length];
   range=NSMakeRange(1, l );
   string=[[[NSString alloc]initWithString:@"*"] autorelease];
   return YES;
}
</code></pre>

<p>Welcome any comment</p>

<p>Thanks
interdev</p>
