Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add showsCancelButton, textDidBeginEditing and ...EndEditing to UISearchBar #3565
I want to show/hide the cancel button of a UISearchBar when its focus changed, with mapping with some other app specific conditions.
As UISearchBar is not a UITextField nor UIControl, other common extensions such as