         tableHeaderView?.removeObserver(self, forKeyPath: "frame")
     }
     
-    override public func observeValueForKeyPath(keyPath: String, ofObject object: AnyObject, change: [NSObject : AnyObject], context: UnsafeMutablePointer<Void>) {
+    func observeValueForKeyPath(keyPath: String, ofObject object: AnyObject, change: [NSObject : AnyObject], context: UnsafeMutablePointer<Void>) {
         if keyPath == "contentOffset" {
             adjustParallaxEffectOnTableHeaderViewWithContentOffset(change[NSKeyValueChangeNewKey]!.CGPointValue())
         } else if keyPath == "frame" {

    }
    
    init(tableView:UITableView) {
        super.init()
        self.tableView = tableView
        self.tableHeaderView = tableView.tableHeaderView
        self.setupTableHeaderView()

        }
    }
    
}