title: Autocomplete textfield using tableview and array filter in swift
body: <p>So, I have a tableview , a textfield, and an array which contains some data. What i want to achieve is that whenever I start typing in the textfield, a filter() method should fire on my array containing the data and the tablview should return data matching to the characters I typed in the textfield. </p>
  
  <p>For eg, if i type W it should give me result as "Walmart","Wally,"Wily" and so on. IF i type in "Sac" it should give "sacramento","satisfied" and so on. In short, an auto-complete textfield without using any external libraries at all.</p>
  
  <p>I know this is simple , i have tried doing it but i am getting zero data.Also, i am new to swift. Please Help anybody :-) </p>