Giter Site home page Giter Site logo

Swift 3 and Xcode 8 about folding-cell HOT 2 CLOSED

ramotion avatar ramotion commented on May 3, 2024 1
Swift 3 and Xcode 8

from folding-cell.

Comments (2)

FlorianPfisterer avatar FlorianPfisterer commented on May 3, 2024

Any fix yet?

EDIT:
I've found the problem:
In configureDefaultState, the constant property of the foregroundViewTop constraint is set to foregroundView.bounds.height / 2. However, at this point, the bounds of the view are not determined yet, which is why (for me) it is set to 400. Hence, you can't see the foregroundView anywhere.
You could either

  • implement a method that asks for the proper height of the foregroundView (override it in your subclass)
  • or add a property for the foregroundViews height constraint and get the height from there
  • or just replace foregroundView.bounds.height / 2 (inside of configureDefaultState) with the literal height / 2 you have in mind for your foregroundView

from folding-cell.

croossin avatar croossin commented on May 3, 2024

Is there any timeline as to when you think there might be Swift 3 support? Thanks!

from folding-cell.

Related Issues (20)

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.