Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
OrkhanAlikhanov committed May 28, 2018
1 parent 5376bf0 commit 54bbb5a
Showing 1 changed file with 25 additions and 4 deletions.
29 changes: 25 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
![Platform Linux](https://img.shields.io/badge/platform-Linux-green.svg)
[![Platform Linux](https://img.shields.io/badge/platform-linux-brightgreen.svg)](#)
[![Platform iOS macOS tvOS](https://img.shields.io/cocoapods/p/Xml.swift.svg?style=flat)](https://github.com/BiAtoms/Xml.swift)
[![Cocoapods Compatible](https://img.shields.io/cocoapods/v/Xml.swift.svg)](https://cocoapods.org/pods/Xml.swift)
[![Carthage Compatible](https://img.shields.io/badge/carthage-compatible-brightgreen.svg?style=flat)](https://github.com/Carthage/Carthage)
[![License](https://img.shields.io/github/license/BiAtoms/Xml.swift.svg)](https://github.com/BiAtoms/Xml.swift/blob/master/LICENSE)

# Xml.swift

Expand Down Expand Up @@ -36,6 +38,25 @@ Then, run the following command:
$ pod install
```

### Carthage

[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with [Homebrew](http://brew.sh/) using the following command:

```bash
$ brew update
$ brew install carthage
```

To integrate Xml.swift into your Xcode project using Carthage, specify it in your `Cartfile`:

```ogdl
github "BiAtoms/Xml.swift" ~> 1.0
```

Run `carthage update` to build the framework and drag the built `XmlSwift.framework` into your Xcode project.

### Swift Package Manager

The [Swift Package Manager](https://swift.org/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.
Expand All @@ -44,12 +65,12 @@ Once you have your Swift package set up, adding Xml.swift as a dependency is as

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

### Manually
Just drag and drop the files in the [Sources](Sources) folder.
Just drag and drop the files in the [Sources](https://github.com/BiAtoms/Xml.swift/blob/master/Sources) folder.

## Authors

Expand All @@ -59,4 +80,4 @@ See also the list of [contributors](https://github.com/BiAtoms/Xml.swift/contrib

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
This project is licensed under the MIT License - see the [LICENSE](https://github.com/BiAtoms/Xml.swift/blob/master/LICENSE) file for details

0 comments on commit 54bbb5a

Please sign in to comment.