How to access value of Dictionary in a Dictionary?

Hi,


How to access value of a Dictionary in a Dictionary in swift 3 ?


I tried like this, but error...


somedictionary[["members"]"groupA"]

Thanks

Accepted Reply

somedictionary["groupA"]?["members"]


Note that the result will be an Optional.

Replies

somedictionary["groupA"]?["members"]


Note that the result will be an Optional.