diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..7eecad0 --- /dev/null +++ b/Package.swift @@ -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 + ] +) diff --git a/SwiftyAttributes/Sources/common/Attribute+Sequence.swift b/SwiftyAttributes/Sources/common/Attribute+Sequence.swift index 1c9830e..b0bf2a5 100644 --- a/SwiftyAttributes/Sources/common/Attribute+Sequence.swift +++ b/SwiftyAttributes/Sources/common/Attribute+Sequence.swift @@ -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. */