Skip to content

eonist/FlowLayout

Repository files navigation

FlowLayout

Lang version badge platform codebeat badge SPM compatible codebeat badge SwiftLint Sindre Tests

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 πŸ†
  • 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

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

License

MIT