Skip to content

Commit

Permalink
Merge pull request #228 from nathantannar4/majorBump
Browse files Browse the repository at this point in the history
Prepare 6.0.0 release
  • Loading branch information
Kaspik authored May 5, 2022
2 parents 7b179bd + cabd2cf commit 6098bd7
Show file tree
Hide file tree
Showing 209 changed files with 31,192 additions and 3,621 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Changelog
- Master:
-
- 6.0.0
- *Breaking change*: Drop iOS 12 support
- *Breaking change*: Drop CocoaPods support & RxSwift extension (it was available only via CocoaPods)
- KeyboardManager will not update position of inputAccessoryView from interactive dismiss panGesture when the keyboard is floating
- Update docs
- 5.5.0
- Update SPM tools to Swift 5.5
- Added new optional delegate method for custom attachments size
Expand Down
101 changes: 62 additions & 39 deletions Example/Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objectVersion = 52;
objects = {

/* Begin PBXBuildFile section */
Expand All @@ -15,9 +15,6 @@
383989BD1F564F5C003D30DD /* Random.swift in Sources */ = {isa = PBXBuildFile; fileRef = 383989BC1F564F5C003D30DD /* Random.swift */; };
383B839D1F47897800027965 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 383B839C1F47897800027965 /* AppDelegate.swift */; };
383B83A11F47897800027965 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 383B83A01F47897800027965 /* Assets.xcassets */; };
383B83A41F47897800027965 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 383B83A21F47897800027965 /* LaunchScreen.storyboard */; };
3876DAA41F841AE900C89326 /* InputBarAccessoryView.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3876DAA31F841AE900C89326 /* InputBarAccessoryView.framework */; };
3876DAA51F841AE900C89326 /* InputBarAccessoryView.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3876DAA31F841AE900C89326 /* InputBarAccessoryView.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
388714E9202AC9620064C8BB /* InputBarStyleSelectionController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 388714E8202AC9620064C8BB /* InputBarStyleSelectionController.swift */; };
388714EB202AC9A50064C8BB /* SampleData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 388714EA202AC9A50064C8BB /* SampleData.swift */; };
38C888C6202051B3000F2E2F /* ImageCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38C888C5202051B3000F2E2F /* ImageCell.swift */; };
Expand All @@ -31,6 +28,7 @@
38FCF9D6219F797600A47350 /* READMEPreviewViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38FCF9D5219F797600A47350 /* READMEPreviewViewController.swift */; };
468A8728251C8AC20018D007 /* ButtonAnimationExample.swift in Sources */ = {isa = PBXBuildFile; fileRef = 468A8727251C8AC20018D007 /* ButtonAnimationExample.swift */; };
46E4094E252996D900D238A8 /* SwiftUIExample.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46E4094D252996D900D238A8 /* SwiftUIExample.swift */; };
51D058022823432C008AAC04 /* InputBarAccessoryView in Frameworks */ = {isa = PBXBuildFile; productRef = 51D058012823432C008AAC04 /* InputBarAccessoryView */; };
/* End PBXBuildFile section */

