diff --git a/Package.swift b/Package.swift new file mode 100644 index 00000000..35ca0e43 --- /dev/null +++ b/Package.swift @@ -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" + ) + ] +) diff --git a/TPKeyboardAvoiding/include/module.modulemap b/TPKeyboardAvoiding/include/module.modulemap new file mode 100644 index 00000000..5cabea29 --- /dev/null +++ b/TPKeyboardAvoiding/include/module.modulemap @@ -0,0 +1,3 @@ +module TPKeyboardAvoiding { + export * +} diff --git a/TPKeyboardAvoidingSample.xcodeproj/project.pbxproj b/TPKeyboardAvoidingSample.xcodeproj/project.pbxproj index 044f357e..799cf2bf 100644 --- a/TPKeyboardAvoidingSample.xcodeproj/project.pbxproj +++ b/TPKeyboardAvoidingSample.xcodeproj/project.pbxproj @@ -143,10 +143,18 @@ 4C9B0AE11B3CF35400090084 /* TPKeyboardAvoidingTableView.m */, 4C9B0AE21B3CF35400090084 /* UIScrollView+TPKeyboardAvoidingAdditions.h */, 4C9B0AE31B3CF35400090084 /* UIScrollView+TPKeyboardAvoidingAdditions.m */, + E402EFF123F59482009429E7 /* include */, ); path = TPKeyboardAvoiding; sourceTree = ""; }; + E402EFF123F59482009429E7 /* include */ = { + isa = PBXGroup; + children = ( + ); + path = include; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ @@ -222,6 +230,7 @@ developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( + English, en, Base, );