In C++ EventType.find(1)->second can be used to find the value for the key 1.
I am new to Objective C.I have implemented CFDictionary to addvalue onto it.But how do i
retreive and view the values of the particular key.
EDITED:
CFNumberRef tId = CFNumberCreate(NULL,kCFNumberShortType,&st);
CFDictionarySetValue(cfdict,tId,st);
NSLog(@"The value is:%s",(CFDictionaryGetValue(cfdict,tId)));
Its running without error but i could not get the output.
The documentation for
CFMutableDictionarysays:… which leads you to
CFDictionaryGetValue().