I'm using ViewDeck to make a slide menu, and would like to shorten the width of my CollectionView, which functions as a menu. I can't seem to find any delegate methods to do so though.
I'm using Storyboards, and this is my issue:

Perhaps some sort of setup using? :
- (UIEdgeInsets)collectionView: (UICollectionView )collectionView layout:(UICollectionViewLayout)collectionViewLayout insetForSectionAtIndex:(NSInteger)section
There's an IISideController in ViewDeck. It knows about the viewdeck and is made specifically for this scenario. It will adjust the size of the contained viewcontroller's view to the size of the ledge of the viewdeck (or to a user specified size).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With