Skip to content

Commit c236f7c

Browse files
author
Dilip Parmar
committed
Removed swiftlint warnings
1 parent 5057b13 commit c236f7c

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.swiftlint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ disabled_rules:
44
excluded:
55
- temp_dir
66
- tmp
7+
- CoreDataWrapper_iOSTests
8+
- CoreDataWrapper
9+
- Tests
10+
- Package.swift

CoreDataWrapper.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@
646646
667C93A322E770B500451878 /* Debug */ = {
647647
isa = XCBuildConfiguration;
648648
buildSettings = {
649-
CODE_SIGN_IDENTITY = "Mac Developer";
649+
CODE_SIGN_IDENTITY = "";
650650
CODE_SIGN_STYLE = Automatic;
651651
COMBINE_HIDPI_IMAGES = YES;
652652
DEFINES_MODULE = YES;
@@ -674,7 +674,7 @@
674674
667C93A422E770B500451878 /* Release */ = {
675675
isa = XCBuildConfiguration;
676676
buildSettings = {
677-
CODE_SIGN_IDENTITY = "Mac Developer";
677+
CODE_SIGN_IDENTITY = "";
678678
CODE_SIGN_STYLE = Automatic;
679679
COMBINE_HIDPI_IMAGES = YES;
680680
DEFINES_MODULE = YES;

Sources/CoreDataWrapper/CoreDataWrapper+AsyncOperations.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ extension CoreDataWrapper {
7777
entity?.setValue(value, forKey: key)
7878
}
7979
let saveMain = { (completion: @escaping () -> Void) in
80-
self.saveMainContext(isSync: false, completion: { (Bool) in
80+
self.saveMainContext(isSync: false, completion: { (bool) in
8181
completion()
8282
})
8383
}
8484
let saveBG = { (completion: @escaping () -> Void) in
85-
self.saveBGContext(context: innerContext, isSync: true, completion: { (Bool) in
85+
self.saveBGContext(context: innerContext, isSync: true, completion: { (bool) in
8686
completion()
8787
})
8888
}

0 commit comments

Comments
 (0)