NeverHopeless / NHAutoCompleteTextField

Description
40 stars 15 forks source link

How can I use this NHAutoCompleteTextField With Storyboard? #1

Open afiq90 opened 9 years ago

afiq90 commented 9 years ago

Hey there, how can I set custom class to NHAutoCompleteTextField in storyboard? I tried, but it doesn't work. Anyone can help me regarding this problem. Thank you in advance.

NeverHopeless commented 9 years ago

What have you tried ? and what happened then ? What do you expect from it? NHAutoCompleteTextField itself is a custom class, do you want to extend this class ?

afiq90 commented 9 years ago

I tried to set the UITextField class to NHAutoCompleteTextField in storyboard but it does not working. Idk why, from my knowledge it suppose to working.

Isuru-Nanayakkara commented 8 years ago

I'm facing the similar problem. I'm trying to set the class of a UITextField to NHAutoCompleteTextField but it doesn't show up in the identity inspector.

NeverHopeless commented 8 years ago

This is because NHAutoCompleteTextField is inherited from UIView instead of UITextField. It encapsulates UITextField and UITableView inside it. Draw a UIView on the storyboard and then check identity inspector for NHAutoCompleteTextField.