Comments (3)
I think this is more of a semantics issue - hide()
technically should hide a spinner not cancelAnyCurrentlyScheduledSpinners()
. That being said - maybe the best way is to bring back the broken behavior to be consistent with older versions.
from swiftspinner.
Basically, I did roll back the showWithDelay to the previous version to keep the functionality that I had.
I may be using your (very cool) library/tool incorrectly... What I want to do is display the spinner, then, if it has not been dismissed within 4 seconds, change the text to the "Sorry..." text.
Is there a better way to do this?
Anyway, I really appreciate you for putting this code out for others to use. Thank you!
from swiftspinner.
I thought more about this issue and the cleanest solution looks like adding a parameter that is by default true
to match the previous behavior.
from swiftspinner.
Related Issues (20)
- SwiftSpinner.show(duration: 2.0, ...) cannot be canceled HOT 9
- Set inner/outer color back to default HOT 8
- Hierarchy mistake when rootController of UIWindow changed HOT 3
- The addTapHandler is not working if the show contains a delay (because of async Spinner hard to return I guess) HOT 1
- Acitvity Indicator Blurred Background HOT 1
- not responding when using inside NSManagedObjectContext.perform{} HOT 1
- Type 'String' has no member 'round' HOT 16
- Can I color the spinner HOT 1
- after updating pod its showing some errors HOT 2
- Can't use without crashing after update HOT 8
- Errors when trying to compile using Xcode 10 Swift 4.2 HOT 2
- SwiftSpinner and status bar HOT 2
- SwiftSpinner.hide() doesn't work on multiple push/pop view controllers. HOT 1
- Support Swift Package Manager HOT 1
- SwiftUI, the spinner animation will freeze after 2 seconds HOT 1
- Is there any possible way to change the circle's height? HOT 3
- Pod stuck at Swift v3.2 HOT 6
- Appclip having issue with swiftSpinner cocopods HOT 2
- inputAcessoryView is always displayed above SwiftSpinner HOT 2
- image not found HOT 1
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 swiftspinner.