Comments (7)
What are you seeing when you try using it? A crash?
from shimmer.
hi thanks for your reply!
no crash, fadeOutWithCompletion block doesn't called my method:
[self.shineLabel shineWithCompletion:^{
[self.shineLabel fadeOutWithCompletion:^{
[self dismissLoadingView];
}];
}];
Fade out works but no [self dismissLoadingView] called in my case!
Thanks!
from shimmer.
Hm, have you tried adding a NSLog()
call in that method, or stepping through in a debugger? I tried it in a test project, so without your exact setup it might be hard to reproduce / debug.
from shimmer.
yes I tried to put an NSlog and breakpoint into my dismissLoadingView Method but it isn't called and No Logs... did you tried it?
My workaround for the moment is:
[self.shineLabel shineWithCompletion:^{
[self.shineLabel fadeOut];
[self performSelector:@selector(dismissLoadingView) withObject:self afterDelay:2];
}];
Thanks
Paolo
from shimmer.
Where is your shineWithCompletion:
method from? It's not defined in the Shimmer headers.
from shimmer.
You are perfectly right, It's my mistake.
REALLY sorry and thanks for your library :)
from shimmer.
Cool, glad you figured it out.
from shimmer.
Related Issues (20)
- Updates please! HOT 1
- shimmer diagonal animation
- updating the pod to Swift4.0 version
- What happened with this repo? HOT 5
- Unable to add Shimmer Framework manually in custom swift Framework
- Carthage support for Shimmer HOT 1
- Is there any user data that is either being collected or Tracked by the Shimmer
- .
- Assigning to 'id<CALayerDelegate> _Nullable' from incompatible type 'FBShimmeringLayer *const __strong'
- Facebook>Chat panel HOT 1
- Missing Android Support HOT 1
- SIGSEGV when deallocating view controller HOT 1
- ShimmerView does NOT work with Constraints HOT 4
- Tag a new release ? HOT 2
- Issues when used with views inside of UIStackView HOT 1
- Shimmer crashes EarlGrey
- Xcode 8.3 warning HOT 3
- Mask angle/tilt HOT 2
- Please update the CocoaPod!
- please show an example of using this in swift 3 or 4. HOT 4
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 shimmer.