Swift XML

Open-source Swift projects categorized as XML | Edit details

Top 19 Swift XML Projects

  • Plot

    A DSL for writing type-safe HTML, XML and RSS in Swift. (by JohnSundell)

    Project mention: Mongrel brings Swift and HTML together with the power of @resultBuilder's | reddit.com/r/swift | 2021-07-24

    I'd say https://github.com/JohnSundell/Plot is John's more SwiftUI inspired DSL for html generation

  • SWXMLHash

    Simple XML parsing in Swift

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support. Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • EVReflection

    Reflection based (Dictionary, CKRecord, NSManagedObject, Realm, JSON and XML) object mapping with extensions for Alamofire and Moya with RxSwift or ReactiveSwift

  • Fuzi

    A fast & lightweight XML & HTML parser in Swift with XPath & CSS support

    Project mention: Fast HTML Parsing in Swift | news.ycombinator.com | 2021-09-21
  • AEXML

    Swift minion for simple and lightweight XML parsing

    Project mention: Lessons learned from migrating a native iOS app to Flutter | news.ycombinator.com | 2022-01-09

    In the article, he mentions the need for a DOM parser dependency for his app, as Swift “does not have one.”

    > AEXML was needed to parse some XHTML files as the native iOS SDK does not provide a DOM parser.

    I have used Foundation XML parsers[0] for many years, but they are general-purpose; not specifically modeled on DOM or HTML, which probably limits usefulness on some Web content.

    That said, if he has control of the content (don’t know the app, so I am not sure), then there should be no reason that they couldn’t render it in XHTML, so the Foundation parser could be used reliably. In the article, he mentions that the content is XHTML. I have to assume that AEXML[1] is easier to use than the built-in parser. It uses Foundation parsing (it actually seems to be a lightweight wrapper for the built-in parser(, under the hood (and seems to be a well-written dependency).

    So, it could be posited that he would only need one dependency for his native version, if he wanted to handle the XHTML parsing, himself.

    [0] https://developer.apple.com/documentation/foundation/archive...

    [1] https://github.com/tadija/AEXML

  • Snowflake

    ❄️ SVG in Swift (by onmyway133)

    Project mention: RoughSwift allows us to easily make shapes in hand drawn, sketchy, comic style | reddit.com/r/iOSProgramming | 2021-01-28

    Just took some time to update my library RoughSwift to support SPM. RoughSwift allows us to easily make shapes in hand drawn, sketchy, comic style. Based on the same concept of Snowflake which generates that are highly composable and changeable, RoughSwift turns drawing commands into beautiful sketchy graphics.

  • CoreXLSX

    Excel spreadsheet (XLSX) format parser written in pure Swift

    Project mention: Appending a .xls file in Swift | reddit.com/r/swift | 2021-08-10
  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • XMLCoder

    Easy XML parsing using Codable protocols in Swift

    Project mention: Are there any XML parsers (through SPM ideally) that are worth using instead of Apple's XMLParser framework? | reddit.com/r/swift | 2021-04-17

    I've used https://github.com/MaxDesiatov/XMLCoder in a few apps, works nicely!

  • SOAPEngine

    This generic SOAP client allows you to access web services using a your iOS app, Mac OS X app and AppleTV app.

  • scout

    Reading and writing in JSON, Plist, YAML and XML data made simple when the data format is not known at build time. Swift library and command-line tool. (by ABridoux)

    Project mention: Scout 2. ;. ; | reddit.com/r/macsysadmin | 2021-09-06
  • FigmaConvertXib

    FigmaConvertXib is a tool for exporting design elements from figma.com and generating files to a projects iOS .xib / Android .xml

    Project mention: Open-source tool from Figma to Android & XCode | reddit.com/r/FigmaDesignSystems | 2021-02-09
  • XMLMapper

    A simple way to map XML to Objects written in Swift

  • SwiftyXML

    The most swifty way to deal with XML data in swift 5.

  • XMLParser

    A lightweight XMLParser for assembling and parsing XML values written for iOS 8+ in Swift 2. (by mozharovsky)

  • AlamofireXmlToObjects

    Fetch a XML feed and parse it into objects

  • CheatyXML

    CheatyXML is a Swift framework designed to manage XML easily

  • XMLText

    Generate styled SwiftUI Text from strings with XML tags.

    Project mention: XMLText: SwiftUI Text from styled XML | reddit.com/r/SwiftUI | 2021-03-11

    GitHub: XMLText with SPM support

  • MomXML

    Create or parse CoreData managed object model XMLs

  • CatFacts

    A basic application to demonstrate XML Parsing in Swift.

    Project mention: XML Parsing in Swift | dev.to | 2021-04-22

    If you would need any help, the complete project is linked here

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-01-09.

Swift XML related posts

Index

What are some of the best open-source XML projects in Swift? This list will help you:

Project Stars
1 Plot 1,734
2 SWXMLHash 1,265
3 EVReflection 964
4 Fuzi 953
5 AEXML 938
6 Snowflake 938
7 CoreXLSX 596
8 XMLCoder 567
9 SOAPEngine 471
10 scout 104
11 FigmaConvertXib 103
12 XMLMapper 101
13 SwiftyXML 91
14 XMLParser 76
15 AlamofireXmlToObjects 65
16 CheatyXML 23
17 XMLText 11
18 MomXML 5
19 CatFacts 0
Find remote jobs at our new job board 99remotejobs.com. There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
scoutapm.com