Conforms to NSObject
Declared in GRMustacheFilter.h

Overview

The protocol for implementing GRMustache filters.

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

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.

Tasks

Transforming Values

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

v4.3

Declared In

GRMustacheFilter.h