 
 }
 
+extension ViewController : UISearchBarDelegate {
+    func searchBarShouldBeginEditing(searchBar: UISearchBar) -> Bool {
+        return false
+    }
+}
        
        let config = SnapTagsViewConfiguration()
        config.spacing = 5.0 as CGFloat
        config.horizontalMargin = 5.0 as CGFloat
        config.verticalMargin = 5.0 as CGFloat
        config.contentHeight = 13.0 as CGFloat
        config.alignment = .Left
        //        config.alignment = .Natural

        c.canBeTurnedOnAndOff = false
        c.hasOnOffButton = true
        c.labelVOffset = 0.5
        c.onCornerRadius = 3.0
        c.offCornerRadius = 3.0
        
        c.horizontalMargin = 6.0
        c.verticalMargin = 5.0
        
        assert(c.isValid())
        return c
