mnbayan / AutocompleteTextfieldSwift

Simple and straightforward sublass of UITextfield to manage string suggestions
MIT License
290 stars 66 forks source link

EXC_BAD_ACCESS when trying to use any property #28

Closed wasimsandhu closed 8 years ago

wasimsandhu commented 8 years ago

I'm trying to use properties such as autoCompleteStrings and onTextChange with my AutoCompleteTextField, but every time the app runs, it crashes and gives me an EXC_BAD_ACCESS error code. I can't figure out why. The app runs perfectly if I don't set any properties. Any ideas?

wasimsandhu commented 8 years ago

never mind lmao

AshkanImmortal commented 8 years ago

Have same issue, how you fixed that?

mjmarathon commented 8 years ago

It's probably because the textfield outlet was marked as an AutoCompleteTextField in the class that attempts to set the properties but was not set as the class for the textfield in the storyboard.

AshkanImmortal commented 8 years ago

Right, thank you