Instance Property


The cookie’s version.


var version: Int { get }


Version 0 maps to “old-style” Netscape cookies. Version 1 maps to RFC 6265 cookies.

See Also

Getting Cookie Metadata

var name: String

The cookie’s name.

var value: String

The cookie‘s string value.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software