One Logo Pool Ball
Foundation · IOS API REFERENCE

PersonNameComponents.ParseStrategy

struct · iOS 15.0+ · SDK 27.1

struct ParseStrategy

Members (2)

method · iOS 15.0+

parse

TypeScript
parse(value: string): PersonNameComponents
Swift declaration
func parse(_ value: String) throws -> PersonNameComponents

Parses a value, using this strategy. This method throws an error if the parse strategy can't parse `value`. - Parameter value: A value whose type matches the strategy's ``ParseStrategy/ParseInput`` type. - Returns: A parsed value of the type declared by ``ParseStrategy/ParseOutput``.

init · iOS 15.0+

init

TypeScript
static init(): PersonNameComponents_ParseStrategy
Swift declaration
init()

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →