You can unregister a UICollectionView supplementary view by re-registering it with nil class as stated in Apple’s docs. (Remember to use the same reuseIdentifier).

[self.collectionView registerClass:nil

But don’t forget to overwrite the [UICollectionViewDelegateFlowLayout collectionView:layout:referenceSizeForHeaderInSection:]

- (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout referenceSizeForHeaderInSection:(NSInteger)section
    return CGSizeZero;

Header or footer, depending on your need.

Tips To Avoid Rerendering React-Native Components

Building a production-ready fully architectured React-Native app means sending and updating lots ofprops to your components. This means the …… Continue reading

Handling Frames In An AutoLayout Universe

Published on February 27, 2018

The Simplest Throttle/Debounce You'll Ever See

Published on January 11, 2018