Functions

The following functions are available globally.

  • Indicate a method is not supposed to be called but overridden by its subtypes

    Declaration

    Swift

    public func abstractError(file: StaticString = #file, line: UInt = #line) -> Swift.Never
  • DLog and ALog macros to abbreviate NSLog.

    Example:

    DLog("Log this!")
    

    Declaration

    Swift

    public func DLog(_ message: @autoclosure () -> String,
                     filename: String = #file,
                     function: String = #function,
                     line: Int = #line)
  • Always log a message to Console

    Declaration

    Swift

    public func ALog(_ message: String, filename: String = #file, function: String = #function, line: Int = #line)