Skip to content

Commit 4c8a138

Browse files
committed
- Changed demo app logo
- Moving towards Swift 6 by adopting any
1 parent e044f90 commit 4c8a138

21 files changed

Lines changed: 129 additions & 62 deletions
-520 KB
Binary file not shown.

Demo/Resources/Images.xcassets/AppIcon.appiconset/Contents.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"images" : [
33
{
4-
"filename" : "AppIcon.png",
4+
"filename" : "logo_blue.jpeg",
55
"idiom" : "universal",
66
"platform" : "ios",
77
"size" : "1024x1024"
51.9 KB
Loading
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "logo_blue.jpeg",
5+
"idiom" : "universal"
6+
}
7+
],
8+
"info" : {
9+
"author" : "xcode",
10+
"version" : 1
11+
}
12+
}
51.9 KB
Loading
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "logo_brown.jpeg",
5+
"idiom" : "universal"
6+
}
7+
],
8+
"info" : {
9+
"author" : "xcode",
10+
"version" : 1
11+
}
12+
}
43.9 KB
Loading

Demo/Swift_Demo/Storyboard/Base.lproj/Launch.storyboard

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="SLD-W0-iHs">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="22505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="SLD-W0-iHs">
33
<device id="retina5_9" orientation="portrait" appearance="light"/>
44
<dependencies>
55
<deployment version="4864" identifier="iOS"/>
6-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22684"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22504"/>
77
<capability name="Named colors" minToolsVersion="9.0"/>
88
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
99
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
@@ -20,7 +20,7 @@
2020
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="IQKeyboardManager
Swift" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8Gp-lr-M5c">
2121
<rect key="frame" x="67.333333333333329" y="376" width="240.33333333333337" height="60"/>
2222
<fontDescription key="fontDescription" type="boldSystem" pointSize="25"/>
23-
<color key="textColor" name="535353"/>
23+
<color key="textColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
2424
<nil key="highlightedColor"/>
2525
</label>
2626
</subviews>
@@ -38,9 +38,6 @@
3838
</scene>
3939
</scenes>
4040
<resources>
41-
<namedColor name="535353">
42-
<color red="0.32549019607843138" green="0.32549019607843138" blue="0.32549019607843138" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
43-
</namedColor>
4441
<namedColor name="EBEDF0">
4542
<color red="0.92156862745098034" green="0.92941176470588238" blue="0.94117647058823528" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
4643
</namedColor>

IQKeyboardManagerSwift.podspec.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
"ios": "13.0"
1717
},
1818
"swift_versions": [
19-
"5.5",
2019
"5.6",
2120
"5.7",
2221
"5.8",
23-
"5.9"
22+
"5.9",
23+
"6.0"
2424
],
2525
"source_files": "IQKeyboardManagerSwift/**/*.{swift}",
2626
"resource_bundles": {"IQKeyboardManagerSwift": "IQKeyboardManagerSwift/PrivacyInfo.xcprivacy"},

IQKeyboardManagerSwift/IQKeyboardManager/IQKeyboardManager+Toolbar.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public extension IQKeyboardManager {
176176
}
177177

178178
// Setting toolbar to keyboard.
179-
if let textFieldView: UITextInput = textField as? UITextInput {
179+
if let textFieldView: any UITextInput = textField as? (any UITextInput) {
180180

181181
// Bar style according to keyboard appearance
182182
switch textFieldView.keyboardAppearance {

0 commit comments

Comments
 (0)