Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// swift-tools-version:4.2
import PackageDescription

let package = Package(
name: "XLActionController",
// platforms: [.iOS("9.0")],
products: [
.library(name: "XLActionController", targets: ["XLActionController"])
],
targets: [
.target(
name: "XLActionController",
path: "Source"
)
]
)
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<img src="https://img.shields.io/badge/platform-iOS-blue.svg?style=flat" alt="Platform iOS" />
<a href="https://developer.apple.com/swift"><img src="https://img.shields.io/badge/swift4-compatible-4BC51D.svg?style=flat" alt="Swift 4 compatible" /></a>
<a href="https://github.com/Carthage/Carthage"><img src="https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat" alt="Carthage compatible" /></a>
<a href="https://github.com/JamitLabs/Accio"><img src="https://img.shields.io/badge/Accio-supported-0A7CF5.svg?style=flat" alt="Accio supported" /></a>
<a href="https://cocoapods.org/pods/XLActionController"><img src="https://img.shields.io/cocoapods/v/XLActionController.svg" alt="CocoaPods compatible" /></a>
<a href="https://raw.githubusercontent.com/xmartlabs/XLActionController/master/LICENSE"><img src="http://img.shields.io/badge/license-MIT-blue.svg?style=flat" alt="License: MIT" /></a>
<!-- <a href="https://codebeat.co/projects/github-com-xmartlabs-xlactioncontroller"><img alt="codebeat badge" src="https://codebeat.co/badges/24f48197-136d-44cc-b072-6703644d13b6" /></a> -->
Expand Down Expand Up @@ -446,6 +447,29 @@ Specify XLActionController into your project's Carthage:
github "xmartlabs/XLActionController" ~> 4.1
```

### Accio

[Accio](https://github.com/JamitLabs/Accio) is a SwiftPM based dependency manager with improvements over Carthage.

Add the following to your Package.swift:

```swift
.package(url: "https://github.com/xmartlabs/XLActionController.git", .upToNextMajor(from: "5.0.0")),
```

Next, add `XLActionController` to your App targets dependencies like so:

```swift
.target(
name: "App",
dependencies: [
"XLActionController",
]
),
```

Then run `accio update`.

### Manually as Embedded Framework

Clone XLActionController as a git [submodule](http://git-scm.com/docs/git-submodule) by
Expand Down