I have JSONs like this;
{
createdAt: a_date,
text: "some text",
likes: 8
}
And I want to convert them into PFObject
s… here’s how I do it;
let post = PFObject(className: "Post", dictionary: jsonPost)
The thing is that after that, the PFObject doesn’t have a value at its createdAt
property.
post.createdAt <== this is always nil
Any idea why?