// Create a Dictionary with two elements var myDictionary = ["first_name": "Sergey", "last_name": "Kargopolov"] // print to preview print(myDictionary) // Remove item for a key myDictionary.removeValueForKey("last_name") // print dictionary to preview print(myDictionary)
[raw_html_snippet id=”cookbookpagecoursesheader”]