UITextField numeric entries only

Numeric Keypad only

I am going to provide here snip for limiting a textfield to numbers only. Following code-snip will help you to enter 14 digit number like a phone number including brackets (), dash – , space and backspace.

UIPickerView & ActionSheet – Customization – Problem & Solution

UIPickerView, ActionSheet - Customization - Problem, Solution 02

Someone asked me to solve the problem. He/She was not able to solve this. I was not busy. So, In my spare time, I solved this & I am adding his solution here. Here are the screen-shots of the sample … Continue reading

UIPickerView & ActionSheet – Customization – Problem & Solution

UIPickerView, ActionSheet - Customization - Problem, Solution 02

Someone asked me to solve the problem. He/She was not able to solve this. I was not busy. So, In my spare time, I solved this & I am adding his solution here. Here are the screen-shots of the sample … Continue reading

Best way to trim white spaces from a NSString

Do you guys stuck with trimming white-spaces ? Following snip of code would surely help you to trim string.

As you can notice that, strUserName string will have trimmed characters from textField of UserName. Examples

Also the create … Continue reading