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

GongGanGam-UI.framework #58

Merged
merged 47 commits into from
Feb 18, 2023
Merged

GongGanGam-UI.framework #58

merged 47 commits into from
Feb 18, 2023

Conversation

yy0867
Copy link
Collaborator

@yy0867 yy0867 commented Jan 25, 2023

작업 내용

질문 및 특이사항

체크리스트

  • 빌드가 되는 코드인가요?
  • Warning이 없는 코드인가요?
  • Merge할 브랜치가 올바른가요?
  • 코딩 컨벤션이 올바른가요?

@yy0867 yy0867 added the 💄 Style 뷰 관련 label Jan 25, 2023
@yy0867 yy0867 self-assigned this Jan 25, 2023
Comment on lines 16 to 33
public enum Pretendard {

// MARK: - Bold
public static let h1 = GongGanGamUIFontFamily.Pretendard.bold.font(size: 22)
public static let titleBold = GongGanGamUIFontFamily.Pretendard.bold.font(size: 17)
public static let bodyBold = GongGanGamUIFontFamily.Pretendard.bold.font(size: 16)
public static let caption1Bold = GongGanGamUIFontFamily.Pretendard.bold.font(size: 14)
public static let caption2Bold = GongGanGamUIFontFamily.Pretendard.bold.font(size: 12)
public static let button1 = GongGanGamUIFontFamily.Pretendard.bold.font(size: 16)

// MARK: - Regular
public static let title = GongGanGamUIFontFamily.Pretendard.regular.font(size: 17)
public static let body = GongGanGamUIFontFamily.Pretendard.regular.font(size: 16)
public static let caption1 = GongGanGamUIFontFamily.Pretendard.regular.font(size: 14)
public static let caption2 = GongGanGamUIFontFamily.Pretendard.regular.font(size: 12)
public static let button2 = GongGanGamUIFontFamily.Pretendard.regular.font(size: 14)
public static let small = GongGanGamUIFontFamily.Pretendard.regular.font(size: 10)
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@chansooo chansooo left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines 16 to 33
public enum Pretendard {

// MARK: - Bold
public static let h1 = GongGanGamUIFontFamily.Pretendard.bold.font(size: 22)
public static let titleBold = GongGanGamUIFontFamily.Pretendard.bold.font(size: 17)
public static let bodyBold = GongGanGamUIFontFamily.Pretendard.bold.font(size: 16)
public static let caption1Bold = GongGanGamUIFontFamily.Pretendard.bold.font(size: 14)
public static let caption2Bold = GongGanGamUIFontFamily.Pretendard.bold.font(size: 12)
public static let button1 = GongGanGamUIFontFamily.Pretendard.bold.font(size: 16)

// MARK: - Regular
public static let title = GongGanGamUIFontFamily.Pretendard.regular.font(size: 17)
public static let body = GongGanGamUIFontFamily.Pretendard.regular.font(size: 16)
public static let caption1 = GongGanGamUIFontFamily.Pretendard.regular.font(size: 14)
public static let caption2 = GongGanGamUIFontFamily.Pretendard.regular.font(size: 12)
public static let button2 = GongGanGamUIFontFamily.Pretendard.regular.font(size: 14)
public static let small = GongGanGamUIFontFamily.Pretendard.regular.font(size: 10)
}
Copy link
Contributor

Choose a reason for hiding this comment

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

폰트 사용할 때 size를 지정해야 하는 불편함 해소되겠네요!

@chansooo chansooo marked this pull request as ready for review January 25, 2023 11:03
@yy0867 yy0867 marked this pull request as draft January 25, 2023 11:06
Comment on lines +106 to +115
dependencies: [
.package(product: "FlexLayout"),
.package(product: "PinLayout"),
],
settings: .settings(
base: [
"GCC_PREPROCESSOR_DEFINITIONS[arch=*]": "FLEXLAYOUT_SWIFT_PACKAGE=1",
],
configurations: [.debug(name: .debug)]
)
Copy link
Contributor

Choose a reason for hiding this comment

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

package로 추가하는 것과 external로 추가하는 건 어떤 차이가 있을까요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

그 spm으로 직접 세팅하면 package product 써야하는 것 같슴닷

Copy link
Contributor

Choose a reason for hiding this comment

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

package로 추가하는 거랑 external로 추가하는 것 차이를 모르겟서서 그런데 external로 안되는 게 package로 되면 package 짱짱맨으로 하면 안되나여?

Copy link
Collaborator Author

@yy0867 yy0867 Jan 26, 2023

Choose a reason for hiding this comment

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

external로 하면 트위스트에서 자체적으로 spm 패키지 받아서 타겟만 추가해주는것이고 (그래서 Xcode 파일 목록 밑쪽에 Tuist/Dependencies 폴더에 프로젝트로 들어갑니다)
package로 하면 Xcode spm 활용해서 타겟 추가해주는 차이인 것 같슴다 (그래서 Xcode 파일 목록 맨 아래쪽에 spm으로 추가할 때 처럼 Package Dependencies로 들어갑니다)

doc에도 external보다 package로 하면 좋다고 적혀있기는 하는데 정확히 뭐가 더 좋다는지는 잘 모르겠네요 ㅋㅋㅋ

@yy0867 yy0867 mentioned this pull request Jan 26, 2023
4 tasks
@yy0867 yy0867 mentioned this pull request Jan 27, 2023
4 tasks
@yy0867 yy0867 mentioned this pull request Jan 28, 2023
4 tasks
@yy0867 yy0867 mentioned this pull request Jan 28, 2023
4 tasks
@yy0867 yy0867 mentioned this pull request Jan 28, 2023
4 tasks
@yy0867 yy0867 mentioned this pull request Jan 30, 2023
4 tasks
@yy0867 yy0867 mentioned this pull request Jan 30, 2023
4 tasks
@yy0867 yy0867 mentioned this pull request Jan 30, 2023
4 tasks
@yy0867 yy0867 marked this pull request as ready for review February 18, 2023 14:11
@yy0867 yy0867 merged commit 7795993 into develop Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💄 Style 뷰 관련
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

resource 설정
3 participants