         super.viewDidLoad()
         let nib = UINib(nibName: "StickyTableViewCell", bundle: nil)
         tableView.register(nib, forCellReuseIdentifier: reuseIdentifier)
+        tableView.register(UITableViewCell.self, forCellReuseIdentifier: reuseIdentifierForAd)
         reloadData()
     }
 

    }
    
    override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        return stickies.count
    }
    
    override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        let cell = tableView.dequeueReusableCell(withIdentifier: reuseIdentifier, for:indexPath) as! StickyTableViewCell
        let sticky = stickies[indexPath.item]
        cell.updateView(sticky)
        return cell
    }
    
    override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
        let sticky = stickies[indexPath.item]
        if let page = sticky.page {
            let vc = WebViewController(page: page)
            navigationController?.pushViewController(vc, animated: true)


import UIKit
import RealmSwift
import GoogleMobileAds

class StickyTableViewController: UITableViewController {
    var cellHeight: CGFloat = 164
    let reuseIdentifier      = "StickyTableViewCell"
    let reuseIdentifierForAd = "tableViewCellForAdView"
    var stickies: Results<StickyEntity>!
    var frequencyAdsInCells = 5
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
