Skip to content

Commit 3bc1e9b

Browse files
committed
xcode 9.3
1 parent cd64106 commit 3bc1e9b

File tree

12 files changed

+26
-15
lines changed

12 files changed

+26
-15
lines changed

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0
1+
4.1

.swiftlint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ disabled_rules: # rule identifiers to exclude from running
44
- variable_name_min_length
55
- cyclomatic_complexity
66
- class_delegate_protocol
7+
- multiple_closures_with_trailing_closure
78
included: # paths to include during linting. `--path` is ignored if present. takes precendence over `excluded`.
89
excluded: # paths to ignore during linting. overridden by `included`.
910
- Carthage

Example/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.6</string>
18+
<string>2.7</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>17</string>
22+
<string>18</string>
2323
<key>LSRequiresIPhoneOS</key>
2424
<true/>
2525
<key>UILaunchStoryboardName</key>

TBEmptyDataSet.podspec

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

33
s.name = "TBEmptyDataSet"
4-
s.version = "2.6"
4+
s.version = "2.7"
55
s.summary = "An extension of UITableView/UICollectionView's super class, it will display a placeholder when the data is empty."
66

77
s.homepage = "https://github.com/teambition/TBEmptyDataSet"

TBEmptyDataSet.xcodeproj/project.pbxproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
D33C7C5E1C44DBED00E1687A /* Project object */ = {
111111
isa = PBXProject;
112112
attributes = {
113-
LastUpgradeCheck = 0900;
113+
LastUpgradeCheck = 0930;
114114
ORGANIZATIONNAME = Teambition;
115115
TargetAttributes = {
116116
D33C7C661C44DBED00E1687A = {
@@ -174,12 +174,14 @@
174174
CLANG_WARN_BOOL_CONVERSION = YES;
175175
CLANG_WARN_COMMA = YES;
176176
CLANG_WARN_CONSTANT_CONVERSION = YES;
177+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
177178
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
178179
CLANG_WARN_EMPTY_BODY = YES;
179180
CLANG_WARN_ENUM_CONVERSION = YES;
180181
CLANG_WARN_INFINITE_RECURSION = YES;
181182
CLANG_WARN_INT_CONVERSION = YES;
182183
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
184+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
183185
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
184186
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
185187
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -230,12 +232,14 @@
230232
CLANG_WARN_BOOL_CONVERSION = YES;
231233
CLANG_WARN_COMMA = YES;
232234
CLANG_WARN_CONSTANT_CONVERSION = YES;
235+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
233236
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
234237
CLANG_WARN_EMPTY_BODY = YES;
235238
CLANG_WARN_ENUM_CONVERSION = YES;
236239
CLANG_WARN_INFINITE_RECURSION = YES;
237240
CLANG_WARN_INT_CONVERSION = YES;
238241
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
242+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
239243
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
240244
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
241245
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;

TBEmptyDataSet.xcodeproj/xcshareddata/xcschemes/TBEmptyDataSet.xcscheme

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0900"
3+
LastUpgradeVersion = "0930"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -26,7 +26,6 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
language = ""
3029
shouldUseLaunchSchemeArgsEnv = "YES">
3130
<Testables>
3231
</Testables>
@@ -37,7 +36,6 @@
3736
buildConfiguration = "Debug"
3837
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
3938
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
40-
language = ""
4139
launchStyle = "0"
4240
useCustomWorkingDirectory = "NO"
4341
ignoresPersistentStateOnLaunch = "NO"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

TBEmptyDataSet/EmptyDataView.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ internal class EmptyDataView: UIView {
121121
}
122122

123123
// MARK: - Actions
124-
// swiftlint:disable function_body_length
125124
internal func setConstraints() {
126125
let centerX = NSLayoutConstraint(item: contentView, attribute: .centerX, relatedBy: .equal, toItem: self, attribute: .centerX, multiplier: 1, constant: 0)
127126
let centerY = NSLayoutConstraint(item: contentView, attribute: .centerY, relatedBy: .equal, toItem: self, attribute: .centerY, multiplier: 1, constant: verticalOffset)

TBEmptyDataSet/Supporting Files/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.6</string>
18+
<string>2.7</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

TBEmptyDataSet/TBEmptyDataSet.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ extension UIScrollView {
182182
}
183183

184184
// MARK: - Display
185-
// swiftlint:disable function_body_length
186185
fileprivate func reloadEmptyDataSet() {
187186
guard emptyDataSetAvailable() else {
188187
return

0 commit comments

Comments
 (0)