Skip to content

Commit

Permalink
[#1]feat ✨: ViewController 파일 추가
Browse files Browse the repository at this point in the history
검색 - SearchViewController
위시리스트 - WishlistViewController
내 예약 - ReservationViewController
  • Loading branch information
JasonLee0223 committed May 24, 2022
1 parent d782397 commit d470174
Show file tree
Hide file tree
Showing 5 changed files with 106 additions and 33 deletions.
16 changes: 12 additions & 4 deletions iOS/Airbnb/Airbnb.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@
/* Begin PBXBuildFile section */
5BDDCC5B283C807300632526 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5BDDCC5A283C807300632526 /* AppDelegate.swift */; };
5BDDCC5D283C807300632526 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5BDDCC5C283C807300632526 /* SceneDelegate.swift */; };
5BDDCC5F283C807300632526 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5BDDCC5E283C807300632526 /* ViewController.swift */; };
5BDDCC5F283C807300632526 /* WishlistViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5BDDCC5E283C807300632526 /* WishlistViewController.swift */; };
5BDDCC62283C807300632526 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5BDDCC60283C807300632526 /* Main.storyboard */; };
5BDDCC64283C807600632526 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5BDDCC63283C807600632526 /* Assets.xcassets */; };
5BDDCC67283C807600632526 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5BDDCC65283C807600632526 /* LaunchScreen.storyboard */; };
5BDDCC72283C807600632526 /* AirbnbTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5BDDCC71283C807600632526 /* AirbnbTests.swift */; };
5BDDCC7C283C807600632526 /* AirbnbUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5BDDCC7B283C807600632526 /* AirbnbUITests.swift */; };
5BDDCC7E283C807600632526 /* AirbnbUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5BDDCC7D283C807600632526 /* AirbnbUITestsLaunchTests.swift */; };
5BDDCC8F283C981200632526 /* SearchViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5BDDCC8E283C981200632526 /* SearchViewController.swift */; };
5BDDCC91283C983700632526 /* ReservationViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5BDDCC90283C983700632526 /* ReservationViewController.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -39,7 +41,7 @@
5BDDCC57283C807300632526 /* Airbnb.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Airbnb.app; sourceTree = BUILT_PRODUCTS_DIR; };
5BDDCC5A283C807300632526 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
5BDDCC5C283C807300632526 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
5BDDCC5E283C807300632526 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
5BDDCC5E283C807300632526 /* WishlistViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WishlistViewController.swift; sourceTree = "<group>"; };
5BDDCC61283C807300632526 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
5BDDCC63283C807600632526 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
5BDDCC66283C807600632526 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
Expand All @@ -49,6 +51,8 @@
5BDDCC77283C807600632526 /* AirbnbUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AirbnbUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
5BDDCC7B283C807600632526 /* AirbnbUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AirbnbUITests.swift; sourceTree = "<group>"; };
5BDDCC7D283C807600632526 /* AirbnbUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AirbnbUITestsLaunchTests.swift; sourceTree = "<group>"; };
5BDDCC8E283C981200632526 /* SearchViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SearchViewController.swift; sourceTree = "<group>"; };
5BDDCC90283C983700632526 /* ReservationViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ReservationViewController.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -154,7 +158,9 @@
5BDDCC8D283C918100632526 /* ViewController */ = {
isa = PBXGroup;
children = (
5BDDCC5E283C807300632526 /* ViewController.swift */,
5BDDCC8E283C981200632526 /* SearchViewController.swift */,
5BDDCC5E283C807300632526 /* WishlistViewController.swift */,
5BDDCC90283C983700632526 /* ReservationViewController.swift */,
);
path = ViewController;
sourceTree = "<group>";
Expand Down Expand Up @@ -290,8 +296,10 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
5BDDCC5F283C807300632526 /* ViewController.swift in Sources */,
5BDDCC91283C983700632526 /* ReservationViewController.swift in Sources */,
5BDDCC5F283C807300632526 /* WishlistViewController.swift in Sources */,
5BDDCC5B283C807300632526 /* AppDelegate.swift in Sources */,
5BDDCC8F283C981200632526 /* SearchViewController.swift in Sources */,
5BDDCC5D283C807300632526 /* SceneDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
97 changes: 69 additions & 28 deletions iOS/Airbnb/Airbnb/Resource/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,28 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="2AB-Tb-ssb">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<device id="retina6_0" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19519"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="tne-QT-ifu">
<!--Tab Bar Controller-->
<scene sceneID="e9l-ij-0zm">
<objects>
<viewController id="BYZ-38-t0r" customClass="ViewController" customModule="Airbnb" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<tabBarController automaticallyAdjustsScrollViewInsets="NO" id="2AB-Tb-ssb" sceneMemberID="viewController">
<toolbarItems/>
<tabBar key="tabBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="P2m-Tr-EGa">
<autoresizingMask key="autoresizingMask"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</tabBar>
<connections>
<segue destination="ZZp-BH-PlF" kind="relationship" relationship="viewControllers" id="wNT-8g-sTT"/>
<segue destination="BYZ-38-t0r" kind="relationship" relationship="viewControllers" id="fSp-ZC-bwx"/>
<segue destination="xgU-pg-7KF" kind="relationship" relationship="viewControllers" id="biU-TI-Ajp"/>
</connections>
</tabBarController>
<placeholder placeholderIdentifier="IBFirstResponder" id="SFX-kn-1xH" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-8" y="793"/>
</scene>
<!--Search View Controller-->
<scene sceneID="K8x-gp-EBU">
<objects>
<viewController id="yBD-tb-Uwd" customClass="SearchViewController" customModule="Airbnb" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Gvf-ET-FXf">
<rect key="frame" x="0.0" y="0.0" width="390" height="844"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<viewLayoutGuide key="safeArea" id="u6m-5Q-9F5"/>
<color key="backgroundColor" systemColor="systemYellowColor"/>
</view>
<navigationItem key="navigationItem" id="Hxv-x9-EjD"/>
<navigationItem key="navigationItem" id="DKn-Lt-o8N"/>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="J45-nb-HLm" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1855.072463768116" y="93.75"/>
<point key="canvasLocation" x="1855" y="-595"/>
</scene>
<!--Item-->
<scene sceneID="tRN-Hs-6YC">
Expand All @@ -31,39 +50,61 @@
<tabBarItem key="tabBarItem" title="Item" id="rMd-KK-bv2"/>
<toolbarItems/>
<navigationBar key="navigationBar" contentMode="scaleToFill" id="fIZ-Nk-1lD">
<rect key="frame" x="0.0" y="44" width="414" height="44"/>
<rect key="frame" x="0.0" y="44" width="390" height="44"/>
<autoresizingMask key="autoresizingMask"/>
</navigationBar>
<nil name="viewControllers"/>
<connections>
<segue destination="BYZ-38-t0r" kind="relationship" relationship="rootViewController" id="tfh-5g-1kk"/>
<segue destination="yBD-tb-Uwd" kind="relationship" relationship="rootViewController" id="F5k-Vy-WFJ"/>
</connections>
</navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="YXH-BS-cS4" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="819" y="94"/>
<point key="canvasLocation" x="794" y="-595"/>
</scene>
<!--Tab Bar Controller-->
<scene sceneID="e9l-ij-0zm">
<!--Item-->
<scene sceneID="tne-QT-ifu">
<objects>
<tabBarController automaticallyAdjustsScrollViewInsets="NO" id="2AB-Tb-ssb" sceneMemberID="viewController">
<toolbarItems/>
<tabBar key="tabBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="P2m-Tr-EGa">
<autoresizingMask key="autoresizingMask"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</tabBar>
<connections>
<segue destination="ZZp-BH-PlF" kind="relationship" relationship="viewControllers" id="wNT-8g-sTT"/>
</connections>
</tabBarController>
<placeholder placeholderIdentifier="IBFirstResponder" id="SFX-kn-1xH" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
<viewController id="BYZ-38-t0r" customClass="WishlistViewController" customModule="Airbnb" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="390" height="844"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
<color key="backgroundColor" systemColor="systemGreenColor"/>
</view>
<tabBarItem key="tabBarItem" title="Item" id="i5r-hh-xgK"/>
<navigationItem key="navigationItem" id="Hxv-x9-EjD"/>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-171" y="94"/>
<point key="canvasLocation" x="1854" y="94"/>
</scene>
<!--Item-->
<scene sceneID="Tjy-mW-9fI">
<objects>
<viewController id="xgU-pg-7KF" customClass="ReservationViewController" customModule="Airbnb" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="FFe-OG-T4Q">
<rect key="frame" x="0.0" y="0.0" width="390" height="844"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<viewLayoutGuide key="safeArea" id="1PE-gz-WON"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
</view>
<tabBarItem key="tabBarItem" title="Item" id="B95-l1-oSh"/>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="omV-6D-o5w" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1854" y="793"/>
</scene>
</scenes>
<resources>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
<systemColor name="systemGreenColor">
<color red="0.20392156862745098" green="0.7803921568627451" blue="0.34901960784313724" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</systemColor>
<systemColor name="systemYellowColor">
<color red="1" green="0.80000000000000004" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</systemColor>
</resources>
</document>
12 changes: 12 additions & 0 deletions iOS/Airbnb/Airbnb/ViewController/ReservationViewController.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//
// ReservationViewController.swift
// Airbnb
//
// Created by 이건행 on 2022/05/24.
//

import UIKit

class ReservationViewController:UIViewController {

}
12 changes: 12 additions & 0 deletions iOS/Airbnb/Airbnb/ViewController/SearchViewController.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//
// SearchViewController.swift
// Airbnb
//
// Created by 이건행 on 2022/05/24.
//

import UIKit

class SearchViewController:UIViewController {

}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import UIKit

class ViewController: UIViewController {
class WishlistViewController: UIViewController {

override func viewDidLoad() {
super.viewDidLoad()
Expand Down

0 comments on commit d470174

Please sign in to comment.