     }
 }
 
-/*
-extension ChatViewController: ASCollectionDataSource, ASCollectionDelegate {
-
-    func numberOfSectionsInCollectionView(collectionView: UICollectionView) -> Int {
-
-        return 1
-    }
-
-    func collectionView(collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
-
-        return 20
-    }
-
-    func collectionView(collectionView: ASCollectionView, nodeForItemAtIndexPath indexPath: NSIndexPath) -> ASCellNode {
-
-        let node = ChatBaseCellNode()
-        node.backgroundColor = UIColor.yepTintColor()
-        return node
-    }
-}
-*/


        do {
            view.addSubview(tableNode.view)
            //view.addSubview(collectionNode.view)
        }

        realm = conversation.realm!

        return node
    }()

    deinit {
        tableNode.dataSource = nil
        tableNode.delegate = nil

        println("deinit ChatViewController")
    }

    override func viewDidLayoutSubviews() {
        super.viewDidLayoutSubviews()

        tableNode.frame = view.bounds
    }

    override func viewDidLoad() {
