//Store three entries in the glossary
//use setObject:forKey: method to set key/value
[glossary setObject: @"A class defined so other classes can inherit from it"
forKey: @"abstract class"];
[glossary setObject: @"To implment all the methods defined in a protocol"
forKey: @"adopt"];
[glossary setObject: @"Storing an object for later use"
forKey: @"archiving"];
//Retrieve and display them
//use objectForKey:key method to retrieve the value
NSLog(@"abstract class: %@",[glossary objectForKey: @"abstract class"]);
NSLog(@"adopt: %@",[glossary objectForKey: @"adopt"]);
NSLog(@"archiving: %@",[glossary objectForKey: @"archiving"]);