Skip to content

Commit

Permalink
Issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
drmohundro committed Mar 12, 2022
1 parent f2c75b1 commit 07bad9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swxmlhash-test/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ struct ContentView: View {

init() {
let xml = XMLHash.parse(xmlContent)
let element: XMLElement = xml["root"]["catalog"]["book"][0]["author"].element
let element: SWXMLHash.XMLElement? = xml["root"]["catalog"]["book"][0]["author"].element

firstAuthor = element!.text
}
Expand Down

0 comments on commit 07bad9d

Please sign in to comment.