-
Notifications
You must be signed in to change notification settings - Fork 6
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
[Feat] #97 - 스파크 보내기 뷰 구현 및 사진인증 서버 연결 #105
Conversation
사진 인증 서버연결 초기 세팅
# Conflicts: # Spark-iOS/Spark-iOS.xcodeproj/project.pbxproj # Spark-iOS/Spark-iOS/Source/NetworkServices/Room/RoomService.swift
인증사진 서버 연결 완료
스파크 보내기 뷰 UI및 레이아웃
스파크 보내기 뷰 버튼 선택기능 구현
코드로 대기방 확인 화면전환 방식 변경 및 사진인증 코드 수정
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
우왕 최고네요! 룩굳투미!~!
case .enterRoom, .authUpload: | ||
return .post | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
따로 빼주세용~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
임무완료.
@@ -21,6 +21,7 @@ class AuthUploadVC: UIViewController { | |||
// MARK: - Properties | |||
|
|||
var vcType: VCCase = .albumTimer | |||
var roomID: Int = -1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
옵셔널로 설정해주세용~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
옵셔널 선배 소환 완료.
case .requestErr(let message): | ||
print(message) | ||
print("requestErr") | ||
case .pathErr: | ||
print("pathErr") | ||
case .serverErr: | ||
print("serverErr") | ||
case .networkFail: | ||
print("networkFail") | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
print 문 없애주시공 각 에러 메시지 앞에 authUploadWithAPI 붙여주세여~ 헷갈립니당
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
요것도 안헷갈리게 붙이기 완료.
sender.titleLabel?.backgroundColor = .sparkMostLightPinkred | ||
sender.layer.borderColor = UIColor.sparkDarkPinkred.cgColor | ||
selectedMessage = sender.titleLabel?.text ?? "" | ||
print(selectedMessage) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
지워주세용
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이레이즈 완료.
class MyButton: UIButton { | ||
public var statusCV: Int? | ||
public var statusCV: Int = -1 | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
네이밍 다시 해주고 클래스로 따로 빼주세욥!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
네이밍 변경 선배 완료.
class SendSparkVC: UIViewController { | ||
|
||
// MARK: Properties | ||
var selectedIndex: Int = -1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
요거 필요가 없어서 수정부탁들여여!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
지옥으로 보내버리기 완료.
switch status { | ||
case 1: | ||
[firstButton, secondButton, thirdButton, fourthButton].forEach { | ||
if $0.statusCV != 1 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
satusCV 속성도 변경해주세요~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
status로 변경 완료.
코드리뷰 반영
# Conflicts: # Spark-iOS/Spark-iOS.xcodeproj/project.pbxproj # Spark-iOS/Spark-iOS/Source/SceneDelegate.swift
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍고생해써여 코리반영하고 어푸루브해주세여
switch response { | ||
case .success(let data): | ||
if let authUpload = data as? AuthUpload { | ||
print(authUpload) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
지워주세요!
self.uploadButton.isEnabled = true | ||
} | ||
case .requestErr(let message): | ||
print(message) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
요거 requestErr 다음에 출력하게 하면 더 잘보일거에여
사진 데이터 png형식으로 변경
# Conflicts: # Spark-iOS/Spark-iOS.xcodeproj/project.pbxproj # Spark-iOS/Spark-iOS/Source/NetworkServices/Room/RoomService.swift
🌴 PR 요약
🌱 작업한 브랜치
🌱 작업한 내용
📌 참고 사항
📮 관련 이슈