Functions

The following functions are available globally.

  • Addition operator for NSPoints and Offsets.

    Declaration

    Swift

    public func +(lhs: NSPoint, rhs: Offset) -> NSPoint

    Parameters

    lhs

    lef-hand side point

    rhs

    right-hand side offset to be added to the point.

    Return Value

    A new and offset NSPoint.