Latest1.1.0
Homepagehttps://github.com/BiAtoms/Xml.swift
LicenseMIT
Platformsios 8.0, osx 10.9, tvos 9.0
Authors

Platform Linux
Platform iOS macOS tvOS
Cocoapods Compatible

A Foundation.XMLParser wrapper for swift. Written as a part of Xmmp.swift.

Features

  • Calls delegate method (with XmlElement) when an element is parsed from the provided source (Data, InputStream or file URL).
  • Stores parsed document as a variable (accessible during parsing)

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate Xml.swift into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
target '<Your Target Name>' do
    pod 'Xml.swift', '~> 1.0'
end

Then, run the following command:

$ pod install

Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler. It is in early development, but Xml.swift does support its use on supported platforms.

Once you have your Swift package set up, adding Xml.swift as a dependency is as easy as adding it to the dependencies value of your Package.swift.

dependencies: [
    .Package(url: "https://github.com/BiAtoms/Xml.swift.git", majorVersion: 1)
]

Manually

Just drag and drop the files in the Sources folder.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License – see the LICENSE file for details

Latest podspec

{
    "name": "Xml.swift",
    "version": "1.1.0",
    "summary": "An XMLParser wrapper for swift.",
    "homepage": "https://github.com/BiAtoms/Xml.swift",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Orkhan Alikhanov": "orkhan[email protected]"
    },
    "source": {
        "git": "https://github.com/BiAtoms/Xml.swift.git",
        "tag": "1.1.0"
    },
    "module_name": "XmlSwift",
    "platforms": {
        "ios": "8.0",
        "osx": "10.9",
        "tvos": "9.0"
    },
    "source_files": "Sources/*.swift"
}

Pin It on Pinterest

Share This