         determineNavBarButtons()
         determineBackButton()
     }
-    
+
     public func setNavigationTitleColor(color: UIColor){
         let attrs : NSDictionary = [NSForegroundColorAttributeName : color]
         self.navigationController?.navigationBar.titleTextAttributes = attrs as? [String : AnyObject]

    public func pushViewController(viewController: UIViewController){
        self.navigationController?.pushViewController(viewController, animated: true)
    }
    
    func determineNavBarButtons(){
        determineBackButton()
        determineRightButton()

    func determineBackButton(){
        self.navigationItem.leftBarButtonItem = preferredLeftBarButtonItem()
    }

    func determineRightButton(){
        self.navigationItem.rightBarButtonItem = preferredRightButtonItem()
    }
