Contents

localizedName

Returns the name used as by default when publishing NSNetServices.

Declaration

var localizedName: String? { get }

Return Value

A string containing the computer name.

Discussion

This is the name displayed in the Finder sidebar, as well as in the Sharing preference panel.

This method only returns an NSString when sent to the current() instance, all other instances currently return nil.

This property is key-value observable.

See Also

Getting Host Information