Skip to content

Commit 0a6b64f

Browse files
authored
[NL-76]: 로또 결과 안내 화면 UI, 화면 플로우 구현 (#47)
* [NL-76]: Lottie 의존성 추가 * [NL-76]: 로또 결과 화면 로딩 애니메이션 적용 * [NL-76]: 상단 당첨 정보 영역 UI 구현 * [NL-76]: 사또의 한마디 영역 UI 구현 * [NL-76]: 당첨 결과 번호 표기 UI 구현 * [NL-76]: 화면 전환 관련 액션 연결
1 parent ac2b157 commit 0a6b64f

27 files changed

+866
-10
lines changed

Common/Base/Sources/BaseViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ open class BaseViewController: UIViewController {
3434
open override func viewDidLayoutSubviews() {
3535
super.viewDidLayoutSubviews()
3636
updateBottomSafeArea()
37+
view.bringSubviewToFront(navigationBar)
3738
}
3839

3940
public func setNavigationBarHidden(_ isHidden: Bool) {

Common/Base/Sources/NavigationBar.swift

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,17 @@ public final class NavigationBar: UIView {
5656
required init?(coder: NSCoder) {
5757
fatalError("init(coder:) has not been implemented")
5858
}
59+
60+
public override func tintColorDidChange() {
61+
super.tintColorDidChange()
62+
defaultTitleLabel.textColor = tintColor
63+
leftItemsSection.arrangedSubviews.forEach {
64+
$0.tintColor = tintColor
65+
}
66+
rightItemsSection.arrangedSubviews.forEach {
67+
$0.tintColor = tintColor
68+
}
69+
}
5970

6071
private func setupUI(with style: Style, height: CGFloat) {
6172
addSubview(contentStackView)

Common/Base/Sources/TabBar/BaseTabBarController.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ public final class BaseTabBarController: UITabBarController {
2323
setupTabBar()
2424
setupBindings()
2525
}
26+
27+
public override func viewWillLayoutSubviews() {
28+
super.viewWillLayoutSubviews()
29+
tabBar.isHidden = true
30+
}
2631

2732
public override func viewDidLayoutSubviews() {
2833
super.viewDidLayoutSubviews()
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "clover-pig.svg",
5+
"idiom" : "universal"
6+
}
7+
],
8+
"info" : {
9+
"author" : "xcode",
10+
"version" : 1
11+
}
12+
}
Lines changed: 92 additions & 0 deletions
Loading
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "message-bubble.svg",
5+
"idiom" : "universal"
6+
}
7+
],
8+
"info" : {
9+
"author" : "xcode",
10+
"version" : 1
11+
}
12+
}
Lines changed: 7 additions & 0 deletions
Loading
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "result-bar.svg",
5+
"idiom" : "universal"
6+
}
7+
],
8+
"info" : {
9+
"author" : "xcode",
10+
"version" : 1
11+
}
12+
}
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "result-plus.svg",
5+
"idiom" : "universal"
6+
}
7+
],
8+
"info" : {
9+
"author" : "xcode",
10+
"version" : 1
11+
}
12+
}

0 commit comments

Comments
 (0)