HBMustacheCustomRenderable

public protocol HBMustacheCustomRenderable

Allow object to override standard hummingbird type rendering which uses String(describing).

  • renderText Default implementation

    Custom rendered version of object

    Default Implementation

    default version returning the standard rendering

    Declaration

    Swift

    var renderText: String { get }
  • isNull Default implementation

    Whether the object is a null object. Used when scoping sections

    Default Implementation

    default version returning false

    Declaration

    Swift

    var isNull: Bool { get }