[actionMap setObject:@selector(actionNavPop) forKey:@"navPop"];
This doesn't work. NSDictionary
can only hold objects, and a SEL
type is not an object.
For number types you can do [NSNumber numberWithInt:123]
but is there any sort of similar object wrapper for selectors?