Skip to content

Bi-directional layout framework for iOS

License

Notifications You must be signed in to change notification settings

orchidfire/FlowLayout

 
 

Repository files navigation

FlowLayout

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

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

About

Bi-directional layout framework for iOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%