In order to insert the point value into the dictionary, you have to wrap it in the NSValue with the first line of code OSC showed you. Then when you want to take the point back out of the dictionary you need to remove the wrapper. So you get: