TeehanLax/UICollectionView-Spring-Demo — pull request #9 by odyth (2014-02-14 09:54:17+00:00)
Title: crash on insert, disappearing header / footer

This fixes two issues.

1) there is a crash when inserting cells if you are trying to reuse a UIAttachmentBehavior if its already in the dynamic animator

2) if you have headers or footers they will disappear once scrolled out of view, but since headers and footer share the same index path as the first and last item they wont reappear consistently. Added a set just for headers and footers.