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

Set [#14] Designsystem update #17

Merged
merged 30 commits into from
Jan 5, 2024
Merged

Set [#14] Designsystem update #17

merged 30 commits into from
Jan 5, 2024

Conversation

Zoe0929
Copy link
Member

@Zoe0929 Zoe0929 commented Jan 4, 2024

๐Ÿ‘พ ์ž‘์—… ๋‚ด์šฉ

  • ๋ณ€๊ฒฝ๋œ ๋””์ž์ธ ์‹œ์Šคํ…œ์„ ์ ์šฉํ–ˆ์Šต๋‹ˆ๋‹ค.
  • StringLiteral์„ ์ƒ์„ฑํ•˜์—ฌ String๊ฐ’์„ ํ•œ๋ฒˆ์— ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ๋„๋ก ๋งŒ๋“ค์—ˆ์Šต๋‹ˆ๋‹ค.

๐Ÿš€ PR Point

StringLiteral ๊ด€๋ จ

  • ์•ž์œผ๋กœ String๊ฐ’์€ StringLiteral enum์— ํ•ด๋‹น ๋ทฐ enum์„ ์ƒ์„ฑํ•˜์—ฌ ๊ด€๋ฆฌํ•ด์ฃผ์„ธ์š”
    enum StringLiteral {
    enum TabBar {
    static var challengeTitle = "์ฑŒ๋ฆฐ์ง€"
    static var homeTitle = "ํ™ˆ"
    static var myPageTitle = "๋งˆ์ดํŽ˜์ด์ง€"
    }
    }
  • ์‚ฌ์šฉํ•  ๋•Œ๋Š” ์•„๋ž˜์™€ ๊ฐ™์ด ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.
title: StringLiteral.TabBar.myPageTitle

ํ† ์ŠคํŠธ๋ฉ”์„ธ์ง€ ๊ด€๋ จ

  • showToast๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค
/// ๊ธฐ๋ณธ ๋†’์ด (Bottom์œผ๋กœ ๋ถ€ํ„ฐ 17)
view.showToast(message: "ํ† ์ŠคํŠธ ๋ฉ”์‹œ์ง€ ํ…Œ์ŠคํŠธ")

/// ์œ„์น˜ ์ปค์Šคํ…€ - at ํŒŒ๋ผ๋ฏธํ„ฐ๋ฅผ ์ด์šฉํ•˜์—ฌ ๋ณ€๊ฒฝ
view.showToast(message: "ํ† ์ŠคํŠธ ๋ฉ”์‹œ์ง€ ํ…Œ์ŠคํŠธ", at: 20)

๊ธฐํƒ€

  • ์„ ํƒ๋˜์ง€ ์•Š์€ TabBar Item์˜ title์˜ ์ƒ‰์ƒ์ด ์ž˜ ์ ์šฉ๋˜์ง€ ์•Š๋Š” ๊ฒƒ์„ ํ™•์ธํ–ˆ์Šต๋‹ˆ๋‹ค. ์ด ๋ถ€๋ถ„์„ ํ•ด๊ฒฐํ•˜๊ธฐ ์œ„ํ•ด ์•„๋ž˜ ์ฝ”๋“œ๋ฅผ ์ถ”๊ฐ€ํ–ˆ์Šต๋‹ˆ๋‹ค.

๐Ÿ“ธ ์Šคํฌ๋ฆฐ์ƒท

๊ตฌํ˜„ ๋‚ด์šฉ ์Šคํฌ๋ฆฐ์ƒท
๋””์ž์ธ์‹œ์Šคํ…œ ์—…๋ฐ์ดํŠธ Simulator Screen Recording - iPhone 15 Pro - 2024-01-05 at 02 50 40

โœ… Issue

Resolved #14

@Zoe0929 Zoe0929 added ๐Ÿฐ์ง€ํฌ ์ง€ํฌ์˜ issue ๐ŸŽจ style ์ปค์Šคํ…€ ๋ทฐ ์งœ๊ธฐ โš’๏ธ set ์„ธํŒ…ํ•  ์‹œ labels Jan 4, 2024
@Zoe0929 Zoe0929 self-assigned this Jan 4, 2024
@Zoe0929 Zoe0929 linked an issue Jan 4, 2024 that may be closed by this pull request
@Zoe0929 Zoe0929 changed the title Set/#14 esignsystem update Set [#14] Designsystem update Jan 4, 2024
Copy link
Contributor

@boyeon0119 boyeon0119 left a comment

Choose a reason for hiding this comment

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

p5. ์„ธํŒ… ๊ท€์ฐฎ์œผ์…จ์„ํ…๋ฐ ์ƒˆ๋กœ ์ˆ˜์ •ํ•ด์ฃผ์‹œ๊ณ  ๋ฐ˜์˜๊นŒ์ง€,,, ๊ฐ์‚ฌํ•จ๋‘ฅ!!!

@Zoe0929 Zoe0929 merged commit f7420a4 into develop Jan 5, 2024
@Zoe0929 Zoe0929 deleted the set/#14-esignsystemUpdate branch January 9, 2024 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
โš’๏ธ set ์„ธํŒ…ํ•  ์‹œ ๐ŸŽจ style ์ปค์Šคํ…€ ๋ทฐ ์งœ๊ธฐ ๐Ÿฐ์ง€ํฌ ์ง€ํฌ์˜ issue
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Set] DesignSystem ์—…๋ฐ์ดํŠธ
3 participants