Remove 10.9 support.

This commit is contained in:
Damiano Galassi committed 2018-02-03 10:43:41 +01:00
1 parent 71c7308d6b
commit cd27e2ce52
18 files changed
+54 -118

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ struct SquaredTVArt {
private func parse(xml: XMLDocument) -> [SquaredTVArtwork] {
guard let nodes = try? xml.nodes(forXPath: "//div[starts-with(@class,'Post ')]") else { return [] }
return nodes.flatMap { (node) -> SquaredTVArtwork? in
return nodes.compactMap { (node) -> SquaredTVArtwork? in
if let subXml = try? XMLDocument(xmlString: node.xmlString, options: []),
let name = completeName(xml: subXml),
let url = thumbURL(xml: subXml),