Instance Property

port

The port, conforming to RFC 1808.

Declaration

@NSCopying var port: NSNumber? { get }

Discussion

This property contains the port number. If the receiver does not conform to RFC 1808, this property contains nil. For example, in the URL http://www.example.com:8080/index.php, the port number is 8080.