Open Classswift 6.0.3Foundation
Host
class Host
class Host
import Foundation
class NSObject
The root class of most Foundation class hierarchies.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol NSObjectProtocol : AnyObject
The NSObjectProtocol
groups methods that are fundamental to all Foundation objects.
convenience init(address: String)
convenience init(name: String?)
class func current() -> Host
var address: String? { get }
var addresses: [String] { get }
var localizedName: String? { get }
var name: String? { get }
var names: [String] { get }
func isEqual(to aHost: Host) -> Bool