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 Apr 8, 2023. It is now read-only.
I am getting a compiler error using Swift 5:
{path to project}/Pods/LocationPickerViewController/LocationPicker/LocationItem.swift:122:24: value of type 'AnyObject' has no member 'hashValue'
This is the function causing problems:
open override func isEqual(_ object: Any?) -> Bool { guard let object = object else { return false } return (object as! NSObject).hashValue == hashValue }
Since this class subclasses from NSObject, can we use the default NSObject isEqual definition instead? Thanks for looking into this.
The text was updated successfully, but these errors were encountered: