One Logo Pool Ball
Foundation · IOS API REFERENCE

URL.ParseStrategy.ComponentParseStrategy

enum · iOS 16.0+ · SDK 27.1

enum ComponentParseStrategy<Component> where Component : Decodable, Component : Encodable, Component : Hashable, Component : Sendable

The strategy used to parse one component of a URL. Use this type with the ``URL/ParseStrategy`` initializer and static accessors, or its modifier methods, to specify behavior for parsing components of a URL. This allows you to reject URL candidate strings that lack required components — such as a scheme, host, or path — or to fill in default values while parsing.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →