MessagePack
XMLCoder
Our great sponsors
MessagePack | XMLCoder | |
---|---|---|
1 | 3 | |
194 | 775 | |
-0.5% | 1.5% | |
0.0 | 5.3 | |
over 1 year ago | 3 months ago | |
Swift | Swift | |
MIT License | MIT License |
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.
MessagePack
-
Convert a raw byte array to a Struct
So yeah, I agree that a standardized data format could help. JSON seems wasteful, especially when working with less powerful chips. Maybe msgpack could be useful for this, which can be used directly with Codable using this library.
XMLCoder
- 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.
What are some alternatives?
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
SWXMLHash - Simple XML parsing in Swift
Fuzi - A fast & lightweight XML & HTML parser in Swift with XPath & CSS support
CheatyXML - CheatyXML is a Swift framework designed to manage XML easily
AlamofireXmlToObjects - Fetch a XML feed and parse it into objects
XMLParser - A lightweight XMLParser for assembling and parsing XML values written for iOS 8+ in Swift 2.
SNDocx - Extracts the text from the Docx file
XMLText - Generate styled SwiftUI Text from strings with XML tags.
ZMarkupParser - ZMarkupParser is a pure-Swift library that helps you convert HTML strings into NSAttributedString with customized styles and tags.
DTCollectionViewManager - Protocol-oriented UICollectionView management, powered by generics and associated types.