-
Notifications
You must be signed in to change notification settings - Fork 9
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
Upgrade to Swift 5 #18
base: develop
Are you sure you want to change the base?
Conversation
Update dependencies in order to use Swift 5 Fix objective function errors
Update Alamofire version to 5.0.0-rc.2
Hey, welcome to the project and thanks for the contribution!! 🎉 Would it be possible for |
Great suggestion !. I updated my code |
WWCodeDFW/WWCodeDFW/ApiService.swift
Outdated
@@ -15,6 +15,8 @@ enum ApiServiceError: Error { | |||
case failureRequestError | |||
} | |||
|
|||
typealias ApiResult<T> = Result<T, Error> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be Result<T, ApiServiceError>
since all of ApiResult
's uses have en error type of ApiServiceError
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad. I just fixed it
@laurrenreed Any chance you or someone else could take a look at merging this? :) |
No description provided.