Top "Nsurl" questions

NSURL is a class from Foundation.

openURL: deprecated in iOS 10

Apple with iOS 10 has deprecated openURL: for openURL:option:completionHandler If I have: [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://www.…

ios objective-c nsurl ios10
Replace occurrences of space in URL

I have a URL in an iPhone application to work with. But the problem is that it has some spaces …

ios objective-c nsstring nsurl
How To Get HTML source from URL with Swift

I need to look at the HTML of a page given by a certain URL. If I have this, what …

ios swift nsurl
How can I build a URL with query parameters containing multiple values for the same key in Swift?

I am using AFNetworking in my iOS app and for all the GET requests it makes, I build the url …

ios swift swift2 nsurl
Convert String to NSURL is return nil in swift

I am trying to convert a String to NSURL and my code for that is Below: var url = "https://maps.…

ios string swift nsurl
Testing file existence using NSURL

Snow Leopard introduced many new methods to use NSURL objects to refer to files, not pathnames or Core Services' FSRefs. …

cocoa osx-snow-leopard nsurl core-foundation nsfilemanager
Can I somehow do a synchronous HTTP request via NSURLSession in Swift

Can I somehow do a synchronous HTTP request via NSURLSession in Swift? I can do an asynchronous request via the …

http swift httprequest nsurl
How to convert NSURL to String in Swift

How do you convert an NSURL to a String in Swift? The following: var directoryURL: NSURL var urlString: String = nsurlObject …

swift nsurl
NSURL path vs absoluteString

I've seen many questions on SO concerning converting between NSURL and NSString. They all involve using either NSString *path = [myURL …

nsurl
How can I retrieve local files with NSURL?

I'm here with a question that probably has a really simple answer that I am overlooking... how can I retrieve …

ios xcode swift filesystems nsurl