Skip to content
This repository was archived by the owner on May 18, 2021. It is now read-only.

Commit 73eabba

Browse files
committed
Project 04 - SnapChatMenu
1 parent 74f1ede commit 73eabba

File tree

9 files changed

+62
-25
lines changed

9 files changed

+62
-25
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"scale" : "1x"
6+
},
7+
{
8+
"idiom" : "universal",
9+
"filename" : "[email protected]",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"version" : 1,
19+
"author" : "xcode"
20+
}
21+
}
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"scale" : "1x"
6+
},
7+
{
8+
"idiom" : "universal",
9+
"filename" : "[email protected]",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"version" : 1,
19+
"author" : "xcode"
20+
}
21+
}
Loading

Project 04 - SnapChatMenu/Snapchat Menu/LeftViewController.xib

+10-12
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,19 @@
1919
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
2020
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
2121
<subviews>
22-
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="您可以左滑看看" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cmF-BZ-1ju">
23-
<rect key="frame" x="126.5" y="583" width="122" height="20"/>
24-
<constraints>
25-
<constraint firstAttribute="height" constant="20" id="E7s-K5-YIz"/>
26-
<constraint firstAttribute="width" constant="122" id="V0o-Hi-wfd"/>
27-
</constraints>
28-
<fontDescription key="fontDescription" type="system" pointSize="16"/>
29-
<nil key="highlightedColor"/>
30-
</label>
22+
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="left" translatesAutoresizingMaskIntoConstraints="NO" id="GpA-ch-bG7">
23+
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
24+
</imageView>
3125
</subviews>
32-
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
3326
<constraints>
34-
<constraint firstAttribute="bottom" secondItem="cmF-BZ-1ju" secondAttribute="bottom" constant="64" id="gHm-yH-cM3"/>
35-
<constraint firstItem="cmF-BZ-1ju" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="sxd-4h-MyQ"/>
27+
<constraint firstAttribute="trailing" secondItem="GpA-ch-bG7" secondAttribute="trailing" id="1bz-iv-3Wh"/>
28+
<constraint firstItem="GpA-ch-bG7" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="apf-Ac-N5G"/>
29+
<constraint firstAttribute="bottom" secondItem="GpA-ch-bG7" secondAttribute="bottom" id="inQ-MC-luK"/>
30+
<constraint firstItem="GpA-ch-bG7" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="n7k-fk-UNs"/>
3631
</constraints>
3732
</view>
3833
</objects>
34+
<resources>
35+
<image name="left" width="320" height="568"/>
36+
</resources>
3937
</document>

Project 04 - SnapChatMenu/Snapchat Menu/RightViewController.xib

+10-13
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,19 @@
1919
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
2020
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
2121
<subviews>
22-
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="您可以右滑看看" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7hu-R2-a2h">
23-
<rect key="frame" x="126" y="583" width="122" height="20"/>
24-
<constraints>
25-
<constraint firstAttribute="height" constant="20" id="6jT-2r-66F"/>
26-
<constraint firstAttribute="width" constant="122" id="FEq-oY-c9A"/>
27-
</constraints>
28-
<fontDescription key="fontDescription" type="system" pointSize="16"/>
29-
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
30-
<nil key="highlightedColor"/>
31-
</label>
22+
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="right" translatesAutoresizingMaskIntoConstraints="NO" id="wKX-eV-GMw">
23+
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
24+
</imageView>
3225
</subviews>
33-
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
3426
<constraints>
35-
<constraint firstAttribute="bottom" secondItem="7hu-R2-a2h" secondAttribute="bottom" constant="64" id="4c7-JO-NwN"/>
36-
<constraint firstItem="7hu-R2-a2h" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="H2l-6h-XUX"/>
27+
<constraint firstAttribute="trailing" secondItem="wKX-eV-GMw" secondAttribute="trailing" id="R94-Sl-i0e"/>
28+
<constraint firstAttribute="bottom" secondItem="wKX-eV-GMw" secondAttribute="bottom" id="T6k-13-4qs"/>
29+
<constraint firstItem="wKX-eV-GMw" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="a04-ZD-akj"/>
30+
<constraint firstItem="wKX-eV-GMw" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="uze-RI-bHQ"/>
3731
</constraints>
3832
</view>
3933
</objects>
34+
<resources>
35+
<image name="right" width="320" height="568"/>
36+
</resources>
4037
</document>
-22.3 MB
Loading

0 commit comments

Comments
 (0)