Skip to content

Conversation

@binisnil
Copy link
Collaborator

@binisnil binisnil commented Aug 8, 2024

💡PR POINT

  • 디자인 시스템 아이콘 및 이미지 추가
    • 추가한 이미지는 모두 리터럴화 해두었습니다
  • Color Asset추가
  • 기본 Extension 일부 추가
    • Adjusted extension
    • UIView의 addSubViews extension
  • 폰트 시스템 추가
    • 기존과 다르게 폰트들을 UIFont 클래스의 클래스변수로 생성했습니다
  • 네트워크 기초세팅
  • 와블 버튼 컴포넌트 생성(WableButton)
  • 서드파티 라이브러리 추가
  • ExampleView, ViewController추가
  • UITabBarController 세팅

WableButton

아래의 디자인시스템 버튼을 구현했습니다
image
image

주의사항

위의 사진에 있는 모든 status를 표현할 수 있는 버튼을 만든 것이 아닙니다!
뷰를 확인한 뒤, 활성화/비활성화 두개의 상태를 가지는 버튼을 취급하였습니다

WableButton 사용법

[init 파라미터 설명]
WableButton은 두개의 파라미터를 필요로 합니다

  • 열거형 타입의 ButtonStatus
  • String타입의 title

[WableButton의 Status]

  • large
  • medium
  • small
  • checkName

@binisnil binisnil requested a review from boogios August 8, 2024 16:50
@binisnil binisnil self-assigned this Aug 8, 2024
Copy link
Member

@boogios boogios left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3
세팅 너무 고생많으셨습니다~!! 와블 버튼이랑 모야 통신 코드 짱이네요!!!! 잘 활용해서 써보겠습니다 :)

private var title: String
override var isEnabled: Bool {
didSet {
setButtonState(as: isEnabled)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3
didSet 사용해서 버튼 상태 변화 관리하는거 좋네요~!!

self.setTitle(self.title, for: .normal)

switch type {
case .nameCheck:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3
이렇게 한번에 관리할 수 있군요!! 좋습니다!!!

}
}

private func setButtonState(as isEnabled: Bool) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3
좋은 코드 감사합니다!!! 잘 활용해보겠습니다 :) 짱짱

}


public func disposeNetwork<T: Codable>(_ result: Result<Response, MoyaError>,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3
모야 통신 코드 확인했습니다!!! API 명세서 나오면 같이 더 디벨롭해봅시다~!!

@boogios boogios added ⚙️ setting 프로젝트 관련 설정 변경 시 사용 🍪윤빈 labels Aug 11, 2024
@binisnil binisnil merged commit 352b12d into develop Aug 11, 2024
@youz2me youz2me deleted the setting/#1 branch February 28, 2025 13:58
youz2me pushed a commit that referenced this pull request Oct 26, 2025
Setting [#1] 와블 초기세팅
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚙️ setting 프로젝트 관련 설정 변경 시 사용 🍪윤빈

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants