You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.
After upgrading to Xcode 8.3, I'm getting a compilation error on the method declaration for gif(_ url: String) that says
Method 'gif' with Objective-C selector 'gif:' conflicts with previous declaration with the same Objective-C selector
And also on gif(_ name: String) I'm getting another error that says
Invalid redeclaration of 'gif'
Seems straightforward since Objective-C doesn't support method overloading and the class is extending the Objective-C class UIImage. Just wondering why this wasn't an issue before the upgrade.
The text was updated successfully, but these errors were encountered:
If anyone else has this issue, all you need to do is remove the underscores that allow you to omit the param names. Like this: gif(data: String) gif(name: String) gif(url: String)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After upgrading to Xcode 8.3, I'm getting a compilation error on the method declaration for
gif(_ url: String)
that saysAnd also on
gif(_ name: String)
I'm getting another error that saysSeems straightforward since Objective-C doesn't support method overloading and the class is extending the Objective-C class UIImage. Just wondering why this wasn't an issue before the upgrade.
The text was updated successfully, but these errors were encountered: