-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…SignUpCompleteViewUI [Feat] #32 - SignUpView alert 로직 변경 및 SignUpVC UI 구현
- Loading branch information
Showing
14 changed files
with
300 additions
and
71 deletions.
There are no files selected for viewing
This file contains 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
6 changes: 6 additions & 0 deletions
6
SOPT-Stamp-iOS/Projects/Modules/DSKit/Resources/Assets.xcassets/SignUp/Contents.json
This file contains 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,6 @@ | ||
{ | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...s/Modules/DSKit/Resources/Assets.xcassets/SignUp/signUpCompleteImg.imageset/Contents.json
This file contains 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,23 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "Group 57203.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "Group 57203@2x.png", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "Group 57203@3x.png", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Binary file added
BIN
+2.77 KB
...Kit/Resources/Assets.xcassets/SignUp/signUpCompleteImg.imageset/Group 57203.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.32 KB
.../Resources/Assets.xcassets/SignUp/signUpCompleteImg.imageset/Group 57203@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.93 KB
.../Resources/Assets.xcassets/SignUp/signUpCompleteImg.imageset/Group 57203@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions
20
...jects/Modules/DSKit/Resources/Colors.xcassets/PointColor/access300.colorset/Contents.json
This file contains 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,20 @@ | ||
{ | ||
"colors" : [ | ||
{ | ||
"color" : { | ||
"color-space" : "srgb", | ||
"components" : { | ||
"alpha" : "1.000", | ||
"blue" : "0xB1", | ||
"green" : "0x4A", | ||
"red" : "0x78" | ||
} | ||
}, | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
This file contains 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 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
91 changes: 91 additions & 0 deletions
91
SOPT-Stamp-iOS/Projects/Presentation/Sources/SignUpScene/VC/SignUpCompleteVC.swift
This file contains 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,91 @@ | ||
// | ||
// SignUpCompleteVC.swift | ||
// Presentation | ||
// | ||
// Created by sejin on 2022/12/05. | ||
// Copyright © 2022 SOPT-Stamp-iOS. All rights reserved. | ||
// | ||
|
||
import UIKit | ||
|
||
import Combine | ||
|
||
import Core | ||
import DSKit | ||
|
||
public class SignUpCompleteVC: UIViewController { | ||
|
||
// MARK: - Properties | ||
|
||
public var factory: ModuleFactoryInterface! | ||
|
||
// MARK: - UI Components | ||
|
||
private let characterImageView = UIImageView().then { | ||
$0.image = DSKitAsset.Assets.signUpCompleteImg.image.withRenderingMode(.alwaysOriginal) | ||
$0.contentMode = .scaleAspectFit | ||
$0.clipsToBounds = true | ||
} | ||
|
||
private let signUpCompleteLabel = UILabel().then { | ||
$0.text = I18N.SignUp.signUpComplete | ||
$0.textColor = DSKitAsset.Colors.gray900.color | ||
$0.font = UIFont.h1 | ||
} | ||
|
||
private let welcomeLabel = UILabel().then { | ||
$0.text = I18N.SignUp.welcome | ||
$0.textColor = DSKitAsset.Colors.gray500.color | ||
$0.font = UIFont.subtitle2 | ||
} | ||
|
||
private let startButton = CustomButton(title: I18N.SignUp.start) | ||
.setEnabled(true) | ||
|
||
// MARK: - View Life Cycle | ||
|
||
public override func viewDidLoad() { | ||
super.viewDidLoad() | ||
self.setUI() | ||
self.setLayout() | ||
} | ||
} | ||
|
||
// MARK: - Methods | ||
|
||
extension SignUpCompleteVC { | ||
|
||
} | ||
|
||
// MARK: - UI & Layout | ||
|
||
extension SignUpCompleteVC { | ||
private func setUI() { | ||
self.view.backgroundColor = .white | ||
} | ||
|
||
private func setLayout() { | ||
self.view.addSubviews(characterImageView, signUpCompleteLabel, welcomeLabel, startButton) | ||
|
||
characterImageView.snp.makeConstraints { make in | ||
make.centerX.equalTo(view.safeAreaLayoutGuide) | ||
make.centerY.equalTo(view.safeAreaLayoutGuide).multipliedBy(0.75) | ||
} | ||
|
||
signUpCompleteLabel.snp.makeConstraints { make in | ||
make.top.equalTo(characterImageView.snp.bottom).offset(16) | ||
make.centerX.equalTo(characterImageView) | ||
} | ||
|
||
welcomeLabel.snp.makeConstraints { make in | ||
make.top.equalTo(signUpCompleteLabel.snp.bottom).offset(4) | ||
make.centerX.equalTo(view.safeAreaLayoutGuide) | ||
} | ||
|
||
startButton.snp.makeConstraints { make in | ||
make.bottom.equalTo(view.safeAreaLayoutGuide).inset(32) | ||
make.leading.trailing.equalTo(view.safeAreaLayoutGuide).inset(20) | ||
make.height.equalTo(56) | ||
} | ||
} | ||
} |
Oops, something went wrong.