Deprecated NSHTTPCookieStorage Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Available in OS X v10.6 through OS X v10.6

initWithStorageLocation:

Returns an initialized NSHTTPCookieStorage object with a given file system location to store cookie information on disk. (Available in OS X v10.6 through OS X v10.6.)

- (id)initWithStorageLocation:(NSURL *)storageFileURL
Parameters
storageFileURL

A file:// URL that indicates the file to use for cookie storage.

Return Value

An initialized NSHTTPCookieStorage object that stores its cookie information at storageFileURL.

Availability
  • Available in OS X v10.6 through OS X v10.6.
Declared In
NSHTTPCookieStorage.h