Giter Club home page Giter Club logo

Comments (8)

berildoguc avatar berildoguc commented on August 28, 2024 1

I will check this thanks.

from vbrrollingpit.

v-braun avatar v-braun commented on August 28, 2024

Hi!
This parameter is currentley hard-coded.
I have right now not that time to add new features here but will keep this open til it is available.

You can do it yourself, here are the two values you have to adopt:

  1. move animation duration
  2. opacity animation duration

from vbrrollingpit.

berildoguc avatar berildoguc commented on August 28, 2024

I changed this values like:
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + .milliseconds(100) , execute: { UIView.animate(withDuration: 0.1) { itemView.alpha = 1 } }
and
animation.duration = 0

but anything changed. What should I do?

from vbrrollingpit.

v-braun avatar v-braun commented on August 28, 2024

Are you sure that your changes where really applied?
Have you installed the lib via cocoapods or copied the code over?
Maybe "0" is not a valid value for animations, can you set it to 100 or so to see a difference?

from vbrrollingpit.

berildoguc avatar berildoguc commented on August 28, 2024

I have installed the lib via cocoapods. I will try to set it to 100. Hope it helps otherwise I ask you again. Thanks...

from vbrrollingpit.

berildoguc avatar berildoguc commented on August 28, 2024

Nothing changed. I am going to wait until you add new features.
Even so it is a very good library, thanks for your time.

from vbrrollingpit.

v-braun avatar v-braun commented on August 28, 2024

Not sure that code modifications work with cocoapods.
My recomendation is to copy the file RollingPitTabBar into your project and adapt there the values. Remove the cocoapod dependency and this should work for you.

Later when I do the update you can remove the file again and use the pod

from vbrrollingpit.

Scankiran avatar Scankiran commented on August 28, 2024

private func createPathMoveAnimation(toVal : CGPath) -> CABasicAnimation{ let animation = CABasicAnimation(keyPath: "path") animation.duration = 1

I setted duration to 0.3 and it works. You can find code on lines between 245 and 248.

from vbrrollingpit.

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.