ml-archive / Serpent

A protocol to serialize Swift structs and classes for encoding and decoding.

Home Page:https://nodes-ios.github.io/Serpent/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NSURLs are not parsed properly from a dictionary if it has a source type of NSURL

kasperwelner opened this issue · comments

Serializable saves it as a NSURL when encoding, resulting in the parser not parsing it correctly when deserialising from disk (Looks like it enters the mapped overload for StringInitializable and fails when it gets out a NSURL instead of a String)

commented

Fixed #71

commented

Is the change in the latest release in Cocoapods? Coz I am using the cocoapods version and I have problem when deserializing NSURL, it becomes nil

@Joker666 Unfortunately we haven't been able to update our podspec to the latest version yet, as we were having some issues with dependencies. We are working on it though and we'll keep you updated! :)