I am passing an NSDate
through an NSDictionary
that is sent as a Push Notification to another user/multiple users. I am trying to take the NSDate
that I sent through the Push Notification and convert it back into an NSDate
but the object keeps coming up as an __NSCFDictionary
and which is obviously what I don't want. I print out what the NSDictionary key "time" looks like and this is what is put out.
"__type" = Date;
iso = "2015-03-20T22:05:00.000Z";
how do I convert this __NSCFDictionary
to an NSDate
?