Contents

entityQuery(matching:)

Creates an entity query that searches for entities that match a given string.

Declaration

func entityQuery(matching string: String) -> AnyEntityQuery

Parameters

  • string:

    The search string to match against entity properties.

Return Value

An entity query, configured for string-based searching.

See Also

Searching matching entities