 class ArticleDetailTableViewController: UITableViewController {
     
     var article: Article?
+    let spinner = UIActivityIndicatorView(activityIndicatorStyle: UIActivityIndicatorViewStyle.WhiteLarge)
     
     override func viewDidLoad() {
         super.viewDidLoad()


        // Configure the cell...
        cell.articleTitleLabel.text = self.article?.title
//        cell.articleDateLabel.text = ""
        
        if let imageObj = self.article?.image {
            if let image: UIImage = imageObj as? UIImage {

        return cell
    }

}

extension ArticleDetailTableViewController: WKNavigationDelegate {
    
    func webView(webView: WKWebView, didFinishNavigation navigation: WKNavigation!) {
        // stop spinner
        spinner.stopAnimating()
        spinner.hidden = true
    }
}
