Generate random string in Objective-C

Random string generation in objective-c

Following code snip will help you to generate random string by specifying the length of random string to be generated. Copy & paste following method as per your desire.  

Divide NSData Into pieces & gather Pieces into single NSData Object for security purpose

XCode-Logo small

Following methods will help you to understand the concept of Dividing data & merging them back. Go through the comments inserted within to understand the code.

Handle Tap On UILabel event / UIGesture on UILabel

xcode_hammer_build_blueprint_tool

Step 1. Add UILabel dynamically or using interface builder into your view. Step 2. Put following lines of code for handling Tap On UILabel.

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.

UISearchBarDisplayController with video demonstration

UISearchBarDisplayViewController-2

Video is going to describe the implementation of CustomCell & UISearchBarDisplayController. Here are the sample screen-shot of output of iphone simulator. Just go through the video & let us know your comments on it. Grab the source code from here.