×

Set Nested Dictionary Value

iOS 14 +

Notes

Set or append a value to a nested dictionary using dot notation

Syntax

setNestedDictionaryValue(dictionary: <#String (Allows Variables)#>, path: <#String (Allows Variables)#>, mode: <#Enumeration (SetDictionaryMode)#>, value: <#String (Allows Variables)#>, appendValue: <#String (Allows Variables)#>)

Example

setNestedDictionaryValue(dictionary: "", appendValue: "")