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
- Host: GitHub
- URL: https://github.com/sprylab/awcollectionviewdiallayout
- Owner: sprylab
- License: mit
- Fork: true (awdigital/AWCollectionViewDialLayout)
- Created: 2015-07-23T12:15:57.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-31T10:56:48.000Z (almost 11 years ago)
- Last Synced: 2025-08-30T01:50:24.660Z (9 months ago)
- Language: Objective-C
- Homepage:
- Size: 1.1 MB
- Stars: 3
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
AWCollectionViewDialLayout
==========================
UICollectionViewLayout for displaying cells in a semi-circle with a nice fish eye effect.
[](https://travis-ci.org/Claus Weymann/AWCollectionViewDialLayout)
[](http://cocoapods.org/pods/AWCollectionViewDialLayout)
[](http://cocoapods.org/pods/AWCollectionViewDialLayout)
[](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:
* * *


* * *
Video
* * *
[](https://vimeo.com/89403786)