iOS Tutorial: Maintain Performance With A Stack Of Table Views, Collection Views, or Scroll Views

Maintaining efficiency with multiple table views, collection views, and UIScrollViews is extremely difficult – typically performance will suffer or you’ll end up using a lot of memory.

Here’s a tutorial showing how to handle a stack of views, table views, collection views or a UIScrollView subclass vertically without losing performance or wasting memory submitted by Daniele Margutti along with a component called DMStackScrollView providing an efficient stack of scrollviews with some added features.

In the guide Daniele explains and shows how to implement an algorithm that allows your stack of scrollviews to remain performant, and outlines some other approaches that don’t work.

In the component Daniele provides a simple to use component for stacking your scrollviews, with added gesture based subview reordering and adding and removal of subviews.

You can find the guide over on Daniele’s blog.

You can find the DMScrollViewStack component <a href=”https://github.com/malcommac/DMScrollViewStack target=”_blank”>on Github here.

A nice guide and component for efficiently displaying a stack of scrollviews.

Original article: iOS Tutorial: Maintain Performance With A Stack Of Table Views, Collection Views, or Scroll Views

©2015 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 *