Initializes an NSURL object with a provided string.
Original signature is '- (id)initWithString:(NSString *)URLString'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- URLString (NSString)
- The string with which to initialize the NSURL object. This string must conform to URL format as described in RFC 2396. This method parses URLString according to RFCs 1738 and 1808.
Return Value
An NSURL object initialized with URLString. If the string was malformed, returns nil.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)