Instance Method

removeAllCachedResourceValues()

Removes all cached resource values and temporary resource values from the URL object.

Declaration

func removeAllCachedResourceValues()

Discussion

This method is applicable only to URLs that represent file system resources.

See Also

Getting and Setting File System Resource Properties

func getResourceValue(AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey: URLResourceKey)

Returns the value of the resource property for the specified key.

func resourceValues(forKeys: [URLResourceKey])

Returns the resource values for the properties identified by specified array of keys.

func setResourceValue(Any?, forKey: URLResourceKey)

Sets the URL’s resource property for a given key to a given value.

func setResourceValues([URLResourceKey : Any])

Sets the URL’s resource properties for a given set of keys to a given set of values.

func removeCachedResourceValue(forKey: URLResourceKey)

Removes the cached resource value identified by a given key from the URL object.

func setTemporaryResourceValue(Any?, forKey: URLResourceKey)

Sets a temporary resource value on the URL object.