So I have a `postDict` as `[String: AnyObject]` and I have a model class `Post`. 

Is there a quick way to convert `postDict` to an array of `Post` objects so that when dequeuing the cell, it will be:

`cell.textLabel.text = posts[indexPath.item].author`

```
import UIKit
import Firebase

class ViewController: UIViewController {

var posts = [Post]()

override func viewDidLoad() {
    super.viewDidLoad()

    let ref = FIRDatabase.database().reference().child("posts").queryLimitedToFirst(5)

    ref.observeEventType(FIRDataEventType.ChildAdded, withBlock: { (snapshot) in
        let postDict = snapshot.value as! [String : AnyObject]

        print(postDict)          

        //convert postDict to array of Post objects
    })
  }
}

class Post: NSObject {
    var author: String = ""
    var body: String = ""
    var imageURL: String = ""
    var uid: String = ""
}

```

This is the output when printing out postDict:

[![enter image description here](https://i.stack.imgur.com/olR2Q.png)](https://i.stack.imgur.com/olR2Q.png)