Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPM support #44

Merged
merged 1 commit into from
Mar 20, 2020
Merged
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
22 changes: 22 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// swift-tools-version:5.1

import PackageDescription

let package = Package(
name: "SwiftyAttributes",
platforms: [
.iOS(.v8),
.macOS(.v10_11),
.tvOS(.v9)
],
products: [
.library(name: "SwiftyAttributes", targets: ["SwiftyAttributes"])
],
targets: [
.target(name: "SwiftyAttributes", path: "SwiftyAttributes"),
.testTarget(name: "SwiftyAttributesTests", dependencies: ["SwiftyAttributes"], path: "SwiftyAttributesTests")
],
swiftLanguageVersions: [
.v5
]
)
2 changes: 2 additions & 0 deletions SwiftyAttributes/Sources/common/Attribute+Sequence.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
// Copyright © 2016 Eddie Kaiger. All rights reserved.
//

import Foundation

/**
An extension on dictionaries that allows us to convert a Foundation-based dictionary of attributes to an array of `Attribute`s.
*/
Expand Down