-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/mission result view#6 #21
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
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
05caf37
๐build: MissionResultView ํ์ผ ์ถ๊ฐ
yy-ss99 6924f31
๐fix: AlarmRingView ๋ฐฑ๊ทธ๋ผ์ด๋์ ๊ฐ์ ์ ์ ๋๋ฉ์ด์
๋ฉ์ถ๋ ๋ฒ๊ทธ ๊ณ ์นจ
yy-ss99 915b2ea
๐feat: ํค๋ ์ถ๊ฐ
yy-ss99 261caba
๐build: MissionResult์์ ์ธ InfoPairView ๊ตฌํ ๋ฐ ์ถ๊ฐ
yy-ss99 cf9b617
๐build: StateRowView๋ฅผ ๊ฐ์ง๋ ๋ทฐ ์ถ๊ฐ ๋ฐ ๊ตฌํ
yy-ss99 13f9d32
๐feat: ๊ธฐ๋ณธ UI ์์ฑ
yy-ss99 aee6129
๐feat: ์ฑ๊ณต์ ์ธ ์ํ ๋ผ๋ฒจ config ์ถ๊ฐ
yy-ss99 e2816d6
๐feat: ์ ๋ธ๋์น๋ฅผ ์ํ ์ปค๋ฐ
yy-ss99 c94470f
Merge branch 'develop' into feature/MissionResultView#6
yy-ss99 60d454f
๐feat: Id ์ฌ์ฉํด์ ๊ฐ์ ธ์จ ๋ฐ์ดํฐ๋ก ๋ทฐ์ ๋ฃ๋๋ก ๊ตฌํ ์๋ฃ
yy-ss99 79efc25
๐feat: UI ๊ตฌ์ฑ ๋ณ๊ฒฝ
yy-ss99 a4a9e24
๐build: MissionResultViewController ์ถ๊ฐ
yy-ss99 dee219e
๐feat: configuration ์ถ๊ฐ ๋ฐ ์์
yy-ss99 5ee0c31
๐feat: configuration ์์
yy-ss99 45c6598
โป๏ธrefactor: Label config ์ ์ฉ
yy-ss99 bd4614a
๐ฉนchore: ์ฃผ์ ๋ฐ UI ์์
yy-ss99 b8048ce
๐ฉนchore: ์ํ๋ฐ์ดํฐ ์์
yy-ss99 5df32de
๐feat: LabelConfig ์์
yy-ss99 174f94c
๐ฉนchore: ์ปจ๋ฒค์
๊ด๋ จ ์์ ์๋ฃ
yy-ss99 8d6d8a2
๐ฉนchore: ๋ค์ด๋ฐ ์์ ์๋ฃ
yy-ss99 5d05241
๐feat: NotificationCenter ์ฃผ์
๋ฐ์ ์ธ์คํด์ค ๋ฐ์ ์ ์๋๋ก ๋ณ๊ฒฝ
yy-ss99 19f7a3f
๐feat: ์ค๋ฅ์ฒ๋ฆฌ ๊ฐ๋ฅํ๊ฒ ์์
yy-ss99 819045d
๐ฉนchore: ViewController์ ๋ถํ์ํ ์ฝ๋ ์ ๊ฑฐ
yy-ss99 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| // | ||
| // InfoPairView.swift | ||
| // RocketCall | ||
| // | ||
| // Created by Yeseul Jang on 3/24/26. | ||
| // | ||
| import UIKit | ||
| import SnapKit | ||
| import Then | ||
|
|
||
| // MissionResultView ๊ตฌ์ฑ์ ์ํ ๋ทฐ | ||
| class InfoPairView: UIView { | ||
|
|
||
| private let titleLabel = UILabel().then { | ||
| $0.textColor = UIColor.lightGray | ||
| $0.font = .systemFont(ofSize: 15, weight: .medium) | ||
| } | ||
|
|
||
| let dataLabel: UILabel | ||
|
|
||
| init(title: String, data: String? = nil, dataLabel: UILabel? = nil) { | ||
| self.dataLabel = dataLabel ?? UILabel().then { | ||
| $0.textColor = .white | ||
| $0.font = .systemFont(ofSize: 15, weight: .bold) | ||
| $0.textAlignment = .right | ||
| } | ||
|
|
||
| super.init(frame: .zero) | ||
|
|
||
| titleLabel.text = title | ||
| if let data { | ||
| self.dataLabel.text = data | ||
| } | ||
|
|
||
| configureUI() | ||
| setLayout() | ||
| } | ||
|
|
||
| required init?(coder: NSCoder) { | ||
| fatalError("init(coder:) has not been implemented") | ||
| } | ||
|
|
||
| func updateData(_ text: String) { | ||
| dataLabel.text = text | ||
| } | ||
|
|
||
| private func configureUI() { | ||
| addSubview(titleLabel) | ||
| addSubview(dataLabel) | ||
| } | ||
|
|
||
| private func setLayout() { | ||
| titleLabel.snp.makeConstraints { | ||
| $0.leading.centerY.equalToSuperview() | ||
| } | ||
|
|
||
| dataLabel.snp.makeConstraints { | ||
| $0.trailing.centerY.equalToSuperview() | ||
| $0.leading.greaterThanOrEqualTo(titleLabel.snp.trailing).offset(15) | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
LabelConfiguration์ ์์ฑํ๊ธฐ ์ํด ๋ง์ ์์ ์ ์ ํ๋กํผํฐ๊ฐ ์ ์ธ๋์ด ์์ด ์ฝ๋ ์ค๋ณต์ด ๋ง๊ณ ์ ์ง๋ณด์๊ฐ ์ด๋ ต์ต๋๋ค.์ด๋ฅผ ๊ฐ์ ํ๊ธฐ ์ํด ์ ์ ํฉํ ๋ฆฌ ๋ฉ์๋๋ฅผ ์ฌ์ฉํ๋ ๊ฒ์ ์ ์ํฉ๋๋ค. ์ด๋ ๊ฒ ํ๋ฉด ์ฝ๋์ ์์ ํฌ๊ฒ ์ค์ด๊ณ ์ ์ฐ์ฑ์ ๋์ผ ์ ์์ต๋๋ค.
์ฌ์ฉ ์์:
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.
๋ฏธ๋ฆฌ ๋ง๋ค์ด์ง config๋ ์ต์ํ์ ๊ฒ๋ง ๋จ๊ธฐ๊ณ ํจ์ ์ถ๊ฐ์๋ฃ
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.