ExploreViewController
public class ExploreViewController : ComActionViewController
extension ExploreViewController: ArbitraryLocationSelectionDelegate
extension ExploreViewController: MapstedSearchDelegate
extension ExploreViewController : MarketingBannerActionDelegate
View controller to show list of stores for a selected category
-
Instantiates the Explorer view controller. Displays list of stores for a selected category.
Declaration
Swift
public static func instantiateViewController(propertyInfo: PropertyInfo, category: CMSCategory, selectStoreDelegate: StoreSelectionDelegate) -> UIViewController?
Parameters
propertyInfo
The property for which to display the list of stores
category
The category that was selected
selectStoreDelegate
Delegate to call back when a store is selected
-
Declaration
Swift
public override func viewDidLoad()
-
Declaration
Swift
public override func viewWillAppear(_ animated: Bool)
-
Declaration
Swift
public override func viewWillDisappear(_ animated: Bool)
-
Declaration
Swift
public override func numberOfSections(in tableView: UITableView) -> Int
-
Declaration
Swift
public override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
-
Declaration
Swift
public override func scrollViewDidScroll(_ scrollView: UIScrollView)
-
Declaration
Swift
public override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
-
Declaration
Swift
public override func tableView(_ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath)
-
Declaration
Swift
public override func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView?
-
Declaration
Swift
public override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
-
Declaration
Swift
public override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat
-
Declaration
Swift
public override func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat
-
Declaration
Swift
public override func prepare(for segue: UIStoryboardSegue, sender: Any?)
-
Declaration
Swift
public func selected(tag: MNTag)
-
Declaration
Swift
public func startSearch()
-
Declaration
Swift
public func stopSearch()
-
Declaration
Swift
public override func searchBarTextDidBeginEditing(_ searchBar: UISearchBar)
-
Declaration
Swift
public override func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String)
-
Declaration
Swift
public override func searchBarCancelButtonClicked(_ searchBar: UISearchBar)
-
Declaration
Swift
public override func searchBarSearchButtonClicked(_ searchBar: UISearchBar)
-
Declaration
Swift
public func showCampaign(campaignId: String)