Comments (3)
Same issue for me too
For now i hard coded it .
if let probability = delayObject as? Float{
return probability
}
return 0.1
from aimage.
I suggest this
if let n = delayObject as? NSNumber { return n.floatValue }
from aimage.
I fixed this with
return delayObject.floatValue as Float
ie. get the scalar float value out of the NSNumber object before trying to bridge. It should always succeed.
from aimage.
Related Issues (20)
- Provide a way to stop a GIF HOT 10
- iOS10? HOT 3
- IOS 10 EXC_BAD_ACCESS HOT 5
- iOS10 kCGImagePropertyGIFDictionary or kCGImagePropertyPNGDictionary HOT 2
- Swift 3 support? HOT 2
- lowercase function names HOT 1
- gif speed getting faster HOT 3
- Slow when in UICollectionView
- How i can use AImage in objective-c class? HOT 1
- Slows down entire app: suggestions?
- Aspect Fill support? HOT 1
- fatal error: Index out of range HOT 1
- 发生闪白现象 HOT 1
- Crash on Swift 4.1 HOT 1
- Possible off-by-one error in calculating the AImage `displayIndex` array.
- Using cocoapods AImage's folder is empty
- 70% CPU usage even if animation is on pause! HOT 1
- _cacheKey` is nil... HOT 2
- Framerate increasing in a reuse context HOT 2
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 aimage.