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 was archived by the owner on May 17, 2024. It is now read-only.
The Mappable protocol uses NSDictionary and NSArray in its convenience methods.
publicstaticfunc from(_ JSON:NSDictionary)->Self?
public static func from(_ JSON:NSArray)->[Self]?
Since Swift continues to move away from Objective C with 3.0, I would propose to change the types to [String: Any] and [Any]/[[String: Any]] so it integrates more naturally in Swift development. Or is there any good reason to prefer NSDictionary/NSArray over these?
osrl, juraj-blahunka, christianselig, cliftonr, ThuggishNuggets and 3 more