Comments (2)
Thanks for the reply, I managed to speed up to animation by reducing the delay to 0.05 from 0.1 here:
private func popAnimationWithOpen() {
var itemHeight: CGFloat = 0
var delay = 0.0
for item in items {
if item.hidden == true { continue }
itemHeight += item.size + itemSpace
item.layer.transform = CATransform3DMakeScale(1, 1, 1)
item.frame.origin.y = -itemHeight
item.layer.transform = CATransform3DMakeScale(0.4, 0.4, 1)
UIView.animateWithDuration(0.3, delay: delay,
usingSpringWithDamping: 0.55,
initialSpringVelocity: 0.3,
options: [.CurveEaseInOut], animations: { () -> Void in
item.layer.transform = CATransform3DMakeScale(1, 1, 1)
item.alpha = 1
}, completion: nil)
delay += 0.05
}
}
from floaty.
I'm sorry for my late reply.
Now you can not. If you want, pull-request to me.
from floaty.
Related Issues (20)
- How to make fab button to hide only on tapping cross button item and not on background semi transparent view
- Customize Image
- How to change Floaty Position ?
- Floaty hit are is way too big
- Cant add Floaty button to Window level HOT 1
- Add background view for item label
- Floaty is preventing from changing device orientation
- Overlay & Width & Height Label HOT 1
- preferredStatusBarStyle isn't called due to Floaty.global.button
- Can I handle just one single action?
- Floaty padding Y is not working when set rtlMode property is true!
- How to cover Overlay on TabBar & NavigationBar
- How to add button Floaty type in storyboard? HOT 1
- Floaty items aren't clickable when I turn voiceover on
- Floaty only respond to touch for the first time on simulator when built by Xcode 14. HOT 3
- Pod is not working in m1 chip system
- Isn't the [weak self] needed in addItem() ?
- Item icons are not in center
- Problem with tabbar and overlay
- Unable to reload data
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 floaty.