From 4b5ec6f7869eaffb5170ac742bdc5861a426b30e Mon Sep 17 00:00:00 2001 From: Chris Li Date: Wed, 28 Dec 2016 16:30:02 -0500 Subject: [PATCH] commit --- Kiwix-iOS/Controller/Search/SearchContainer.swift | 4 +--- ...swift => SearchScopeAndHistoryController.swift} | 2 +- Kiwix-iOS/Storyboard/Search.storyboard | 14 +++++++------- Kiwix.xcodeproj/project.pbxproj | 8 ++++---- 4 files changed, 13 insertions(+), 15 deletions(-) rename Kiwix-iOS/Controller/Search/{SearchBooksController.swift => SearchScopeAndHistoryController.swift} (97%) diff --git a/Kiwix-iOS/Controller/Search/SearchContainer.swift b/Kiwix-iOS/Controller/Search/SearchContainer.swift index fce55941..0b41339b 100644 --- a/Kiwix-iOS/Controller/Search/SearchContainer.swift +++ b/Kiwix-iOS/Controller/Search/SearchContainer.swift @@ -28,9 +28,7 @@ class SearchContainer: UIViewController { } override func prepare(for segue: UIStoryboardSegue, sender: Any?) { - //EmbeddedScopeAndHistoryController - - if segue.identifier == "" { + if segue.identifier == "EmbeddedScopeAndHistoryController" { } else if segue.identifier == "EmbeddedResultController" { resultController = segue.destination as! SearchResultController diff --git a/Kiwix-iOS/Controller/Search/SearchBooksController.swift b/Kiwix-iOS/Controller/Search/SearchScopeAndHistoryController.swift similarity index 97% rename from Kiwix-iOS/Controller/Search/SearchBooksController.swift rename to Kiwix-iOS/Controller/Search/SearchScopeAndHistoryController.swift index 2d8607b8..6123ef84 100644 --- a/Kiwix-iOS/Controller/Search/SearchBooksController.swift +++ b/Kiwix-iOS/Controller/Search/SearchScopeAndHistoryController.swift @@ -10,7 +10,7 @@ import UIKit import CoreData import DZNEmptyDataSet -class SearchBooksController: SearchBaseTableController, UITableViewDelegate, UITableViewDataSource, TableCellDelegate, DZNEmptyDataSetSource, DZNEmptyDataSetDelegate { +class SearchScopeAndHistoryController: SearchBaseTableController, UITableViewDelegate, UITableViewDataSource, TableCellDelegate, DZNEmptyDataSetSource, DZNEmptyDataSetDelegate { @IBOutlet weak var recentSearchContainer: DropShadowView! @IBOutlet weak var recentSearchBarHeight: NSLayoutConstraint! diff --git a/Kiwix-iOS/Storyboard/Search.storyboard b/Kiwix-iOS/Storyboard/Search.storyboard index 3771f91e..9c51eed3 100644 --- a/Kiwix-iOS/Storyboard/Search.storyboard +++ b/Kiwix-iOS/Storyboard/Search.storyboard @@ -1,20 +1,20 @@ - + - + - + - + @@ -31,7 +31,7 @@ - +