Skip to content

Commit

Permalink
extract float scalar type for bridging
Browse files Browse the repository at this point in the history
This should fix issue 38
#38
  • Loading branch information
proxpero committed May 17, 2018
1 parent 9f585a7 commit f1cad1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AImage.swift
Expand Up @@ -196,7 +196,7 @@ public class AImage {
if (delayObject.floatValue == 0.0){
delayObject = unsafeBitCast(CFDictionaryGetValue($0, Unmanaged.passUnretained(kCGImagePropertyGIFDelayTime).toOpaque()), to: AnyObject.self)
}
return delayObject as! Float
return delayObject.floatValue as Float
}
return frameDelays
}
Expand Down

0 comments on commit f1cad1c

Please sign in to comment.