September 2011

UITextViews can automatically detect URLs and phone numbers

Quick tip: Everyone knows that when you create a UITextView in Interface Builder you can easily switch it to automatically detect URLs, but recently I was looking for the code to do this dynamically and all I code find was a 15 line REG EX. So here’s how to set text fields to dynamically detect Continue reading UITextViews can automatically detect URLs and phone numbers