Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jlandon committed Jan 20, 2016
1 parent 0976bef commit a9d6aaf
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,22 @@ pod 'ModelRocket'

Then, run `pod install`.

### Swift Package Manager
The [Swift Package Manager](https://swift.org/package-manager) is a dependency management tool provided by Apple, still in early design and development. For more infomation check out its [GitHub Page](https://github.com/apple/swift-package-manager).

You can use the Swift Package Manager to install `ModelRocket` by adding it as a dependency in your `Package.swift` file:
```swift
import PackageDescription

let package = Package(
name: "PROJECT_NAME",
targets: [],
dependencies: [
.Package(url: "https://github.com/ovenbits/ModelRocket.git", versions: "1.2.3" ..< Version.max)
]
)
```

## Usage

### Creating a custom object
Expand Down Expand Up @@ -344,4 +360,4 @@ let vehicleCopy = vehicle.copy() as! Vehicle

## License

ModelRocket is released under the MIT license. See LICENSE for details.
ModelRocket is released under the MIT license. See LICENSE for details.

0 comments on commit a9d6aaf

Please sign in to comment.