This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
INPUT="$1" | |
CLEAN=$false | |
check_dependencies() { | |
for name in az curl sed tput; do | |
[[ $(which $name 2>/dev/null) ]] || { | |
echo -en "$name needs to be installed." | |
deps=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func setupTabBarWithSearchContainerView() { | |
// configure a UIViewController to display search results | |
// needs to conform to the UISearchResultsUpdating protocol | |
let searchResultsViewController = SearchResultsViewController() | |
// setup UISearchController and hook up to search results UIViewController | |
let searchController = UISearchController(searchResultsController: searchResultsViewController) | |
searchController.searchResultsUpdater = searchResultsViewController | |
searchController.hidesNavigationBarDuringPresentation = false |