Type Method


Returns the list of the names of available Wi-Fi interfaces.


class func interfaceNames() -> [String]?

Return Value

An array of strings representing the names of the available Wi-Fi interfaces in the system. Any one of these names can be used with the interface(withName:) method to obtain a reference to the corresponding CWInterface instance.

See Also

Getting Interfaces

func interface() -> CWInterface?

Returns the default Wi-Fi interface.

func interface(withName: String?) -> CWInterface?

Returns the Wi-Fi interface with the given name.

func interfaces() -> [CWInterface]?

Returns all available Wi-Fi interfaces.