Update to the latest Swift
Seto Elkahfi committed
Mar 18, 2023 at 21:54 UTC
2a0289a374c4dc477b9232e6f65dbda5a83bbf3c
7 files changed
+80
-80
Example/Podfile.lock
+2
-2
@@ -1,5 +1,5 @@
1
PODS:
2
- - JomloTableView (0.2.1)
2
+ - JomloTableView (1.0.0)
3
- TwitterCore (3.2.0)
4
- TwitterKit (3.4.2):
5
- TwitterCore (>= 3.2.0)
@@ -18,7 +18,7 @@ EXTERNAL SOURCES:
18
:path: "../"
19
20
SPEC CHECKSUMS:
21
- JomloTableView: d5eeee6b5ecb18ad7ea865fffce303edb038a579
21
+ JomloTableView: 2b528d159c136bb0947bee3da2624505a757b3b3
22
TwitterCore: 8cbc9ad34d91c63a0035ea05bfbfc0d7ca72a28c
23
TwitterKit: 5e4f41d70b9abdb41df5467f52d7aa2c0fd26ebb
24
Example/Pods/Local Podspecs/JomloTableView.podspec.json
+4
-4
@@ -1,7 +1,7 @@
1
{
2
"name": "JomloTableView",
3
- "version": "0.2.1",
4
- "swift_versions": "4.1",
3
+ "version": "1.0.0",
4
+ "swift_versions": "5.0",
5
"summary": "A UITableView with detachable section and row.",
6
"description": "JomloTableView uses detachable section and row. You can add multiple section individually and add rows to each section. See example project for how to use this library.",
7
"homepage": "https://github.com/setoelkahfi/JomloTableView",
@@ -14,12 +14,12 @@
14
},
15
"source": {
16
"git": "https://github.com/setoelkahfi/JomloTableView.git",
17
- "tag": "0.2.1"
17
+ "tag": "1.0.0"
18
},
19
"social_media_url": "https://twitter.com/setoelkahfi",
20
"platforms": {
21
"ios": "11.0"
22
},
23
"source_files": "JomloTableView/Classes/**/*",
24
- "swift_version": "4.1"
24
+ "swift_version": "5.0"
25
}
Example/Pods/Manifest.lock
+2
-2
@@ -1,5 +1,5 @@
1
PODS:
2
- - JomloTableView (0.2.1)
2
+ - JomloTableView (1.0.0)
3
- TwitterCore (3.2.0)
4
- TwitterKit (3.4.2):
5
- TwitterCore (>= 3.2.0)
@@ -18,7 +18,7 @@ EXTERNAL SOURCES:
18
:path: "../"
19
20
SPEC CHECKSUMS:
21
- JomloTableView: d5eeee6b5ecb18ad7ea865fffce303edb038a579
21
+ JomloTableView: 2b528d159c136bb0947bee3da2624505a757b3b3
22
TwitterCore: 8cbc9ad34d91c63a0035ea05bfbfc0d7ca72a28c
23
TwitterKit: 5e4f41d70b9abdb41df5467f52d7aa2c0fd26ebb
24
Example/Pods/Pods.xcodeproj/project.pbxproj
+67
-67
@@ -650,6 +650,71 @@
650
};
651
name = Debug;
652
};
653
+ 81F21FB60705F708F3EE88568E557F11 /* Debug */ = {
654
+ isa = XCBuildConfiguration;
655
+ baseConfigurationReference = C8ABB30CFED1254D8F568DAF79815BBC /* JomloTableView.debug.xcconfig */;
656
+ buildSettings = {
657
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
658
+ CLANG_ENABLE_OBJC_WEAK = NO;
659
+ "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
660
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
661
+ "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
662
+ CURRENT_PROJECT_VERSION = 1;
663
+ DEFINES_MODULE = YES;
664
+ DYLIB_COMPATIBILITY_VERSION = 1;
665
+ DYLIB_CURRENT_VERSION = 1;
666
+ DYLIB_INSTALL_NAME_BASE = "@rpath";
667
+ GCC_PREFIX_HEADER = "Target Support Files/JomloTableView/JomloTableView-prefix.pch";
668
+ INFOPLIST_FILE = "Target Support Files/JomloTableView/JomloTableView-Info.plist";
669
+ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
670
+ IPHONEOS_DEPLOYMENT_TARGET = 11.0;
671
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
672
+ MODULEMAP_FILE = "Target Support Files/JomloTableView/JomloTableView.modulemap";
673
+ PRODUCT_MODULE_NAME = JomloTableView;
674
+ PRODUCT_NAME = JomloTableView;
675
+ SDKROOT = iphoneos;
676
+ SKIP_INSTALL = YES;
677
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
678
+ SWIFT_VERSION = 5.0;
679
+ TARGETED_DEVICE_FAMILY = "1,2";
680
+ VERSIONING_SYSTEM = "apple-generic";
681
+ VERSION_INFO_PREFIX = "";
682
+ };
683
+ name = Debug;
684
+ };
685
+ 8CA4C84EEF9EFE8E339F76A51F1E2010 /* Release */ = {
686
+ isa = XCBuildConfiguration;
687
+ baseConfigurationReference = 3843388A2354AE61B38B3CCF674C2887 /* JomloTableView.release.xcconfig */;
688
+ buildSettings = {
689
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
690
+ CLANG_ENABLE_OBJC_WEAK = NO;
691
+ "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
692
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
693
+ "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
694
+ CURRENT_PROJECT_VERSION = 1;
695
+ DEFINES_MODULE = YES;
696
+ DYLIB_COMPATIBILITY_VERSION = 1;
697
+ DYLIB_CURRENT_VERSION = 1;
698
+ DYLIB_INSTALL_NAME_BASE = "@rpath";
699
+ GCC_PREFIX_HEADER = "Target Support Files/JomloTableView/JomloTableView-prefix.pch";
700
+ INFOPLIST_FILE = "Target Support Files/JomloTableView/JomloTableView-Info.plist";
701
+ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
702
+ IPHONEOS_DEPLOYMENT_TARGET = 11.0;
703
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
704
+ MODULEMAP_FILE = "Target Support Files/JomloTableView/JomloTableView.modulemap";
705
+ PRODUCT_MODULE_NAME = JomloTableView;
706
+ PRODUCT_NAME = JomloTableView;
707
+ SDKROOT = iphoneos;
708
+ SKIP_INSTALL = YES;
709
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
710
+ SWIFT_VERSION = 5.0;
711
+ TARGETED_DEVICE_FAMILY = "1,2";
712
+ VALIDATE_PRODUCT = YES;
713
+ VERSIONING_SYSTEM = "apple-generic";
714
+ VERSION_INFO_PREFIX = "";
715
+ };
716
+ name = Release;
717
+ };
718
903A0004D3E6651EFD5D2E16214D101B /* Release */ = {
719
isa = XCBuildConfiguration;
720
buildSettings = {
@@ -712,38 +777,6 @@
777
};
778
name = Release;
779
};
715
- A8791617F28CE436BB71EB8A91C0F5B7 /* Debug */ = {
716
- isa = XCBuildConfiguration;
717
- baseConfigurationReference = C8ABB30CFED1254D8F568DAF79815BBC /* JomloTableView.debug.xcconfig */;
718
- buildSettings = {
719
- ARCHS = "$(ARCHS_STANDARD_64_BIT)";
720
- CLANG_ENABLE_OBJC_WEAK = NO;
721
- "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
722
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
723
- "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
724
- CURRENT_PROJECT_VERSION = 1;
725
- DEFINES_MODULE = YES;
726
- DYLIB_COMPATIBILITY_VERSION = 1;
727
- DYLIB_CURRENT_VERSION = 1;
728
- DYLIB_INSTALL_NAME_BASE = "@rpath";
729
- GCC_PREFIX_HEADER = "Target Support Files/JomloTableView/JomloTableView-prefix.pch";
730
- INFOPLIST_FILE = "Target Support Files/JomloTableView/JomloTableView-Info.plist";
731
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
732
- IPHONEOS_DEPLOYMENT_TARGET = 11.0;
733
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
734
- MODULEMAP_FILE = "Target Support Files/JomloTableView/JomloTableView.modulemap";
735
- PRODUCT_MODULE_NAME = JomloTableView;
736
- PRODUCT_NAME = JomloTableView;
737
- SDKROOT = iphoneos;
738
- SKIP_INSTALL = YES;
739
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
740
- SWIFT_VERSION = 4.1;
741
- TARGETED_DEVICE_FAMILY = "1,2";
742
- VERSIONING_SYSTEM = "apple-generic";
743
- VERSION_INFO_PREFIX = "";
744
- };
745
- name = Debug;
746
- };
780
AAFD26989A004F2A3BFC965A86A2283B /* Release */ = {
781
isa = XCBuildConfiguration;
782
baseConfigurationReference = AB085446665F2AAFB3EABFA28DA69407 /* TwitterKit.release.xcconfig */;
@@ -874,39 +907,6 @@
907
};
908
name = Debug;
909
};
877
- BBC2E1315D622CFB598FCB3343A80C50 /* Release */ = {
878
- isa = XCBuildConfiguration;
879
- baseConfigurationReference = 3843388A2354AE61B38B3CCF674C2887 /* JomloTableView.release.xcconfig */;
880
- buildSettings = {
881
- ARCHS = "$(ARCHS_STANDARD_64_BIT)";
882
- CLANG_ENABLE_OBJC_WEAK = NO;
883
- "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
884
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
885
- "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
886
- CURRENT_PROJECT_VERSION = 1;
887
- DEFINES_MODULE = YES;
888
- DYLIB_COMPATIBILITY_VERSION = 1;
889
- DYLIB_CURRENT_VERSION = 1;
890
- DYLIB_INSTALL_NAME_BASE = "@rpath";
891
- GCC_PREFIX_HEADER = "Target Support Files/JomloTableView/JomloTableView-prefix.pch";
892
- INFOPLIST_FILE = "Target Support Files/JomloTableView/JomloTableView-Info.plist";
893
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
894
- IPHONEOS_DEPLOYMENT_TARGET = 11.0;
895
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
896
- MODULEMAP_FILE = "Target Support Files/JomloTableView/JomloTableView.modulemap";
897
- PRODUCT_MODULE_NAME = JomloTableView;
898
- PRODUCT_NAME = JomloTableView;
899
- SDKROOT = iphoneos;
900
- SKIP_INSTALL = YES;
901
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
902
- SWIFT_VERSION = 4.1;
903
- TARGETED_DEVICE_FAMILY = "1,2";
904
- VALIDATE_PRODUCT = YES;
905
- VERSIONING_SYSTEM = "apple-generic";
906
- VERSION_INFO_PREFIX = "";
907
- };
908
- name = Release;
909
- };
910
D0AE5BC4229FB92C9854FC369B704A6F /* Debug */ = {
911
isa = XCBuildConfiguration;
912
baseConfigurationReference = 35077355555B9D80D594AC0F034EEDFF /* TwitterCore.debug.xcconfig */;
@@ -971,8 +971,8 @@
971
1AFCB79406BAA0784AC1C8E0ED39A01C /* Build configuration list for PBXNativeTarget "JomloTableView" */ = {
972
isa = XCConfigurationList;
973
buildConfigurations = (
974
- A8791617F28CE436BB71EB8A91C0F5B7 /* Debug */,
975
- BBC2E1315D622CFB598FCB3343A80C50 /* Release */,
974
+ 81F21FB60705F708F3EE88568E557F11 /* Debug */,
975
+ 8CA4C84EEF9EFE8E339F76A51F1E2010 /* Release */,
976
);
977
defaultConfigurationIsVisible = 0;
978
defaultConfigurationName = Release;
Example/Pods/Target Support Files/JomloTableView/JomloTableView-Info.plist
+1
-1
@@ -15,7 +15,7 @@
15
<key>CFBundlePackageType</key>
16
<string>FMWK</string>
17
<key>CFBundleShortVersionString</key>
18
- <string>0.2.1</string>
18
+ <string>1.0.0</string>
19
<key>CFBundleSignature</key>
20
<string>????</string>
21
<key>CFBundleVersion</key>
JomloTableView.podspec
+1
-1
@@ -9,7 +9,7 @@
9
Pod::Spec.new do |s|
10
s.name = 'JomloTableView'
11
s.version = '1.0.0'
12
- s.swift_version = '4.1'
12
+ s.swift_version = '5.7.3'
13
s.summary = 'A UITableView with detachable section and row.'
14
15
# This description is used to generate tags and improve search results.
JomloTableView/Classes/JomloTableViewRow.swift
+3
-3
@@ -35,7 +35,7 @@ open class JomloTableViewRow: NSObject {
35
return 0
36
}
37
38
- open func setOnRowClicked(_ callback: @escaping (JomloTableViewRow) -> Void){
38
+ open func setOnRowClicked(_ callback: @escaping (JomloTableViewRow) -> Void) {
39
self.callback = callback
40
}
41
@@ -45,8 +45,8 @@ open class JomloTableViewRow: NSObject {
45
fatalError("Must be overrided")
46
}
47
48
- open func willDisplay(cell: UITableViewCell){
49
- cell.separatorInset = UIEdgeInsetsMake(0, 6, 0, 6)
48
+ open func willDisplay(cell: UITableViewCell) {
49
+ cell.separatorInset = UIEdgeInsets(top: 0, left: 6, bottom: 0, right: 6)
50
}
51
52
// Call the callback