An open API service indexing awesome lists of open source software.

https://github.com/sprylab/awcollectionviewdiallayout

UICollectionViewLayout for displaying cells in a semi-circle with a nice fish eye effect
https://github.com/sprylab/awcollectionviewdiallayout

Last synced: 7 months ago
JSON representation

UICollectionViewLayout for displaying cells in a semi-circle with a nice fish eye effect

Awesome Lists containing this project

README

          

AWCollectionViewDialLayout
==========================

UICollectionViewLayout for displaying cells in a semi-circle with a nice fish eye effect.
[![CI Status](http://img.shields.io/travis/Claus Weymann/AWCollectionViewDialLayout.svg?style=flat)](https://travis-ci.org/Claus Weymann/AWCollectionViewDialLayout)
[![Version](https://img.shields.io/cocoapods/v/AWCollectionViewDialLayout.svg?style=flat)](http://cocoapods.org/pods/AWCollectionViewDialLayout)
[![License](https://img.shields.io/cocoapods/l/AWCollectionViewDialLayout.svg?style=flat)](http://cocoapods.org/pods/AWCollectionViewDialLayout)
[![Platform](https://img.shields.io/cocoapods/p/AWCollectionViewDialLayout.svg?style=flat)](http://cocoapods.org/pods/AWCollectionViewDialLayout)

Very handy for quickly browsing items with your left thumb without having some of the content hidden behind your finger while you scroll.

* * *
Usage:
* * *
```
// Radius : The radius of your circle
// Angular spacing: Angle between items (deg)
// Cell Size: Size of your cell
// Alignment: Supports 2 Types: WHEELALIGNMENTLEFT and WHEELALIGNMENTCENTER
// X-Offset: To translate the circle along the x-axis

AWCollectionViewDialLayout *dialLayout = [[AWCollectionViewDialLayout alloc] initWithRadius:300.0 andAngularSpacing:18.0 andCellSize:CGSizeMake(240, 100) andAlignment:WHEELALIGNMENTCENTER andItemHeight:100 andXOffset:70];
```

* * *
Screenshots:
* * *
![Screenshot 1](http://raw.github.com/awdigital/AWCollectionViewDialLayout/master/AWCollectionViewDialLayoutDemo/awcollectionviewdiallayout_1.jpg)

![Screenshot 2](http://raw.github.com/awdigital/AWCollectionViewDialLayout/master/AWCollectionViewDialLayoutDemo/awcollectionviewdiallayout_2.jpg)

* * *
Video
* * *
[![ScreenShot](http://antoinewette.com/github/vimeo_screenshot.jpg)](https://vimeo.com/89403786)