-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[Feat] #437 - 마이페이지 알림뷰 서버연결
- Loading branch information
Showing
8 changed files
with
197 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
Spark-iOS/Spark-iOS/Source/NetworkModels/Notice/NoticeSetting.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// | ||
// NoticeSetting.swift | ||
// Spark-iOS | ||
// | ||
// Created by kimhyungyu on 2022/03/28. | ||
// | ||
|
||
import Foundation | ||
|
||
// MARK: - NoticeSetting | ||
|
||
struct NoticeSetting: Codable { | ||
let roomStart: Bool | ||
let spark: Bool | ||
let consider: Bool | ||
let certification: Bool | ||
let remind: Bool | ||
|
||
enum CodingKeys: String, CodingKey { | ||
case roomStart, spark, consider, certification, remind | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
Spark-iOS/Spark-iOS/Source/Protocols/NotificationCellDelegate.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// NotificationCellDelegate.swift | ||
// Spark-iOS | ||
// | ||
// Created by kimhyungyu on 2022/03/28. | ||
// | ||
|
||
import Foundation | ||
|
||
protocol notificationCellDelegate: AnyObject { | ||
func notificationSwitchToggle(category: String) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters