I am trying to save a boolean database value into a map as follows -
[recentTags setValue:[NSNumber numberWithBool:[aMessage isSet]] forKey:[aMessage tagName]];
It gives me an error saying "Incompatible pointer to integer conversion sending BOOL * aka signed char* to 'BOOL' aka signed char"
How would I insert a BOOL* into the dictionary?
-isSet
returnBOOL *
instead ofBOOL
? – Gefell