Giter Site home page Giter Site logo

flowlayout's Introduction

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

flowlayout's People

Contributors

eonist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

flowlayout's Issues

Project won't compile

Build input files cannot be found: '/FlowLayout-master/FlowLayout/view/header/button/HeaderButton2.swift',
'/FlowLayout-master/FlowLayout/view/cell/horizontal/HorCellKind.swift',
'/FlowLayout-master/FlowLayout/view/cell/horizontal/HorCell+Create.swift',
'/FlowLayout-master/FlowLayout/view/cell/horizontal/HorCell+Const.swift'

Also, even if I removed those missing files from the project, the app will crash in HorView+Collection.swift line 28.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.