Set is used to assigning values to variables. You may omit the Set keyword if you
want.

{% set foo = [NSMutableDictionary dictionary];
   foo[ @"key"] = @"a value"
%}

{{ foo[ @"key"] }}