We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c889cd3 commit 36bf816Copy full SHA for 36bf816
Foundation/NSXMLParser.swift
@@ -640,16 +640,16 @@ public class XMLParser : NSObject {
640
_namespaces.append(ns)
641
if let del = self.delegate {
642
ns.forEach {
643
- del.parser(self, didStartMappingPrefix: $0.0, toURI: $0.1)
+ del.parser(self, didStartMappingPrefix: $0, toURI: $1)
644
}
645
646
647
648
internal func _popNamespaces() {
649
let ns = _namespaces.removeLast()
650
651
- ns.forEach {
652
- del.parser(self, didEndMappingPrefix: $0.0)
+ ns.forEach { prefix, _ in
+ del.parser(self, didEndMappingPrefix: prefix)
653
654
655
0 commit comments