iOS: Adjust to ObjFW changes
FossilOrigin-Name: 604513acba904b54db0279d35290e075101a9745f62154e78bfaa604bd091178
This commit is contained in:
parent
4c744c922a
commit
48eba5104f
2 changed files with 2 additions and 3 deletions
|
@ -45,7 +45,8 @@ class SiteStorage: OFObject {
|
|||
|
||||
var storage: [String: [NSNumber: AnyObject]]? = nil
|
||||
OFException.try({
|
||||
let decoded = (OFData(contentsOfFile: path).messagePackValue)
|
||||
let decoded = (OFData(contentsOfFile: path)
|
||||
.objectByParsingMessagePack)
|
||||
as? OFDictionary<OFString, OFDictionary<OFNumber, AnyObject>>
|
||||
storage =
|
||||
(decoded?.nsObject as? [String: [NSNumber: AnyObject]]) ?? [:]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue