-
Notifications
You must be signed in to change notification settings - Fork 1
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
포킷 추가 및 수정 UI 구성 #54
Conversation
- AddCategory -> CategorySetting으로 이름변경에 따른 기존 폴더 제거
- 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.
역시 능력자들이라 그런지 속도가 빠르시네요..
TCA는 제가 잘 모르는 영역이라, 그냥 조그만 팁이나 궁금증정도만 첨언하겠습니다..ㅎㅎㅎㅎ
(이번 기회에 공부를 해야하나 고민입니다)
고생하셨어요!!!
let categoryId: Int | ||
let categoryName: String | ||
/// var: 포킷 수정 / 추가에서 이미지를 할당할 수 있음 | ||
var categoryImage: CategorySettingImageMock |
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.
(제가 코드를 다 보지 않아서 이해를 잘 못한걸수도 있읍니다.)
이 데이터는 직접 접근해서 변경하는걸까요?
아니면 변경하는 곳이 따로 있는걸까요?
import Util | ||
|
||
@Reducer | ||
public struct PokitCategorySettingFeature { |
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.
(이건 순수한 궁금입니다)
되도록이면 public 접근 제한자를 사용하시는 것 같은데, 명시하는 이유가 있을까요?
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.
(이건 순수한 궁금입니다) 되도록이면 public 접근 제한자를 사용하시는 것 같은데, 명시하는 이유가 있을까요?
외부 모듈에서 쓰이기 때문입니다..!!
VStack(spacing: 0) { | ||
thumbnailSection | ||
pokitNameSection | ||
if !store.itemList.isEmpty { |
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.
이런거 쌈@뽕하게 처리하는 방식 하나만 공유해봅니다 ㅎㅎㅎㅎ
회사에서 이렇게 쓰고 있길래..
extension Bool {
func not() -> Bool { !self }
}
이렇게 선언해서
store.itemList.isEmpty.not()
이렇게 하면 가독성 좋고, 무엇보다 깐지납니다. (??)
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.
수고하셨습니다!
import Util | ||
|
||
@Reducer | ||
public struct PokitCategorySettingFeature { |
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.
(이건 순수한 궁금입니다) 되도록이면 public 접근 제한자를 사용하시는 것 같은데, 명시하는 이유가 있을까요?
외부 모듈에서 쓰이기 때문입니다..!!
VStack(spacing: 0) { | ||
thumbnailSection | ||
pokitNameSection | ||
if !store.itemList.isEmpty { |
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.
옹 좋은거 같아여
#️⃣연관된 이슈
#51
📝작업 내용
스크린샷 (선택)
포킷추가
포킷수정(포킷명과 썸네일을 입력받음)
💬리뷰 요구사항(선택)
close #51