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

Module 'Alamofire' has no member named 'request' #8

Open
a-prezioso opened this issue May 1, 2021 · 0 comments
Open

Module 'Alamofire' has no member named 'request' #8

a-prezioso opened this issue May 1, 2021 · 0 comments

Comments

@a-prezioso
Copy link

I have some error on class Observer.
Indeed this row throw an error --> Alamofire.request("http://api.icndb.com/jokes/random/\(count)") -- Error: Module 'Alamofire' has no member named 'request'.
I red some post on stackoverflow that say to change 'Alamofire.request' to 'AF.request' from 5.x.x version.
But in this way I have another error on --> 'if let json = response.result.value' -- Error: Type of expression is ambiguous without more content.

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

1 participant