XMLCoder
Easy XML parsing using Codable protocols in Swift (by CoreOffice)
SWXMLHash
Simple XML parsing in Swift (by drmohundro)
XMLCoder | SWXMLHash | |
---|---|---|
3 | 2 | |
795 | 1,398 | |
0.3% | - | |
5.3 | 3.3 | |
7 months ago | 25 days ago | |
Swift | Swift | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
XMLCoder
Posts with mentions or reviews of XMLCoder.
We have used some of these posts to build our list of alternatives
and similar projects.
- XML parsing in Swift
-
Are there any XML parsers (through SPM ideally) that are worth using instead of Apple's XMLParser framework?
I've used https://github.com/MaxDesiatov/XMLCoder in a few apps, works nicely!
-
How to parse XML correctly?
I would recommend this one because it works with Codable. Though using the built in parser will save you one more external dependency.
SWXMLHash
Posts with mentions or reviews of SWXMLHash.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-25.
-
Regex Linux
import PackageDescription let package = Package( name: "Extractor", dependencies: [ .package(url: "https://github.com/drmohundro/SWXMLHash.git", from: "7.0.0") ], targets: [ .executableTarget( name: "Extractor", dependencies: [.product(name: "SWXMLHash", package: "SWXMLHash")]) ] )
-
Creating an Apple TV app with SwiftUI
In the function, we first call the parse() function of SWXMLHash on our input, and then iterate over the returned SWXMLHash.XMLIndexer value. Depending on the format of the input, we'll either iterate over every entry inside the feed, or every item inside the channel; create an VideoItem object for each, and append it to either our liveVideoItems or videoItems array.
What are some alternatives?
When comparing XMLCoder and SWXMLHash you can also consider the following projects:
SwiftyXML - The most swifty way to deal with XML data in swift 5.
AEXML - Swift minion for simple and lightweight XML parsing
XMLMapper - A simple way to map XML to Objects written in Swift
Fuzi - A fast & lightweight XML & HTML parser in Swift with XPath & CSS support
XMLParser - A lightweight XMLParser for assembling and parsing XML values written for iOS 8+ in Swift 2.
CheatyXML - CheatyXML is a Swift framework designed to manage XML easily
AlamofireXmlToObjects - Fetch a XML feed and parse it into objects