diff --git a/.gitignore b/.gitignore index 1497842..7deba5a 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ doxygenWarnings.txt *.xccheckout DerivedData/ +.swiftpm/ \ No newline at end of file diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..e1399ca --- /dev/null +++ b/Package.swift @@ -0,0 +1,24 @@ +// swift-tools-version:5.3 + +import PackageDescription + +let package = Package( + name: "Toaster", + products: [ + .library( + name: "Toaster", + targets: ["Toaster"] + ), + ], + targets: [ + .target( + name: "Toaster", + path: "Sources" + ), + .testTarget( + name: "ToasterTests", + dependencies: ["Toaster"], + path: "ToasterTests" + ), + ] +) diff --git a/Sources/UIApplication+Load.swift b/Sources/UIApplication+Load.swift index cc62c13..e129b69 100644 --- a/Sources/UIApplication+Load.swift +++ b/Sources/UIApplication+Load.swift @@ -6,7 +6,7 @@ // Copyright © 2019 Suyeol Jeon. All rights reserved. // -import Foundation +import UIKit extension UIApplication {