Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forecast.swift: Unable to bridge NSNumber to Float. #49

Closed
swiftdesginer0 opened this issue Feb 16, 2018 · 3 comments
Closed

Forecast.swift: Unable to bridge NSNumber to Float. #49

swiftdesginer0 opened this issue Feb 16, 2018 · 3 comments

Comments

@swiftdesginer0
Copy link

When the public init(fromJSON json: NSDictionary) (line 68) is called and it attempts to bridge the type NSNumber to Float, it causes a fatal error. I am running it with Swift 4 with iOS 11.3 and Xcode beta 9.3. Has anybody heard of this issue?

@joeljfischer
Copy link
Contributor

I'm getting it on Xcode 9.3 final. It's an easy fix, change Floats to Doubles.

@joeljfischer
Copy link
Contributor

See #50

@sxg
Copy link
Owner

sxg commented Mar 30, 2018

This is fixed in the 4.1.0 release thanks to @joeljfischer and #50. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants