I get data (HTML string) from website. I want to extract all links. I write function (it works), but it is so slow...
Can you help me to optimize it? What standard
There's actually a class called NSDataDetector that will detect the link for you.
NSDataDetector
You can find an example of it on NSHipster here: http://nshipster.com/nsdatadetector/