Instance Property

percentEncodedPassword

The password URL subcomponent expressed as a URL-encoded string, or nil if not present.

Declaration

@property(copy) NSString *percentEncodedPassword;

Discussion

For example, in the URL http://username:password@www.example.com/index.html, the password is password.

If you set this value to something that is not a valid, percent-encoded string, this class throws an exception.

See Also

Accessing Components in URL-Encoded Format

percentEncodedFragment

The fragment URL component (the part after a # symbol) expressed as a URL-encoded string, or nil if not present.

percentEncodedHost

The host URL subcomponent expressed as a URL-encoded string, or nil if not present.

percentEncodedPath

The path URL component expressed as a URL-encoded string, or nil if not present.

percentEncodedQuery

The query URL component expressed as a URL-encoded string, or nil if not present.

percentEncodedUser

The username URL subcomponent expressed as a URL-encoded string, or nil if not present.