-
Notifications
You must be signed in to change notification settings - Fork 1
Nat! edited this page Mar 1, 2023
·
6 revisions
Within MulleScion you can use regular Objective-C method call syntax.
{{ [NSDate date] }}
Output:
2023-03-01T00:26:06Z
But you can also use '[' ']' in the "modern" way, to access dictonaries and
array. So if you don't want to write objectAtIndex:
or objectForKey:
you
can also use:
{{ bag[ "a" ] }} # where bag is a NSDictionary
{{ list[ 1] }} # where list is a NSArray
Output:
a (value) # where bag is a NSDictionary
1 (value) # where list is a NSArray
See properties.plist for the values used in this example.