Skip to content

Commit

Permalink
Merge pull request #228 from Team-Smeme/feat/#227-smeemKit
Browse files Browse the repository at this point in the history
[DELETE] #227 - 안 쓰이는 파일들 삭제
  • Loading branch information
cchanmi authored Nov 23, 2024
2 parents e81508b + a491651 commit d5e34c3
Show file tree
Hide file tree
Showing 49 changed files with 63 additions and 1,708 deletions.
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

0 comments on commit d5e34c3

Please sign in to comment.