/* Begin PBXCopyFilesBuildPhase section */
Expand All @@ -40,7 +38,6 @@
dstPath = "";
dstSubfolderSpec = 10;
files = (
3876DAA51F841AE900C89326 /* InputBarAccessoryView.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -57,9 +54,7 @@
383B83991F47897800027965 /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
383B839C1F47897800027965 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
383B83A01F47897800027965 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
383B83A31F47897800027965 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
383B83A51F47897800027965 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
3876DAA31F841AE900C89326 /* InputBarAccessoryView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = InputBarAccessoryView.framework; sourceTree = BUILT_PRODUCTS_DIR; };
388714E8202AC9620064C8BB /* InputBarStyleSelectionController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InputBarStyleSelectionController.swift; sourceTree = "<group>"; };
388714EA202AC9A50064C8BB /* SampleData.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SampleData.swift; sourceTree = "<group>"; };
38C888C5202051B3000F2E2F /* ImageCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImageCell.swift; sourceTree = "<group>"; };
Expand All @@ -73,14 +68,15 @@
38FCF9D5219F797600A47350 /* READMEPreviewViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = READMEPreviewViewController.swift; sourceTree = "<group>"; };
468A8727251C8AC20018D007 /* ButtonAnimationExample.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ButtonAnimationExample.swift; sourceTree = "<group>"; };
46E4094D252996D900D238A8 /* SwiftUIExample.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwiftUIExample.swift; sourceTree = "<group>"; };
51D057FF28234307008AAC04 /* InputBarAccessoryView */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = InputBarAccessoryView; path = ..; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
383B83961F47897800027965 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
3876DAA41F841AE900C89326 /* InputBarAccessoryView.framework in Frameworks */,
51D058022823432C008AAC04 /* InputBarAccessoryView in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -90,9 +86,11 @@
383B83901F47897800027965 = {
isa = PBXGroup;
children = (
3876DAA31F841AE900C89326 /* InputBarAccessoryView.framework */,
383B839B1F47897800027965 /* Example */,
51D058002823432C008AAC04 /* Frameworks */,
51D057FE28234307008AAC04 /* Packages */,
383B839A1F47897800027965 /* Products */,
51ED37852823B83B00E96FED /* Resources */,
383B839B1F47897800027965 /* Sources */,
);
sourceTree = "<group>";
};
Expand All @@ -104,7 +102,7 @@
name = Products;
sourceTree = "<group>";
};
383B839B1F47897800027965 /* Example */ = {
383B839B1F47897800027965 /* Sources */ = {
isa = PBXGroup;
children = (
383B839C1F47897800027965 /* AppDelegate.swift */,
Expand All @@ -115,17 +113,14 @@
3821ADDF20F534DA00DE0D1D /* SubviewExampleViewController.swift */,
46E4094D252996D900D238A8 /* SwiftUIExample.swift */,
468A8726251C8AAB0018D007 /* Community Examples */,
38F0C1FC20C89C8700FF8DD3 /* InputBarExamples */,
38F0C1FC20C89C8700FF8DD3 /* InputBar Examples */,
38F0C20920C89D2D00FF8DD3 /* Cells */,
38F0C20A20C89D4100FF8DD3 /* Supporting Files */,
383B83A01F47897800027965 /* Assets.xcassets */,
383B83A21F47897800027965 /* LaunchScreen.storyboard */,
383B83A51F47897800027965 /* Info.plist */,
38F0C20A20C89D4100FF8DD3 /* Sample Data */,
);
path = Example;
path = Sources;
sourceTree = "<group>";
};
38F0C1FC20C89C8700FF8DD3 /* InputBarExamples */ = {
38F0C1FC20C89C8700FF8DD3 /* InputBar Examples */ = {
isa = PBXGroup;
children = (
3821ADE520F5360B00DE0D1D /* InputBarStyle.swift */,
Expand All @@ -135,7 +130,7 @@
38F0C20320C89CB400FF8DD3 /* FacebookInputBar.swift */,
38DAD87C21A685C6001762CD /* NoTextViewInputBar.swift */,
);
path = InputBarExamples;
path = "InputBar Examples";
sourceTree = "<group>";
};
38F0C20920C89D2D00FF8DD3 /* Cells */ = {
Expand All @@ -148,14 +143,14 @@
path = Cells;
sourceTree = "<group>";
};
38F0C20A20C89D4100FF8DD3 /* Supporting Files */ = {
38F0C20A20C89D4100FF8DD3 /* Sample Data */ = {
isa = PBXGroup;
children = (
388714EA202AC9A50064C8BB /* SampleData.swift */,
383989B91F55C600003D30DD /* Lorem.swift */,
383989BC1F564F5C003D30DD /* Random.swift */,
);
path = "Supporting Files";
path = "Sample Data";
sourceTree = "<group>";
};
468A8726251C8AAB0018D007 /* Community Examples */ = {
Expand All @@ -166,6 +161,30 @@
path = "Community Examples";
sourceTree = "<group>";
};
51D057FE28234307008AAC04 /* Packages */ = {
isa = PBXGroup;
children = (
51D057FF28234307008AAC04 /* InputBarAccessoryView */,
);
name = Packages;
sourceTree = "<group>";
};
51D058002823432C008AAC04 /* Frameworks */ = {
isa = PBXGroup;
children = (
);
name = Frameworks;
sourceTree = "<group>";
};
51ED37852823B83B00E96FED /* Resources */ = {
isa = PBXGroup;
children = (
383B83A51F47897800027965 /* Info.plist */,
383B83A01F47897800027965 /* Assets.xcassets */,
);
path = Resources;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand All @@ -183,6 +202,9 @@
dependencies = (
);
name = Example;
packageProductDependencies = (
51D058012823432C008AAC04 /* InputBarAccessoryView */,
);
productName = Example;
productReference = 383B83991F47897800027965 /* Example.app */;
productType = "com.apple.product-type.application";
Expand Down Expand Up @@ -211,7 +233,6 @@
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 383B83901F47897800027965;
productRefGroup = 383B839A1F47897800027965 /* Products */;
Expand All @@ -229,7 +250,6 @@
buildActionMask = 2147483647;
files = (
383B83A11F47897800027965 /* Assets.xcassets in Resources */,
383B83A41F47897800027965 /* LaunchScreen.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -265,17 +285,6 @@
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
383B83A21F47897800027965 /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
383B83A31F47897800027965 /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
383B83A61F47897800027965 /* Debug */ = {
isa = XCBuildConfiguration;
Expand Down Expand Up @@ -387,7 +396,8 @@
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
Expand All @@ -399,8 +409,11 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = JH5XJ55XGZ;
INFOPLIST_FILE = Example/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
INFOPLIST_FILE = Resources/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = me.nathantannar.InputBarAccessoryViewExample;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand All @@ -412,8 +425,11 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = JH5XJ55XGZ;
INFOPLIST_FILE = Example/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
INFOPLIST_FILE = Resources/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = me.nathantannar.InputBarAccessoryViewExample;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand Down Expand Up @@ -442,6 +458,13 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCSwiftPackageProductDependency section */
51D058012823432C008AAC04 /* InputBarAccessoryView */ = {
isa = XCSwiftPackageProductDependency;
productName = InputBarAccessoryView;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 383B83911F47897800027965 /* Project object */;
}
Binary file removed Example/Example/Assets.xcassets/.DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
Expand All @@ -13,12 +15,12 @@
<viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
<viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" misplaced="YES" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="414" height="808"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Copyright © 2017-2020 Nathan Tannar. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eDX-Rw-wBK">
<rect key="frame" x="20" y="424" width="560" height="84"/>
<rect key="frame" x="20" y="648" width="374" height="84"/>
<constraints>
<constraint firstAttribute="height" constant="84" id="GKO-VD-5bB"/>
</constraints>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions GitHubActions/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ MODE="$1"

if [ "$MODE" = "framework" -o "$MODE" = "all" ]; then
echo "Building InputBarAccessoryView Framework."
set -o pipefail && xcodebuild build -project InputBarAccessoryView.xcodeproj -scheme InputBarAccessoryView -destination "platform=iOS Simulator,name=iPhone 11 Pro" CODE_SIGNING_REQUIRED=NO | xcpretty -c
set -o pipefail && xcodebuild build -scheme InputBarAccessoryView -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 11" | xcpretty -c
success="1"
fi

if [ "$MODE" = "example" -o "$MODE" = "all" ]; then
echo "Building InputBarAccessoryView Example app."
set -o pipefail && xcodebuild build analyze -workspace InputBarAccessoryView.xcworkspace -scheme Example -destination "platform=iOS Simulator,name=iPhone 11 Pro" CODE_SIGNING_REQUIRED=NO | xcpretty -c
set -o pipefail && xcodebuild build -project Example/Example.xcodeproj -scheme Example -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 11 Pro" | xcpretty -c
success="1"
fi

Expand Down
45 changes: 0 additions & 45 deletions InputBarAccessoryView.podspec

This file was deleted.

22 changes: 0 additions & 22 deletions InputBarAccessoryView.xcodeproj/LICENSE.md

This file was deleted.

1 change: 0 additions & 1 deletion InputBarAccessoryView.xcodeproj/README.md

This file was deleted.

Loading

0 comments on commit 6098bd7

Please sign in to comment.