Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/eonist/flowlayout

Bi-directional layout framework for iOS
https://github.com/eonist/flowlayout

animation apple flowlayout ios swift ui uinavigationbar uinavigationcontroller uiview ux

Last synced: about 3 hours ago
JSON representation

Bi-directional layout framework for iOS

Awesome Lists containing this project

README

        

# FlowLayout
![Lang](https://img.shields.io/badge/Language-Swift%205.0-orange.svg)
[![version badge](https://img.shields.io/badge/Version-1.0-blue.svg?longCache=true)](https://img.shields.io/badge/SDK-0.1-blue.svg?longCache=true)
![platform](https://img.shields.io/badge/Platform-iOS_12.2-blue.svg)
[![codebeat badge](https://codebeat.co/badges/8139ef2c-3fcb-449d-bfa0-190b99b6f6a0)](https://codebeat.co/projects/github-com-eonist-flowlayout-master)
[![SPM compatible](https://img.shields.io/badge/SPM-compatible-4BC51D.svg?style=flat)](https://github.com/apple/swift)
[![codebeat badge](https://img.shields.io/badge/%235%20Producthunt-Aug--05--2018-red.svg)](https://www.producthunt.com/posts/flowlayout)
[![SwiftLint Sindre](https://img.shields.io/badge/SwiftLint-Sindre-hotpink.svg)](https://github.com/sindresorhus/swiftlint-sindre) [![Tests](https://github.com/eonist/FlowLayout/actions/workflows/Tests.yml/badge.svg)](https://github.com/eonist/FlowLayout/actions/workflows/Tests.yml)

FlowLayout - A bi-directional layout framework for iOS | Product Hunt

img

### Description
The idea is to give aspiring app developers a dead simple "vanilla" swift library to start with. Just add some end point calls to instagram and you could literally have a minimal insta client in a day.

### Features
- 100% Programmatic 👌
- [3.82 GPA on Codebeat](https://codebeat.co/projects/github-com-eonist-flowlayout-master) 🏆
- Dual UICollectionView setup ↕️ ↔️
- Responsive header (Compact/Normal) 📏
- Pull-to-refresh (vertical/horizontal) 🔄
- Constraint animation 📐
- Works on all iPhone/iPad models 📱
- View based (no ViewController) 🖼
- Vanilla swift 🍦
- 0% syntactic sugar 🍭
- Mostly off the shelf components 🤯

### Installation:
- SPM: `.package(url: "https://github.com/eonist/FlowLayout.git", .branch("master"))`

### Pull to refresh:
img

### Compact mode:
img

### Swipe to new pages:
img

### Requires
- the Constraint extension (Included)

### Install
- Manual: open `FlowLayout.xcodeproj`
- Carthage: `github "eonist/FlowLayout" "master"`
- CocoaPod (coming soon)

### Credits
- Incredible gif via [Gifski](https://github.com/sindresorhus/gifski-app)
- The awesome people from [Swift-lang](https://slofile.com/slack/swift-lang) on Slack

### Todo
- Add stockimages
- Fix compact mode so that the offset is inherited in the next view
- Make a new IRL video with the new fixes
- Keep improving the structure and clarity

### Press
- Producthunt: [https://www.producthunt.com/posts/flowlayout](https://www.producthunt.com/posts/flowlayout)
- [MediaKit.zip](https://www.dropbox.com/s/5s59k5e0o6z5y0g/mediakit.zip?dl=0) via dropbox
- Blog post about FlowLayout [eon.codes/blog](http://eon.codes/blog/2018/08/05/Flow-Layout/)

### License
[MIT](https://en.wikipedia.org/wiki/MIT_License)