Skip to content

PavelGnatyuk/Countries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Countries

A demo project Search in Country list created in Xcode 9 beta 2 with iOS 11 SDK. The navigation bar has large title and contains the search controller - two UI additions from the WWDC 2017. The following line sets large title for the current view controller and all controller followed after this

self.navigationController?.navigationBar.prefersLargeTitles = true

until the mode of the title is changed:

self.navigationController?.navigationItem.largeTitleDisplayMode = .never

The following code adds a search controller to the navigation bar:

let search = UISearchController(searchResultsController: nil)
search.searchResultsUpdater = self
self.navigationItem.searchController = search

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages