Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace UITextField of UISearchBar by a MPGTextField #15

Open
Persilos opened this issue May 19, 2015 · 1 comment
Open

Replace UITextField of UISearchBar by a MPGTextField #15

Persilos opened this issue May 19, 2015 · 1 comment

Comments

@Persilos
Copy link

Hi, is it possible to replace the UITextField of my searchBar by an MPGTextField ?

My searchBar look like this
capture d ecran 2015-05-19 a 16 04 16
Il would like to keep it ! But just change the UITextField and replace it with a MPGTextField.

@drake1138
Copy link

You should be able to go into your storyboard, click on the TextField, then, in the panel on the right hand side which you may need to open by clicking the button in the top right corner, choose the tab to the right of the question mark in a circle. You should see a title at the top, "Custom Class". Change the class to MPGTextField. Also, be sure to set the mdelegate in viewDidLoad for the MPGTextField.

P.S.
I really wish this was explained in the "read me" file so I didn't have to spend a couple hours figuring it out on my own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants