Skip to content

Commit

Permalink
[lint] lint 수정 및 준수
Browse files Browse the repository at this point in the history
  • Loading branch information
solbat committed Dec 13, 2022
1 parent 9b6acfe commit b894891
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions SpaceCapsule/.swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,4 @@ identifier_name:
- x
- y
- kr
- to
6 changes: 5 additions & 1 deletion SpaceCapsule/SpaceCapsule/App/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
}

extension AppDelegate: UNUserNotificationCenterDelegate {
func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
func userNotificationCenter(
_ center: UNUserNotificationCenter,
willPresent notification: UNNotification,
withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void
) {
completionHandler([.banner, .badge, .sound])
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ extension CapsuleCellNeedable {
return nil
}

let capsuleCellItem = ListCapsuleCellItem (
let capsuleCellItem = ListCapsuleCellItem(
uuid: capsule.uuid,
thumbnailImageURL: capsule.images.first,
address: capsule.simpleAddress,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class StatusLabel: ThemeLabel {
let attrs2 = [NSAttributedString.Key.foregroundColor: UIColor.themeGray300]

let nicknameText = NSMutableAttributedString(string: nickname, attributes: attrs1 as [NSAttributedString.Key: Any])
let explanationText = NSMutableAttributedString(string: "님이 생성한 공간캡슐 ", attributes: attrs2 as [NSAttributedString.Key : Any])
let explanationText = NSMutableAttributedString(string: "님이 생성한 공간캡슐 ", attributes: attrs2 as [NSAttributedString.Key: Any])
let capsuleCount = NSMutableAttributedString(string: capsuleCounts, attributes: attrs1 as [NSAttributedString.Key: Any])
let explanationText2 = NSMutableAttributedString(string: "", attributes: attrs2 as [NSAttributedString.Key: Any])

Expand Down
1 change: 0 additions & 1 deletion SpaceCapsule/SpaceCapsule/Extensions/UIImage+.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,3 @@ extension UIImage {
static let locationFill = UIImage(systemName: "location.fill")
static let refresh = UIImage(systemName: "arrow.clockwise")
}

0 comments on commit b894891

Please sign in to comment.