Comments (8)
I will check this thanks.
from vbrrollingpit.
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:
from vbrrollingpit.
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.
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.
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.
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.
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.
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)
- Tab Bar Background HOT 3
- Using it programmatically HOT 2
- Not TabBarController HOT 4
- badge value HOT 1
- Stop Circular Movement animation HOT 7
- How to change the unselected icons images to another color. HOT 1
- How to remove animation for selected item? HOT 1
- I cant find the animating time
- TabBarItem's badge icon position for non selected tab. HOT 4
- How can I set the border color?
- How to add gradient backgroundcolor to bar
- How to add selected bar item with gradient tint and unselected bar item with flat color
- How do I only include the image in the circle and make it centered of the selected tab
- How do I only include the image in the circle and make it centered of the selected tab? HOT 2
- Memory leaks HOT 2
- it showing black color on top of tabbar HOT 6
- How to stop selected tab animation
- How to stop selected tab animation HOT 1
- Need Transparent Bg HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vbrrollingpit.