SearchDeveloperCommand

public struct SearchDeveloperCommand

Enables injection of a custom phrase which can trigger custom behaviour. For example, if a user enters particular code in the search field, the app will execute the command.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Initializes the developer command with a search term and a command to execute.

    Declaration

    Swift

    public init(key: String, command: @escaping SearchCommand)