Giter Site home page Giter Site logo

introducingcollectionviews's Issues

[QUESTION] Set Cell Attributes method in the coverflow layout?

Hello,

I'm having a hard time understanding the beginning of the setCellAttributes:forVisibleRect: at CoverFlowLayout.m file,

    CGFloat distance = CGRectGetMidX(visibleRect) - attributes.center.x;
    CGFloat normalizedDistance = distance / ACTIVE_DISTANCE;
    BOOL isLeft = distance > 0;
    CATransform3D transform = CATransform3DIdentity;
    transform.m34 = -1/(4.6777 * self.itemSize.width);

Could you explain me what are you doing in these lines of code?
What's ACTIVE_DISTANCE, and basically what are you doing?

Thanks for the project, helps quite a bit.

License?

Hi, thanks for uploading this. Is it released under an open source license?

Seeking for your advice

I read your great article in your blog. I'd like to create a bookshelf like this one:

notes-index2

The difference from what you have done is there is side shelf here. I have no idea at all how to add side shelf. Any hint? Thank you so much.

Add ability to pinch back "down" to stack layout

I found this very useful in teaching how to animate layout changes. There is the ability to pinch "open" from the stacked layout to other layouts. I would like to see the opposite implemented--pinching "closed" from other layouts into a stacked layout.

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.