Instance Property

percentEncodedPath

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

Declaration

@property(copy) NSString *percentEncodedPath;

Discussion

For example, in the URL http://www.example.com/index.html, the path is /index.html.

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.

percentEncodedPassword

The password URL subcomponent 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.