By default, a PFQuery
won't fetch the actual objects from a relationship, only a reference to them.
Try telling your query to include the user object:
PFQuery *retrieveStories = [PFQuery queryWithClassName:@"Posts"];
[retrieveStories includeKey:@"user"];
You will hopefully then be able to do:
cell.cellTitle.text = [[tempObject objectForKey:@"user"] objectForKey:@"username"];