Skip to content
Nat! edited this page Mar 1, 2023 · 3 revisions

self in a pipe or a dot expression is the result of the incoming string

Example 1

{{ @"xxx" | [self uppercaseString] }}

Output:

XXX

otherwise it is a synonym for the datasource

Example 2

{{ [self valueForKey:@"name"] }} == {{ name }} == {{ self.name }}

Output:

VfL Bochum 1848 == VfL Bochum 1848 == VfL Bochum 1848
Clone this wiki locally