Instance Method

setResourceData:

Attempts to set the resource data for the receiver.

Declaration

- (BOOL)setResourceData:(NSData *)data;

Parameters

data

The data to set for the URL.

Return Value

Returns YES if successful, NO otherwise.

Discussion

In the case of a file URL, setting the data involves writing data to the specified file.

See Also

Deprecated

- initWithScheme:host:path:

Initializes a newly created NSURL with a specified scheme, host, and path.

Deprecated
- URLHandleUsingCache:

Returns a URL handle to service the receiver.

Deprecated
- loadResourceDataNotifyingClient:usingCache:

Loads the receiver’s resource data in the background.

Deprecated
- resourceDataUsingCache:

Returns the receiver’s resource data, loading it if necessary.

Deprecated
- propertyForKey:

Returns the specified property of the receiver’s resource.

Deprecated
- setProperty:forKey:

Changes the specified property of the receiver’s resource.

Deprecated