Take IBOutlet for TextField , Button and Lable: TextField: To take input from user Label: To show output to user Button : To Convert from string to Attributed string with highlighting HTTP string as a URL. Code: @interface ViewController () @property (weak, nonatomic) IBOutlet UITextField *textField; @property (weak, nonatomic) IBOutlet UILabel *label; -(IBAction)click:(id)sender; @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } -(IBAction)click:(id)sender { NSMutableArray *mutableWords = [[_textField.text componentsSeparatedByString: @" "] mutableCopy]; NSLog(@"MutableWords: %@",mut...