Skip to content

Commit 1c5403e

Browse files
committed
Fixed warnings.
1 parent 92af5ec commit 1c5403e

File tree

4 files changed

+24
-7
lines changed

4 files changed

+24
-7
lines changed

Example Apps/SPDiffable.xcodeproj/project.pbxproj

+21-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 46;
6+
objectVersion = 52;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -13,6 +13,7 @@
1313
F47A41FC24EB22A70054DBB2 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F47A41EC24EB22A70054DBB2 /* Assets.xcassets */; };
1414
F47A41FD24EB22A70054DBB2 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F47A41ED24EB22A70054DBB2 /* LaunchScreen.storyboard */; };
1515
F47A41FF24EB22A70054DBB2 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F47A41EF24EB22A70054DBB2 /* AppDelegate.swift */; };
16+
F4DE1B2C27B681AA00A608F1 /* SPDiffable in Frameworks */ = {isa = PBXBuildFile; productRef = F4DE1B2B27B681AA00A608F1 /* SPDiffable */; };
1617
/* End PBXBuildFile section */
1718

1819
/* Begin PBXCopyFilesBuildPhase section */
@@ -46,6 +47,7 @@
4647
isa = PBXFrameworksBuildPhase;
4748
buildActionMask = 2147483647;
4849
files = (
50+
F4DE1B2C27B681AA00A608F1 /* SPDiffable in Frameworks */,
4951
);
5052
runOnlyForDeploymentPostprocessing = 0;
5153
};
@@ -126,6 +128,7 @@
126128
);
127129
name = "Example iOS";
128130
packageProductDependencies = (
131+
F4DE1B2B27B681AA00A608F1 /* SPDiffable */,
129132
);
130133
productName = Example;
131134
productReference = F47A41CE24EB222C0054DBB2 /* Example iOS.app */;
@@ -258,7 +261,10 @@
258261
GCC_WARN_UNUSED_VARIABLE = YES;
259262
INFOPLIST_FILE = "iOS Example/Info.plist";
260263
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
261-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
264+
LD_RUNPATH_SEARCH_PATHS = (
265+
"$(inherited)",
266+
"@executable_path/Frameworks",
267+
);
262268
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
263269
MTL_FAST_MATH = YES;
264270
PRODUCT_BUNDLE_IDENTIFIER = by.ivanvorobei.opensource.spdiffable;
@@ -321,7 +327,10 @@
321327
GCC_WARN_UNUSED_VARIABLE = YES;
322328
INFOPLIST_FILE = "iOS Example/Info.plist";
323329
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
324-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
330+
LD_RUNPATH_SEARCH_PATHS = (
331+
"$(inherited)",
332+
"@executable_path/Frameworks",
333+
);
325334
MTL_ENABLE_DEBUG_INFO = NO;
326335
MTL_FAST_MATH = YES;
327336
PRODUCT_BUNDLE_IDENTIFIER = by.ivanvorobei.opensource.spdiffable;
@@ -433,7 +442,8 @@
433442
SDKROOT = macosx;
434443
SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator";
435444
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) SWIFT_PACKAGE";
436-
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
445+
SWIFT_COMPILATION_MODE = wholemodule;
446+
SWIFT_OPTIMIZATION_LEVEL = "-O";
437447
USE_HEADERMAP = NO;
438448
};
439449
name = Release;
@@ -460,6 +470,13 @@
460470
defaultConfigurationName = Release;
461471
};
462472
/* End XCConfigurationList section */
473+
474+
/* Begin XCSwiftPackageProductDependency section */
475+
F4DE1B2B27B681AA00A608F1 /* SPDiffable */ = {
476+
isa = XCSwiftPackageProductDependency;
477+
productName = SPDiffable;
478+
};
479+
/* End XCSwiftPackageProductDependency section */
463480
};
464481
rootObject = OBJ_1 /* Project object */;
465482
}

SPDiffable.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = 'SPDiffable'
4-
s.version = '4.0.4'
4+
s.version = '4.0.5'
55
s.summary = 'Extension of Diffable API which allow not duplicate code and use less models. Included example for SideBar.'
66
s.homepage = 'https://github.com/ivanvorobei/SPDiffable'
77
s.source = { :git => 'https://github.com/ivanvorobei/SPDiffable.git', :tag => s.version }

Sources/SPDiffable/Table/DataSource/SPDiffableTableDataSource+UITableViewDelegate.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
import UIKit
2323

24-
@available(iOS 13.0, tvOS 14, *)
24+
@available(iOS 13.0, tvOS 13, *)
2525
extension SPDiffableTableDataSource: UITableViewDelegate {
2626

2727
open func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {

Sources/SPDiffable/Table/SPDiffableTableController.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
import UIKit
2323

24-
@available(iOS 13.0, tvOS 14, *)
24+
@available(iOS 13.0, tvOS 13, *)
2525
open class SPDiffableTableController: UITableViewController {
2626

2727
open var diffableDataSource: SPDiffableTableDataSource?

0 commit comments

Comments
 (0)