Open Source Objective-C Library For Increasing Performance With An Object Reuse Queue

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.

FacebookTwitterDiggStumbleUponGoogle Plus

Original article: Open Source Objective-C Library For Increasing Performance With An Object Reuse Queue

©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *