Skip to content

Commit

Permalink
feat: add SwiftPM support
Browse files Browse the repository at this point in the history
  • Loading branch information
francesc-o authored and michaeltyson committed Feb 16, 2020
1 parent f44c40b commit 86462c5
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// swift-tools-version:4.2
import PackageDescription

let package = Package(
name: "TPKeyboardAvoiding",
products: [
.library(name: "TPKeyboardAvoiding", targets: ["TPKeyboardAvoiding"])
],
targets: [
.target(
name: "TPKeyboardAvoiding",
path: "TPKeyboardAvoiding"
)
]
)
3 changes: 3 additions & 0 deletions TPKeyboardAvoiding/include/module.modulemap
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module TPKeyboardAvoiding {
export *
}
9 changes: 9 additions & 0 deletions TPKeyboardAvoidingSample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,18 @@
4C9B0AE11B3CF35400090084 /* TPKeyboardAvoidingTableView.m */,
4C9B0AE21B3CF35400090084 /* UIScrollView+TPKeyboardAvoidingAdditions.h */,
4C9B0AE31B3CF35400090084 /* UIScrollView+TPKeyboardAvoidingAdditions.m */,
E402EFF123F59482009429E7 /* include */,
);
path = TPKeyboardAvoiding;
sourceTree = "<group>";
};
E402EFF123F59482009429E7 /* include */ = {
isa = PBXGroup;
children = (
);
path = include;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
Expand Down Expand Up @@ -222,6 +230,7 @@
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
Base,
);
Expand Down

0 comments on commit 86462c5

Please sign in to comment.