mnbayan / AutocompleteTextfieldSwift

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

Append to NSData on didReceiveData #1

Closed chug2k closed 9 years ago

chug2k commented 9 years ago

If the response from Google is a little longer, the didReceiveData method is called multiple times. In that case, one should append to the already received data. This was leading to errors in my JSON parsing.

Also removing an unused CLLocationManager instance.