Contents

domain

A string containing the domain for this service.

Declaration

var domain: String { get }

Discussion

This can be an explicit domain name or it can contain the generic local domain name, @"local." (note the trailing period, which indicates an absolute name).

This property’s value is set when the object is first initialized, whether by your code or by a browser object. See init(domain:type:name:) for more information.

See Also

Configuring Network Services