Top "Nsurl" questions

NSURL is a class from Foundation.

Get parts of a NSURL in objective-c

I have an NSString with the value of http://digg.com/news/business/24hr How can I get everything before …

objective-c nsstring nsurl
Parse NSURL query property

I have a URL like myApp://action/1?parameter=2&secondparameter=3 With the property query I get following part of my …

iphone objective-c nsurl
Initializer for conditional binding must have Optional type, not 'String'

Here is a fun issue I'm running into after updating to Swift 2.0 The error is on the if let url = …

swift swift2 nsurl
OSX Swift open URL in default browser

How to open a url in system default browser by using Swift as programming language and OSX as plattform. I …

xcode macos swift nsurl openurl
Objective-C: How to add query parameter to NSURL?

Let's say I have an NSURL? Whether or not it already has an empty query string, how do I add …

objective-c query-string nsurl
NSData dataWithContentsOfURL

I have this method for button click (download). The problem is that it is terminating due to an exception: [Session …

iphone uiimage nsdata nsurl
How to use openURL for making a phone call in Swift?

I have converted the code for making a phone call from Objective-C to Swift, but in Objective-C, we can set …

swift nsurl xcode6 openurl
Getting URL of UIImage selected from UIImagePickerController

I'm trying to provide a user selection of an image from Photo Library. Thus I'm using UIImagePickerController for selecting. But …

ios swift ios8 uiimagepickercontroller nsurl
URLWithString: returns nil

it may be very easy, but I don't seems to find out why is URLWithString: returning nil here. //localisationName is …

iphone objective-c url nsstring nsurl
NSURL with string

I have problem with NSURL. I am trying to create NSURL with string code NSString *prefix = (@"tel://1234567890 ext. 101"); NSString *dialThis = […

iphone nsurl