Functions

The following functions are available globally.

  • Undocumented

    Declaration

    Swift

    public func + (lhs: CGPoint, rhs: CGPoint) -> CGPoint
  • Undocumented

    Declaration

    Swift

    public func += (lhs: inout CGPoint, rhs: CGPoint)
  • Undocumented

    Declaration

    Swift

    public func - (lhs: CGPoint, rhs: CGPoint) -> CGPoint
  • Undocumented

    Declaration

    Swift

    public func -= (lhs: inout CGPoint, rhs: CGPoint)
  • Undocumented

    Declaration

    Swift

    public func * (lhs: CGPoint, rhs: CGPoint) -> CGPoint
  • Undocumented

    Declaration

    Swift

    public func *= (lhs: inout CGPoint, rhs: CGPoint)
  • Undocumented

    Declaration

    Swift

    public func / (lhs: CGPoint, rhs: CGPoint) -> CGPoint
  • Undocumented

    Declaration

    Swift

    public func /= (lhs: inout CGPoint, rhs: CGPoint)
  • Combine the contents of dictionaries into a single dictionary. Equivalent to lhs.union(rhs).

    Declaration

    Swift

    public func + <Key, Value>(lhs: Dictionary<Key, Value>, rhs: Dictionary<Key, Value>) -> Dictionary<Key, Value> where Key : Hashable

    Parameters

    lhs

    The first dictionary.

    rhs

    The second dictionary.

    Return Value

    The combination of the two input dictionaries

  • Add the contents of one dictionary to another dictionary. Equivalent to lhs.unionInPlace(rhs).

    Declaration

    Swift

    public func += <Key, Value>(lhs: inout Dictionary<Key, Value>, rhs: Dictionary<Key, Value>) where Key : Hashable

    Parameters

    lhs

    The dictionary in which to add key-values.

    rhs

    The dictionary from which to add key-values.

  • Undocumented

    Declaration

    Swift

    public func + (lhs: NSMutableAttributedString, rhs: NSAttributedString) -> NSMutableAttributedString
  • Undocumented

    Declaration

    Swift

    public func += (lhs: NSMutableAttributedString, rhs: NSAttributedString)
  • Undocumented

    Declaration

    Swift

    public postfix func % (value: CGFloat) -> CGFloat
  • Undocumented

    Declaration

    Swift

    public postfix func % (value: Float) -> Float
  • Undocumented

    Declaration

    Swift

    public postfix func % (value: Double) -> Double
  • Append a path component to a url. Equivalent to lhs.appendingPathComponent(rhs).

    Declaration

    Swift

    public func + (lhs: URL, rhs: String) -> URL

    Parameters

    lhs

    The url.

    rhs

    The path component to append.

    Return Value

    The original url with the appended path component.