Giter Site home page Giter Site logo

glgooglepluslikelayout's Introduction

GLGooglePlusLikeLayout

This layout is inspired by GooglePlus.

GLGooglePlusLikeLayout is custom layout based on UICollectionView which can be used to show the data based on their content-size and by maintaining the row linear, unlike waterflow style layout.

Note

  • To support older versions of iOS you can use open source 100% API compatible replacement of UICollectionView for iOS4.3+ ie. PSTUICollectionView, just add PS on any UICollectionView* class
  • GLGooglePlusLikeLayout is just for demo purpose.

Usage

Refer GLDemoViewController for the demo.

Limitation

  • No supplementary footer view and decoration view.
  • Variable column(s) support (Currently only 2 default columns are supported).

Screen Shots

License

http://gautam.mit-license.org/

glgooglepluslikelayout's People

Contributors

rattlesnake-viper 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

glgooglepluslikelayout's Issues

Add a header to the collectionview

Hello,

this layout is fantastic. There is one thing that I want to make.

Is it possible to add a header view to the collectinview instead of a header per section?

Thanks

Setting number of columns to 1

Hey - first thanks! great component !

Wanted to ask - if i try to set self.numberOfColumns = 1 , it will crash immediately.

Am i missing something ?

Thanks!

Cell size issue.

Hello there i am having cell size issue problem now. I have the images of the following sizes
Image at cell index 0 W==100.000000 H ==100.000000
Image at cell index 1 W==56.000000 H ==100.000000
Image at cell index 2 W==56.000000 H ==100.000000
Image at cell index 3 W==320.000000 H ==80.000000
Image at cell index 4 W==100.000000 H ==100.000000
Image at cell index 5 W==320.000000 H ==80.000000
Image at cell index 6 W==100.000000 H ==100.000000
Image at cell index 7 W==56.000000 H ==100.000000
Image at cell index 8 W==100.000000 H ==100.000000

but i am getting this

gridissue
Please help :(

Manually select the cell size template

A very useful layout, thank you!

But sometimes with one and the same size, is derived the cell of smaller size.

Is it possible to manually select the cell size template? For example, small square, a wide horizontal, small vertical, medium vertical, large vertical, large square?

Horizontal Scrolling

Hey,

This is a great control! thank you.

How would you go about adding horizontal scrolling to it?

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.