An iOS demo project showing two ways of doing async search while typing in a UITextField. Doing live searching once with standard Grand Central Dispatch calls and once with NSOperations. You can easily compare and see how it's done.
This project was the result of a discussion in CocoaHeads Bremen.
Three screens of the app in action.
- displays async search done using Grand Central Dispatch calls
- displays async search done using NSOperations
- searches the holy bible text live while typing in textfield
- download project
- compile and start
- enter text in the textfield
- switch the ways of searching
That's it! Please recognize, that the 200ms difference in the time needed to display the results is the effect of giving poptime.
All code is published under public domain, thus free.
- The code was put together by Helge Städtler and Alexander Repty from CocoaHeads Bremen
- You can meet us here at Hackerspace Bremen e.V. each 3rd Monday of the month, come by and join a bunch of iOS & OS X geeks, see also CocoaHeads Bremen for more info
- Contact Helge @noxymo and Alex at @arepty on Twitter
