New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

github.com/betzerra/MosaicLayout

Package Overview
Dependencies
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/betzerra/MosaicLayout

Source
Go Modules
Version
v0.0.0-20170418145349-7f9bdda163bc
Version published
Created
Source

MosaicLayout

A layout very similar to MosaicUI that uses Lightbox algorithm described in @vjeux's blog and takes advantage of UICollectionView.

Landscape on iPad

Instructions

  • Import all the files from Libs/MosaicLayout folder.
  • Add a UICollectionView view, change its layout to "Custom" and set its class to "MosaicLayout".
  • Implement UICollectionView's delegates.
  • Implement MosaicLayoutDelegate protocol.

MosaicLayoutDelegate

-(float)collectionView:(UICollectionView *)collectionView relativeHeightForItemAtIndexPath:(NSIndexPath *)indexPath;
-(BOOL)collectionView:(UICollectionView *)collectionView isDoubleColumnAtIndexPath:(NSIndexPath *)indexPath;
-(NSUInteger)numberOfColumnsInCollectionView:(UICollectionView *)collectionView;

Requirements

  • iOS 6
  • ARC

License

This project is under MIT License. See LICENSE file for more information.

FAQs

Package last updated on 18 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts