Last week I mentioned a library for improving performance of UITableViewCells by reducing the number of drawing layers used by each cell. Another way to speed up UITableViews is by taking advantage of the re-use queue built into the UITableView API.
Here’s a library from Arnaud Coomans called ACReuseQueue allowing you to easily implement an object reuse queue inspired by UITableView’s queue for reusing cells, headers, and footers.
The library is extremely simple to use, you simply need to create the queue, have any objects to be queued implement a protocol used for identification,and reuse objects by calling them with their identifier.
A demo application is included that shows the speed increase when running through thousands of button objects.
You can find ACReuseQueue on Github here.
A nice library if you’re having performance issues in an app using many of the same objects.
Thanks to Arnaud for the submission.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.