Skip to content

Commit

Permalink
[#1-1-4] DetailView(Detail Info) UI 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
iiuoon committed Nov 21, 2022
1 parent 67319dd commit 4c01c27
Show file tree
Hide file tree
Showing 4 changed files with 162 additions and 2 deletions.
8 changes: 8 additions & 0 deletions SignUp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
950255BA292B472700C98800 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 950255B8292B472700C98800 /* Main.storyboard */; };
950255BC292B472B00C98800 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 950255BB292B472B00C98800 /* Assets.xcassets */; };
950255BF292B472B00C98800 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 950255BD292B472B00C98800 /* LaunchScreen.storyboard */; };
950255C7292B56D900C98800 /* SignUpBasicViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 950255C6292B56D900C98800 /* SignUpBasicViewController.swift */; };
950255C9292B56EC00C98800 /* SignUpDetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 950255C8292B56EC00C98800 /* SignUpDetailViewController.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -24,6 +26,8 @@
950255BB292B472B00C98800 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
950255BE292B472B00C98800 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
950255C0292B472B00C98800 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
950255C6292B56D900C98800 /* SignUpBasicViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignUpBasicViewController.swift; sourceTree = "<group>"; };
950255C8292B56EC00C98800 /* SignUpDetailViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignUpDetailViewController.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -59,6 +63,8 @@
950255B2292B472700C98800 /* AppDelegate.swift */,
950255B4292B472700C98800 /* SceneDelegate.swift */,
950255B6292B472700C98800 /* ViewController.swift */,
950255C6292B56D900C98800 /* SignUpBasicViewController.swift */,
950255C8292B56EC00C98800 /* SignUpDetailViewController.swift */,
950255B8292B472700C98800 /* Main.storyboard */,
950255BB292B472B00C98800 /* Assets.xcassets */,
950255BD292B472B00C98800 /* LaunchScreen.storyboard */,
Expand Down Expand Up @@ -139,7 +145,9 @@
buildActionMask = 2147483647;
files = (
950255B7292B472700C98800 /* ViewController.swift in Sources */,
950255C7292B56D900C98800 /* SignUpBasicViewController.swift in Sources */,
950255B3292B472700C98800 /* AppDelegate.swift in Sources */,
950255C9292B56EC00C98800 /* SignUpDetailViewController.swift in Sources */,
950255B5292B472700C98800 /* SceneDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
98 changes: 96 additions & 2 deletions SignUp/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@
</objects>
<point key="canvasLocation" x="976.92307692307691" y="-2.1327014218009479"/>
</scene>
<!--View Controller-->
<!--Sign Up Basic View Controller-->
<scene sceneID="8oI-EX-H4p">
<objects>
<viewController id="Yaf-Lx-5e5" sceneMemberID="viewController">
<viewController id="Yaf-Lx-5e5" customClass="SignUpBasicViewController" customModule="SignUp" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="JsH-Ad-PKn">
<rect key="frame" x="0.0" y="0.0" width="390" height="844"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
Expand Down Expand Up @@ -113,6 +113,9 @@
<rect key="frame" x="175" y="0.0" width="155" height="34.333333333333336"/>
<state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="plain" title="다음"/>
<connections>
<segue destination="c1k-ma-Euq" kind="presentation" modalPresentationStyle="fullScreen" id="PJ1-FB-PWB"/>
</connections>
</button>
</subviews>
</stackView>
Expand Down Expand Up @@ -158,6 +161,97 @@
</objects>
<point key="canvasLocation" x="1756.9230769230769" y="-2.1327014218009479"/>
</scene>
<!--Sign Up Detail View Controller-->
<scene sceneID="dJB-it-n5A">
<objects>
<viewController id="c1k-ma-Euq" customClass="SignUpDetailViewController" customModule="SignUp" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="5ZB-0N-BWv">
<rect key="frame" x="0.0" y="0.0" width="390" height="844"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="top" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="d6U-eE-URl">
<rect key="frame" x="20" y="67" width="350" height="350.66666666666669"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="전화번호" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gQY-wc-bRF">
<rect key="frame" x="0.0" y="0.0" width="59" height="20.333333333333332"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="전화번호를 입력해주세요." textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Eqt-iq-WRZ">
<rect key="frame" x="0.0" y="40.333333333333329" width="350" height="34"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
<stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="nru-Rw-i9D">
<rect key="frame" x="0.0" y="94.333333333333343" width="350" height="20.333333333333329"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="749" text="생년월일" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rwP-rR-dK2">
<rect key="frame" x="0.0" y="0.0" width="59" height="20.333333333333332"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="November 21, 2022" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VM0-GN-aTG">
<rect key="frame" x="69" y="0.0" width="281" height="20.333333333333332"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
<datePicker contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="date" style="wheels" translatesAutoresizingMaskIntoConstraints="NO" id="dXH-ta-dbA">
<rect key="frame" x="0.0" y="134.66666666666666" width="350" height="215.99999999999997"/>
</datePicker>
</subviews>
<constraints>
<constraint firstItem="dXH-ta-dbA" firstAttribute="leading" secondItem="d6U-eE-URl" secondAttribute="leading" id="6YY-yB-LC8"/>
<constraint firstAttribute="trailing" secondItem="dXH-ta-dbA" secondAttribute="trailing" id="6cu-Yl-6KT"/>
<constraint firstItem="nru-Rw-i9D" firstAttribute="leading" secondItem="d6U-eE-URl" secondAttribute="leading" id="MAM-oz-j6d"/>
<constraint firstItem="gQY-wc-bRF" firstAttribute="leading" secondItem="d6U-eE-URl" secondAttribute="leading" id="RjK-kj-xjb"/>
<constraint firstAttribute="trailing" secondItem="nru-Rw-i9D" secondAttribute="trailing" id="h9f-m4-Sls"/>
<constraint firstItem="Eqt-iq-WRZ" firstAttribute="leading" secondItem="d6U-eE-URl" secondAttribute="leading" id="hc9-f0-MC0"/>
<constraint firstAttribute="trailing" secondItem="Eqt-iq-WRZ" secondAttribute="trailing" id="u6O-1T-Nlb"/>
</constraints>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" spacing="15" translatesAutoresizingMaskIntoConstraints="NO" id="3Ga-wc-gm8">
<rect key="frame" x="20" y="437.66666666666669" width="350" height="34.333333333333314"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="249" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="KJm-jf-SoL">
<rect key="frame" x="0.0" y="0.0" width="106.66666666666667" height="34.333333333333336"/>
<color key="tintColor" systemColor="systemRedColor"/>
<state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="plain" title="취소"/>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="yLf-35-lGj">
<rect key="frame" x="121.66666666666666" y="0.0" width="106.66666666666666" height="34.333333333333336"/>
<state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="plain" title="이전"/>
</button>
<button opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="249" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8lI-yA-X9l">
<rect key="frame" x="243.33333333333329" y="0.0" width="106.66666666666666" height="34.333333333333336"/>
<state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="plain" title="가입"/>
</button>
</subviews>
</stackView>
</subviews>
<viewLayoutGuide key="safeArea" id="wFz-Ef-CUG"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstItem="3Ga-wc-gm8" firstAttribute="leading" secondItem="wFz-Ef-CUG" secondAttribute="leading" constant="20" id="1LU-ba-TX8"/>
<constraint firstItem="3Ga-wc-gm8" firstAttribute="top" secondItem="d6U-eE-URl" secondAttribute="bottom" constant="20" id="44H-8g-A1m"/>
<constraint firstItem="wFz-Ef-CUG" firstAttribute="trailing" secondItem="3Ga-wc-gm8" secondAttribute="trailing" constant="20" id="6pj-2x-SwL"/>
<constraint firstItem="d6U-eE-URl" firstAttribute="leading" secondItem="wFz-Ef-CUG" secondAttribute="leading" constant="20" id="7Tt-yG-z37"/>
<constraint firstItem="wFz-Ef-CUG" firstAttribute="trailing" secondItem="d6U-eE-URl" secondAttribute="trailing" constant="20" id="V3d-ed-Yn0"/>
<constraint firstItem="d6U-eE-URl" firstAttribute="top" secondItem="wFz-Ef-CUG" secondAttribute="top" constant="20" id="xD1-5H-p7G"/>
</constraints>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="O2y-0l-JBq" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="2529.2307692307691" y="-2.1327014218009479"/>
</scene>
<!--Navigation Controller-->
<scene sceneID="qu0-Ea-X2i">
<objects>
Expand Down
29 changes: 29 additions & 0 deletions SignUp/SignUpBasicViewController.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
//
// SignUpBasicViewController.swift
// SignUp
//
// Created by 박지윤 on 2022/11/21.
//

import UIKit

class SignUpBasicViewController: UIViewController {

override func viewDidLoad() {
super.viewDidLoad()

// Do any additional setup after loading the view.
}


/*
// MARK: - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
// Pass the selected object to the new view controller.
}
*/

}
29 changes: 29 additions & 0 deletions SignUp/SignUpDetailViewController.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
//
// SignUpDetailViewController.swift
// SignUp
//
// Created by 박지윤 on 2022/11/21.
//

import UIKit

class SignUpDetailViewController: UIViewController {

override func viewDidLoad() {
super.viewDidLoad()

// Do any additional setup after loading the view.
}


/*
// MARK: - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
// Pass the selected object to the new view controller.
}
*/

}

0 comments on commit 4c01c27

Please sign in to comment.