-
Notifications
You must be signed in to change notification settings - Fork 15
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] #49 - 설정 뷰 UI 구현
- Loading branch information
Showing
20 changed files
with
704 additions
and
2 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
27 changes: 27 additions & 0 deletions
27
SOPT-Stamp-iOS/Projects/Data/Sources/Repository/SettingRepository.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,27 @@ | ||
// | ||
// SettingRepository.swift | ||
// Presentation | ||
// | ||
// Created by 양수빈 on 2022/12/17. | ||
// Copyright © 2022 SOPT-Stamp-iOS. All rights reserved. | ||
// | ||
|
||
import Combine | ||
|
||
import Core | ||
import Domain | ||
import Network | ||
|
||
public class SettingRepository { | ||
|
||
private let networkService: UserService | ||
private let cancelBag = CancelBag() | ||
|
||
public init(service: UserService) { | ||
self.networkService = service | ||
} | ||
} | ||
|
||
extension SettingRepository: SettingRepositoryInterface { | ||
|
||
} |
19 changes: 19 additions & 0 deletions
19
SOPT-Stamp-iOS/Projects/Data/Sources/Transform/SettingTransform.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,19 @@ | ||
// | ||
// SettingTransform.swift | ||
// Presentation | ||
// | ||
// Created by 양수빈 on 2022/12/17. | ||
// Copyright © 2022 SOPT-Stamp-iOS. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
import Domain | ||
import Network | ||
|
||
extension SettingEntity { | ||
|
||
public func toDomain() -> SettingModel { | ||
return SettingModel.init() | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
SOPT-Stamp-iOS/Projects/Domain/Sources/Model/SettingModel.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,16 @@ | ||
// | ||
// SettingModel.swift | ||
// Presentation | ||
// | ||
// Created by 양수빈 on 2022/12/17. | ||
// Copyright © 2022 SOPT-Stamp-iOS. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public struct SettingModel { | ||
|
||
public init() { | ||
|
||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
SOPT-Stamp-iOS/Projects/Domain/Sources/RepositoryInterface/SettingRepositoryInterface.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,13 @@ | ||
// | ||
// SettingRepositoryInterface.swift | ||
// Presentation | ||
// | ||
// Created by 양수빈 on 2022/12/17. | ||
// Copyright © 2022 SOPT-Stamp-iOS. All rights reserved. | ||
// | ||
|
||
import Combine | ||
|
||
public protocol SettingRepositoryInterface { | ||
|
||
} |
27 changes: 27 additions & 0 deletions
27
SOPT-Stamp-iOS/Projects/Domain/Sources/UseCase/SettingUseCase.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,27 @@ | ||
// | ||
// SettingUseCase.swift | ||
// Presentation | ||
// | ||
// Created by 양수빈 on 2022/12/17. | ||
// Copyright © 2022 SOPT-Stamp-iOS. All rights reserved. | ||
// | ||
|
||
import Combine | ||
|
||
public protocol SettingUseCase { | ||
|
||
} | ||
|
||
public class DefaultSettingUseCase { | ||
|
||
private let repository: SettingRepositoryInterface | ||
private var cancelBag = Set<AnyCancellable>() | ||
|
||
public init(repository: SettingRepositoryInterface) { | ||
self.repository = repository | ||
} | ||
} | ||
|
||
extension DefaultSettingUseCase: SettingUseCase { | ||
|
||
} |
23 changes: 23 additions & 0 deletions
23
...p-iOS/Projects/Modules/DSKit/Resources/Assets.xcassets/icLeftArrow.imageset/Contents.json
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,23 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "icLeftArrow.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "icLeftArrow@2x.png", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "icLeftArrow@3x.png", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Binary file added
BIN
+295 Bytes
...ts/Modules/DSKit/Resources/Assets.xcassets/icLeftArrow.imageset/icLeftArrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+434 Bytes
...Modules/DSKit/Resources/Assets.xcassets/icLeftArrow.imageset/icLeftArrow@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+551 Bytes
...Modules/DSKit/Resources/Assets.xcassets/icLeftArrow.imageset/icLeftArrow@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions
13
SOPT-Stamp-iOS/Projects/Modules/Network/Sources/Entity/SettingEntity.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,13 @@ | ||
// | ||
// SettingEntity.swift | ||
// Presentation | ||
// | ||
// Created by 양수빈 on 2022/12/17. | ||
// Copyright © 2022 SOPT-Stamp-iOS. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public struct SettingEntity { | ||
|
||
} |
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
Oops, something went wrong.