Contents

init(domain:)

Creates an object that represents the specified web domain.

Declaration

init(domain: String)

Parameters

  • domain:

    A website to allow or block.

Discussion

Provide a high-level domain, such as example.com. To protect a family’s privacy, use init(token:) instead.

See Also

Creating a web domain