         boldAttributed.appendAttributedString(normalAttributed)
         postsCountLabel.attributedText = boldAttributed
     }
+    
+    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?)
+    {
+        if segue.identifier == "showPhoto"
+        {
+            let photoVC = segue.destinationViewController as! PhotoViewController
+            photoVC.post = sender as! Post
+        }
+    }
 }
 
-extension SearchResultsViewController: UICollectionViewDataSource
+extension SearchResultsViewController: UICollectionViewDataSource, UICollectionViewDelegate
 {
     func numberOfSectionsInCollectionView(collectionView: UICollectionView) -> Int
     {

        }
        return collectionReusableView
    }
}

        searchTermLabel.text = ""
        postsCountLabel.text = ""
        collectionView.dataSource = self
        collectionView.delegate = self
        callInstagramTagService()
    }
    
