As the questions states, what's the most efficient way of checking to see if a website link is valid?
Currently I'm executing the following code, but when applied to a list of 20 URL's, it takes incredibly long to complete.
if let data = NSData(contentsOfURL: NSURL(string: thisURL)!) {
println(thisURL)
} else {
println("doesn't exist")
break
}