Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DELETE] #227 - 안 쓰이는 파일들 삭제 #228

Merged
merged 2 commits into from
Nov 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/smeemDev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
- name: Create Debug.xcconfig
run: echo "${{ secrets.DEBUG_CONFIG }}" > ./Smeem-iOS/Debug.xcconfig
- name: Build
run: xcodebuild build -project Smeem-iOS/Smeem-iOS.xcodeproj -scheme Smeem-Dev -destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=17.2'
run: xcodebuild build -project Smeem-iOS/Smeem-iOS.xcodeproj -scheme Smeem-Dev -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.2'
224 changes: 36 additions & 188 deletions Smeem-iOS/Smeem-iOS.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

This file was deleted.

15 changes: 0 additions & 15 deletions Smeem-iOS/Smeem-iOS/Global/Protocols/NextButtonDelegate.swift

This file was deleted.

This file was deleted.

33 changes: 0 additions & 33 deletions Smeem-iOS/Smeem-iOS/Global/Utilities/Observable.swift

This file was deleted.

20 changes: 0 additions & 20 deletions Smeem-iOS/Smeem-iOS/Network/API/MyPage/MyPageAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,6 @@ final class MyPageAPI {
static let shared = MyPageAPI()
private let myPageProvider = MoyaProvider<MyPageService>(plugins: [MoyaLoggingPlugin()])

func myPageInfo(completion: @escaping (Result<MyPageResponse, SmeemError>) -> ()) {
myPageProvider.request(.myPageInfo) { result in
switch result {
case .success(let response):
do {
try NetworkManager.statusCodeErrorHandling(statusCode: response.statusCode)
guard let data = try? response.map(GeneralResponse<MyPageResponse>.self).data else {
throw SmeemError.clientError
}
completion(.success(data))
} catch {
guard let error = error as? SmeemError else { return }
completion(.failure(error))
}
case .failure(_):
completion(.failure(.userError))
}
}
}

func changeMyNickName(request: EditNicknameRequest,
completion: @escaping (Result<ServiceAcceptResponse, SmeemError>) -> ()) {
myPageProvider.request(.editNickname(param: request)) { result in
Expand Down
Loading