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