You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://gitter.im/drmohundro/SWXMLHash?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
SWXMLHash is a relatively simple way to parse XML in Swift. If you're familiar
12
-
with `NSXMLParser`, this library is a simple wrapper around it. Conceptually, it
10
+
with `XMLParser` (formerly `NSXMLParser`), this library is a wrapper around it. Conceptually, it
13
11
provides a translation from XML to a dictionary of arrays (aka hash).
14
12
15
13
The API takes a lot of inspiration from
@@ -34,16 +32,29 @@ The API takes a lot of inspiration from
34
32
35
33
## Installation
36
34
37
-
SWXMLHash can be installed using [CocoaPods](http://cocoapods.org/),
38
-
[Carthage](https://github.com/Carthage/Carthage),
39
-
[Swift Package Manager](https://swift.org/package-manager/), or manually.
35
+
SWXMLHash can be installed using [Swift Package Manager](https://swift.org/package-manager/), [CocoaPods](http://cocoapods.org/),
36
+
[Carthage](https://github.com/Carthage/Carthage), or manually.
37
+
38
+
### Swift Package Manager
39
+
40
+
The [Swift Package Manager](https://swift.org/package-manager/) is a tool built by Apple as part of [the Swift project](https://swift.org/) for integrating libraries and frameworks into your Swift apps.
41
+
42
+
To add SWXMLHash as a dependency, update the `dependencies` in your `Package.swift` to include a reference like so:
0 commit comments