Sample code to demonstrate using UISearchController, introduced in iOS 8.