Conforms to NSObject
Declared in GRMustacheFilter.h

Overview

The protocol for implementing GRMustache filters.

The responsability of a GRMustacheFilter is to transform a value into another.

For example, the tag {{ uppercase(name) }} uses a filter object that returns the uppercase version of its input.

Companion guide: https://github.com/groue/GRMustache/blob/master/Guides/runtime/filters.md

Tasks

Transforming Values

  • – transformedValue:

    Applies some transformation to its input, and returns the transformed value.

    required method

Instance Methods

transformedValue:

Applies some transformation to its input, and returns the transformed value.

- (id)transformedValue:(id)object

Parameters

object

An object to be processed by the filter.

Return Value

A transformed value.

Availability

Declared In

GRMustacheFilter.h