             return
         }
 
-
-        //updateResultsTableView(scrollsToTop: scrollsToTop)
+        // 不要重复搜索一样的内容
+        if let keyword = self.keyword where keyword == searchText {
+            return
+        }
+
+        self.keyword = searchText
+
+        feedsWithKeyword(searchText, pageIndex: 1, perPage: 30, failureHandler: nil) { [weak self] feeds in
+            self?.feeds = feeds
+
+            self?.updateResultsTableView(scrollsToTop: true)
+        }
     }
 }
 

    }

    private func updateResultsTableView(scrollsToTop scrollsToTop: Bool = false) {
//        dispatch_async(dispatch_get_main_queue()) { [weak self] in
//            self?.resultsTableView.reloadData()
//
//            if scrollsToTop {
//                self?.resultsTableView.yep_scrollsToTop()
//            }
//        }
    }

    /*

        NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(SearchFeedsViewController.didRecieveMenuWillShowNotification(_:)), name: UIMenuControllerWillShowMenuNotification, object: nil)

        NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(SearchFeedsViewController.didRecieveMenuWillHideNotification(_:)), name: UIMenuControllerWillHideMenuNotification, object: nil)
    }

    private var isFirstAppear = true
