-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
164 additions
and
5 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
23 changes: 23 additions & 0 deletions
23
...ar/29th-week2-seminar/29th-week2-seminar/Assets.xcassets/SOPT_logo.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" : "SOPT_logo.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "SOPT_logo@2x.png", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "SOPT_logo@3x.png", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Binary file added
BIN
+12 KB
...ek2-seminar/29th-week2-seminar/Assets.xcassets/SOPT_logo.imageset/SOPT_logo.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
+28.6 KB
...-seminar/29th-week2-seminar/Assets.xcassets/SOPT_logo.imageset/SOPT_logo@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
+47.9 KB
...-seminar/29th-week2-seminar/Assets.xcassets/SOPT_logo.imageset/SOPT_logo@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
73 changes: 73 additions & 0 deletions
73
Seminar/29th-week2-seminar/29th-week2-seminar/AutoLayoutPractice.storyboard
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,73 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19162" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="Y6W-OH-hqX"> | ||
<device id="retina6_1" orientation="portrait" appearance="light"/> | ||
<dependencies> | ||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19144"/> | ||
<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="s0d-6b-0kx"> | ||
<objects> | ||
<viewController id="Y6W-OH-hqX" sceneMemberID="viewController"> | ||
<view key="view" contentMode="scaleToFill" id="5EZ-qb-Rvc"> | ||
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/> | ||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
<subviews> | ||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gRe-qh-qHi" userLabel="YellowView"> | ||
<rect key="frame" x="20" y="74" width="374" height="200"/> | ||
<color key="backgroundColor" systemColor="systemYellowColor"/> | ||
<constraints> | ||
<constraint firstAttribute="height" constant="200" id="hrd-uJ-nAX"/> | ||
</constraints> | ||
</view> | ||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ZRg-Qf-TCy" userLabel="GreenView"> | ||
<rect key="frame" x="20" y="324" width="150" height="488"/> | ||
<color key="backgroundColor" systemColor="systemGreenColor"/> | ||
<constraints> | ||
<constraint firstAttribute="width" constant="150" id="O5z-Yh-CaR"/> | ||
</constraints> | ||
</view> | ||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vsl-ap-qyS" userLabel="BlueView"> | ||
<rect key="frame" x="200" y="354" width="112" height="488"/> | ||
<color key="backgroundColor" systemColor="systemBlueColor"/> | ||
</view> | ||
</subviews> | ||
<viewLayoutGuide key="safeArea" id="vDu-zF-Fre"/> | ||
<color key="backgroundColor" systemColor="systemBackgroundColor"/> | ||
<constraints> | ||
<constraint firstItem="vsl-ap-qyS" firstAttribute="width" secondItem="gRe-qh-qHi" secondAttribute="width" multiplier="0.3" id="1Ii-Zy-uxK"/> | ||
<constraint firstItem="vDu-zF-Fre" firstAttribute="trailing" secondItem="gRe-qh-qHi" secondAttribute="trailing" constant="20" id="6y0-T4-deU"/> | ||
<constraint firstItem="vsl-ap-qyS" firstAttribute="leading" secondItem="ZRg-Qf-TCy" secondAttribute="trailing" constant="30" id="8Td-x3-fIP"/> | ||
<constraint firstItem="ZRg-Qf-TCy" firstAttribute="leading" secondItem="vDu-zF-Fre" secondAttribute="leading" constant="20" id="GkO-4p-dEI"/> | ||
<constraint firstItem="vsl-ap-qyS" firstAttribute="height" secondItem="ZRg-Qf-TCy" secondAttribute="height" id="Jvg-7x-FHi"/> | ||
<constraint firstItem="vDu-zF-Fre" firstAttribute="bottom" secondItem="ZRg-Qf-TCy" secondAttribute="bottom" constant="50" id="Rgv-D4-Ihe"/> | ||
<constraint firstItem="gRe-qh-qHi" firstAttribute="top" secondItem="vDu-zF-Fre" secondAttribute="top" constant="30" id="SDw-Oo-Q8i"/> | ||
<constraint firstItem="ZRg-Qf-TCy" firstAttribute="top" secondItem="gRe-qh-qHi" secondAttribute="bottom" constant="50" id="ZUq-vc-pPb"/> | ||
<constraint firstItem="gRe-qh-qHi" firstAttribute="leading" secondItem="vDu-zF-Fre" secondAttribute="leading" constant="20" id="nmJ-wa-5yL"/> | ||
<constraint firstItem="vsl-ap-qyS" firstAttribute="top" secondItem="gRe-qh-qHi" secondAttribute="bottom" constant="80" id="pXR-Zg-LN9"/> | ||
</constraints> | ||
</view> | ||
</viewController> | ||
<placeholder placeholderIdentifier="IBFirstResponder" id="Ief-a0-LHa" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/> | ||
</objects> | ||
<point key="canvasLocation" x="131.8840579710145" y="102.45535714285714"/> | ||
</scene> | ||
</scenes> | ||
<resources> | ||
<systemColor name="systemBackgroundColor"> | ||
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
</systemColor> | ||
<systemColor name="systemBlueColor"> | ||
<color red="0.0" green="0.47843137254901963" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
</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> |
69 changes: 64 additions & 5 deletions
69
Seminar/29th-week2-seminar/29th-week2-seminar/Base.lproj/Main.storyboard
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 |
---|---|---|
@@ -1,24 +1,83 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r"> | ||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19162" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r"> | ||
<device id="retina6_1" orientation="portrait" appearance="light"/> | ||
<dependencies> | ||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/> | ||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19144"/> | ||
<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"> | ||
<objects> | ||
<viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController"> | ||
<viewController id="BYZ-38-t0r" customClass="ViewController" customModule="_9th_week2_seminar" customModuleProvider="target" sceneMemberID="viewController"> | ||
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC"> | ||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/> | ||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/> | ||
<subviews> | ||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="For You" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rGK-oq-wrO"> | ||
<rect key="frame" x="25" y="108" width="117.5" height="41"/> | ||
<fontDescription key="fontDescription" type="boldSystem" pointSize="34"/> | ||
<nil key="textColor"/> | ||
<nil key="highlightedColor"/> | ||
</label> | ||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="n22-fC-Tlg"> | ||
<rect key="frame" x="22" y="167" width="349" height="1"/> | ||
<color key="backgroundColor" red="0.88235294117647056" green="0.88235294117647056" blue="0.88235294117647056" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
<constraints> | ||
<constraint firstAttribute="height" constant="1" id="oad-q0-DSb"/> | ||
</constraints> | ||
</view> | ||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Memories" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mBG-8O-cHd"> | ||
<rect key="frame" x="24" y="178" width="112" height="29"/> | ||
<fontDescription key="fontDescription" type="boldSystem" pointSize="24"/> | ||
<nil key="textColor"/> | ||
<nil key="highlightedColor"/> | ||
</label> | ||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5PB-tF-fXY"> | ||
<rect key="frame" x="320" y="178" width="79" height="36"/> | ||
<state key="normal" title="Button"/> | ||
<buttonConfiguration key="configuration" style="plain" title="See All"> | ||
<fontDescription key="titleFontDescription" type="system" pointSize="18"/> | ||
</buttonConfiguration> | ||
</button> | ||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="SOPT_logo" translatesAutoresizingMaskIntoConstraints="NO" id="kgy-Ma-Dev"> | ||
<rect key="frame" x="28" y="235" width="358" height="400"/> | ||
<constraints> | ||
<constraint firstAttribute="height" constant="400" id="14R-nk-BsX"/> | ||
</constraints> | ||
</imageView> | ||
</subviews> | ||
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/> | ||
<color key="backgroundColor" systemColor="systemBackgroundColor"/> | ||
<constraints> | ||
<constraint firstItem="kgy-Ma-Dev" firstAttribute="leading" secondItem="6Tk-OE-BBY" secondAttribute="leading" constant="28" id="7Eb-bA-7WM"/> | ||
<constraint firstItem="5PB-tF-fXY" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="mBG-8O-cHd" secondAttribute="trailing" constant="8" symbolic="YES" id="ERq-kA-IrL"/> | ||
<constraint firstItem="n22-fC-Tlg" firstAttribute="leading" secondItem="6Tk-OE-BBY" secondAttribute="leading" constant="22" id="Ec8-Vd-VS3"/> | ||
<constraint firstAttribute="trailingMargin" secondItem="n22-fC-Tlg" secondAttribute="trailing" constant="23" id="FrL-rS-dap"/> | ||
<constraint firstItem="rGK-oq-wrO" firstAttribute="leading" secondItem="6Tk-OE-BBY" secondAttribute="leading" constant="25" id="I31-Vp-quL"/> | ||
<constraint firstItem="mBG-8O-cHd" firstAttribute="top" secondItem="n22-fC-Tlg" secondAttribute="bottom" constant="10" id="Kkx-ww-ZGw"/> | ||
<constraint firstItem="6Tk-OE-BBY" firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="rGK-oq-wrO" secondAttribute="trailing" symbolic="YES" id="QVf-Nu-dU0"/> | ||
<constraint firstItem="6Tk-OE-BBY" firstAttribute="trailing" secondItem="5PB-tF-fXY" secondAttribute="trailing" constant="15" id="WKe-EK-H6b"/> | ||
<constraint firstItem="kgy-Ma-Dev" firstAttribute="top" secondItem="mBG-8O-cHd" secondAttribute="bottom" constant="28" id="aX4-hd-gY7"/> | ||
<constraint firstItem="mBG-8O-cHd" firstAttribute="leading" secondItem="6Tk-OE-BBY" secondAttribute="leading" constant="24" id="bcI-QW-Qyq"/> | ||
<constraint firstItem="6Tk-OE-BBY" firstAttribute="trailing" secondItem="kgy-Ma-Dev" secondAttribute="trailing" constant="28" id="csL-zB-cQi"/> | ||
<constraint firstItem="5PB-tF-fXY" firstAttribute="top" secondItem="n22-fC-Tlg" secondAttribute="bottom" constant="10" id="l88-IH-9jI"/> | ||
<constraint firstItem="rGK-oq-wrO" firstAttribute="top" secondItem="6Tk-OE-BBY" secondAttribute="top" constant="64" id="pbZ-IV-grj"/> | ||
<constraint firstItem="n22-fC-Tlg" firstAttribute="top" secondItem="rGK-oq-wrO" secondAttribute="bottom" constant="18" id="tJH-Yb-YV5"/> | ||
</constraints> | ||
</view> | ||
</viewController> | ||
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/> | ||
</objects> | ||
<point key="canvasLocation" x="132" y="116"/> | ||
</scene> | ||
</scenes> | ||
<resources> | ||
<image name="SOPT_logo" width="319" height="400"/> | ||
<systemColor name="systemBackgroundColor"> | ||
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
</systemColor> | ||
</resources> | ||
</document> |