 		rotatePlusButton(isSearching)
 		dropSearchBar(isSearching)
 	}
+	
+	// MARK: - UISearchBarDelegate
 	
 	func searchBar(searchBar: UISearchBar, textDidChange searchText: String) {
 		searchTableDelegateDataSource.update(searchText)

	
	// Initialize plus sign and the drop-down searchbar.
	func initializeSearch() {
		let plusContainer = UIView(frame: CGRectMake(0, 0, 44, 44))
		plusButton = UIButton(frame: CGRectMake(0, 0, 44, 44))
		plusButton.setTitle("+", forState: UIControlState.Normal)
		plusButton.titleLabel?.font = UIFont.systemFontOfSize(36)
		plusButton.titleLabel?.textColor = UIColor.whiteColor()
		plusButton.contentEdgeInsets = UIEdgeInsetsMake(0.0, 0.0, 8.0, 0.0);
		plusButton.addTarget(self, action: "plusButtonTapped", forControlEvents: UIControlEvents.TouchUpInside)
		plusContainer.addSubview(plusButton)
		let button = UIBarButtonItem(customView: plusContainer)
		navigationItem.rightBarButtonItem = button
		let spacer = UIBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.FixedSpace, target: nil, action: nil)
		spacer.width = -16;
		navigationItem.rightBarButtonItems = [spacer, button]
		
		searchContainer = UIView(frame: CGRectMake(0, 64, screenSize.width, 54))
		searchContainer.clipsToBounds = true

			UIView.animateWithDuration(0.4, animations: {
				self.searchTable.alpha = 1
			})
		} else {
			navigationItem.title = preserveTitle
			searchBottomView.frame.origin.y = screenSize.height
