Class: ObjC::NSDictionary

This is the Ruby wrapper for instances of the Objective-C NSDictionary class. It contains a few additional methods to support Ruby-style manipulation. These methods are inherited by the Ruby wrappers of all classes derived from NSDictionary. It is a child of ObjC::NSObject, which in turn is a child of the ObjC::Object class.


Public Instance methods

[] (key)

Ruby-style indexing into an Objective-C NSDictionary.

[]= (key,object)

Ruby-style setting of objects in an Objective-C NSDictionary. The dictionary must be of a mutable subclass of NSDictionary.

keys ()

Ruby-style access of keys in an Objective-C NSDictionary.

to_h ()

Convert an Objective-C NSDictionary to a Ruby hash.

values ()

Ruby-style access of values in an Objective-C NSDictionary.