@@ -42,12 +42,6 @@ class ViewController: UIViewController, UITableViewDataSource, UITableViewDelega
4242 print ( " \( fetchError) , \( fetchError. userInfo) " )
4343 }
4444
45- // let bounds = self.navigationController?.navigationBar.bounds as CGRect!
46- // let visualEffectView = UIVisualEffectView (effect: UIBlurEffect (style: .Light)) as UIVisualEffectView
47- // visualEffectView.frame = bounds
48- // visualEffectView.autoresizingMask = .FlexibleHeight | .FlexibleWidth
49- // self.navigationController?.navigationBar.addSubview(visualEffectView)
50-
5145 self . navigationController? . navigationBar. barTintColor = UIColor . lightGrayColor ( )
5246 self . navigationController? . navigationBar. translucent = true
5347
@@ -56,6 +50,7 @@ class ViewController: UIViewController, UITableViewDataSource, UITableViewDelega
5650 controller. searchResultsUpdater = self
5751 controller. dimsBackgroundDuringPresentation = false
5852 controller. hidesNavigationBarDuringPresentation = false
53+ controller. searchBar. autocapitalizationType = . None
5954 controller. searchBar. sizeToFit ( )
6055
6156 self . tableView. tableHeaderView = controller. searchBar
@@ -98,7 +93,7 @@ class ViewController: UIViewController, UITableViewDataSource, UITableViewDelega
9893
9994 func configureCell( cell: UITableViewCell , atIndexPath indexPath: NSIndexPath ) {
10095 // Fetch Record
101- print ( " configureCell \( indexPath) " )
96+ // print ("configureCell \(indexPath)")
10297 let record = fetchedResultsController!. objectAtIndexPath ( indexPath)
10398
10499 cell. textLabel!. numberOfLines = 0
0 commit comments