Skip to content

Commit

Permalink
[Delete] #214 - 불필요한 코드, 주석 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
joonBaek12 committed Sep 3, 2023
1 parent d515d76 commit dc7acb2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
1 change: 0 additions & 1 deletion pophory-iOS/Network/Common/AsyncMoyaProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import Moya

class AsyncMoyaProvider<Target: TargetType>: MoyaProvider<Target> {
@available(iOS 15.0, *)
func request(_ target: Target) async throws -> Response {
return try await withCheckedThrowingContinuation { continuation in
self.request(target) { result in
Expand Down
24 changes: 0 additions & 24 deletions pophory-iOS/Screen/Auth/Views/IDInputView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,28 +38,4 @@ final class IDInputView: NameInputView {
override func updateCharCountLabel(charCount: Int) {
charCountLabel.text = "(\(charCount)/12)"
}

// override func onValueChangedTextField() {
// guard let text = inputTextField.text else { return }
//
// DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) {
// if text.isValidCharacters() {
// self.inputTextField.layer.borderColor = UIColor.pophoryPurple.cgColor
// self.warningLabel.isHidden = true
//
// if text.count >= 4 && text.count <= 12 {
// self.nextButton.isEnabled = true
// } else {
// self.warningLabel.text = "4-12자 이내로 작성해주세요"
// self.warningLabel.isHidden = false
// self.nextButton.isEnabled = false
// }
// } else {
// self.inputTextField.layer.borderColor = UIColor.pophoryRed.cgColor
// self.warningLabel.text = "올바른 형식의 아이디가 아닙니다"
// self.warningLabel.isHidden = false
// self.nextButton.isEnabled = false
// }
// }
// }
}

0 comments on commit dc7acb2

Please sign in to comment.