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

포킷 추가 및 수정 UI 구성 #54

Merged
merged 9 commits into from
Jul 26, 2024
Merged

Conversation

stealmh
Copy link
Member

@stealmh stealmh commented Jul 26, 2024

#️⃣연관된 이슈

#51

📝작업 내용

  • 포킷 추가 및 수정 화면의 UI작업을 했습니다. 두 화면은 동일하지만 내부적으로 태우는 API나 네비 타이틀과 같은 작은 요소들이 다릅니다.
  • mock image url을 추가했습니다. Util Module의 Constants를 통해 접근 가능합니다.

스크린샷 (선택)

포킷추가 포킷수정(포킷명과 썸네일을 입력받음)

💬리뷰 요구사항(선택)

close #51

@stealmh stealmh added the Feat 기능구현 label Jul 26, 2024
@stealmh stealmh requested review from ITlearning and ShapeKim98 July 26, 2024 07:08
@stealmh stealmh self-assigned this Jul 26, 2024
Copy link

@ITlearning ITlearning left a comment

Choose a reason for hiding this comment

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

역시 능력자들이라 그런지 속도가 빠르시네요..
TCA는 제가 잘 모르는 영역이라, 그냥 조그만 팁이나 궁금증정도만 첨언하겠습니다..ㅎㅎㅎㅎ
(이번 기회에 공부를 해야하나 고민입니다)

고생하셨어요!!!

let categoryId: Int
let categoryName: String
/// var: 포킷 수정 / 추가에서 이미지를 할당할 수 있음
var categoryImage: CategorySettingImageMock

Choose a reason for hiding this comment

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

(제가 코드를 다 보지 않아서 이해를 잘 못한걸수도 있읍니다.)
이 데이터는 직접 접근해서 변경하는걸까요?
아니면 변경하는 곳이 따로 있는걸까요?

import Util

@Reducer
public struct PokitCategorySettingFeature {

Choose a reason for hiding this comment

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

(이건 순수한 궁금입니다)
되도록이면 public 접근 제한자를 사용하시는 것 같은데, 명시하는 이유가 있을까요?

Copy link
Contributor

Choose a reason for hiding this comment

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

(이건 순수한 궁금입니다) 되도록이면 public 접근 제한자를 사용하시는 것 같은데, 명시하는 이유가 있을까요?

외부 모듈에서 쓰이기 때문입니다..!!

VStack(spacing: 0) {
thumbnailSection
pokitNameSection
if !store.itemList.isEmpty {

Choose a reason for hiding this comment

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

이런거 쌈@뽕하게 처리하는 방식 하나만 공유해봅니다 ㅎㅎㅎㅎ
회사에서 이렇게 쓰고 있길래..

extension Bool {
    func not() -> Bool { !self }
}

이렇게 선언해서

store.itemList.isEmpty.not() 

이렇게 하면 가독성 좋고, 무엇보다 깐지납니다. (??)

Copy link
Contributor

Choose a reason for hiding this comment

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

옹 좋은거 같아여

Copy link
Contributor

@ShapeKim98 ShapeKim98 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다!

import Util

@Reducer
public struct PokitCategorySettingFeature {
Copy link
Contributor

Choose a reason for hiding this comment

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

(이건 순수한 궁금입니다) 되도록이면 public 접근 제한자를 사용하시는 것 같은데, 명시하는 이유가 있을까요?

외부 모듈에서 쓰이기 때문입니다..!!

VStack(spacing: 0) {
thumbnailSection
pokitNameSection
if !store.itemList.isEmpty {
Copy link
Contributor

Choose a reason for hiding this comment

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

옹 좋은거 같아여

@ShapeKim98 ShapeKim98 merged commit b023dce into develop Jul 26, 2024
1 check passed
@ShapeKim98 ShapeKim98 deleted the feat/#51-pokit-edit branch July 27, 2024 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feat 기능구현
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants