Returns an array of NSHTTPCookie objects corresponding to the provided response header fields for the provided URL.
Original signature is '+ (NSArray *)cookiesWithResponseHeaderFields:(NSDictionary *)headerFields forURL:(NSURL *)theURL'
Available in Mac OS X v10.2 with Safari 1.0 installed and later.

C# | Visual Basic | Visual C++ |
public static NSArray CookiesWithResponseHeaderFieldsForURL( NSDictionary headerFields, NSURL theURL )
Public Shared Function CookiesWithResponseHeaderFieldsForURL ( _ headerFields As NSDictionary, _ theURL As NSURL _ ) As NSArray
public: static NSArray^ CookiesWithResponseHeaderFieldsForURL( NSDictionary^ headerFields, NSURL^ theURL )

- headerFields (NSDictionary)
- The header fields used to create the NSHTTPCookie objects.
- theURL (NSURL)
- The URL associated with the created cookies.

The array of created cookies.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)