Skip to content

Commit 550db00

Browse files
committed
Fix launch screen + make welcome text smaller
Brick Hack -> BrickHack, whoops!
1 parent 82c4210 commit 550db00

2 files changed

Lines changed: 45 additions & 12 deletions

File tree

BrickHack-Mobile/Base.lproj/Main.storyboard

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="loginShapes" translatesAutoresizingMaskIntoConstraints="NO" id="QYc-0X-ayY">
2727
<rect key="frame" x="164" y="124.66666666666669" width="211" height="349"/>
2828
</imageView>
29-
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Welcome to 
Brick Hack" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" minimumFontSize="14" translatesAutoresizingMaskIntoConstraints="NO" id="xNm-NN-nc2">
30-
<rect key="frame" x="36" y="481.66666666666669" width="248" height="100.33333333333331"/>
31-
<fontDescription key="fontDescription" name="HelveticaNeue-Bold" family="Helvetica Neue" pointSize="42"/>
29+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Welcome to 
BrickHack" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" minimumFontSize="14" translatesAutoresizingMaskIntoConstraints="NO" id="xNm-NN-nc2">
30+
<rect key="frame" x="36" y="486.66666666666669" width="248" height="81.333333333333314"/>
31+
<fontDescription key="fontDescription" name="HelveticaNeue-Bold" family="Helvetica Neue" pointSize="34"/>
3232
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
3333
<nil key="highlightedColor"/>
3434
</label>
@@ -42,7 +42,7 @@
4242
<constraint firstItem="xNm-NN-nc2" firstAttribute="leading" secondItem="gwU-Z6-hc2" secondAttribute="leading" constant="36" id="Wqd-IP-uTV"/>
4343
<constraint firstAttribute="trailing" secondItem="QYc-0X-ayY" secondAttribute="trailing" id="n7k-0h-OAw"/>
4444
<constraint firstItem="QYc-0X-ayY" firstAttribute="centerY" secondItem="gwU-Z6-hc2" secondAttribute="centerY" id="sgu-SW-zdl"/>
45-
<constraint firstAttribute="bottom" secondItem="xNm-NN-nc2" secondAttribute="bottom" constant="16" id="xAc-d2-c93"/>
45+
<constraint firstAttribute="bottom" secondItem="xNm-NN-nc2" secondAttribute="bottom" constant="30" id="xAc-d2-c93"/>
4646
</constraints>
4747
</view>
4848
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="S1M-rC-LFC">
@@ -72,7 +72,7 @@
7272
</connections>
7373
</button>
7474
</subviews>
75-
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
75+
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
7676
<constraints>
7777
<constraint firstItem="Epc-Af-Z7K" firstAttribute="centerY" secondItem="S1M-rC-LFC" secondAttribute="centerY" id="bfG-W7-rez"/>
7878
<constraint firstItem="Epc-Af-Z7K" firstAttribute="centerX" secondItem="S1M-rC-LFC" secondAttribute="centerX" id="wC2-pA-aDq"/>
Lines changed: 40 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="zNB-F1-Vze">
3-
<device id="retina4_7" orientation="portrait">
4-
<adaptation id="fullscreen"/>
5-
</device>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="zNB-F1-Vze">
3+
<device id="retina4_7" orientation="portrait" appearance="light"/>
64
<dependencies>
75
<deployment identifier="iOS"/>
8-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15706"/>
7+
<capability name="Named colors" minToolsVersion="9.0"/>
98
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
109
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
1110
</dependencies>
@@ -17,14 +16,48 @@
1716
<view key="view" contentMode="scaleToFill" id="hIc-I3-XMI">
1817
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
1918
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
20-
<color key="backgroundColor" red="0.21747174859999999" green="0.27733260389999997" blue="0.34390062090000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
19+
<subviews>
20+
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="W8h-cH-efN">
21+
<rect key="frame" x="0.0" y="0.0" width="375" height="487"/>
22+
<subviews>
23+
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="brickHack6Logo" translatesAutoresizingMaskIntoConstraints="NO" id="baO-lg-ues">
24+
<rect key="frame" x="36" y="104" width="296" height="279"/>
25+
</imageView>
26+
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="loginShapes" translatesAutoresizingMaskIntoConstraints="NO" id="Vz7-XO-8iH">
27+
<rect key="frame" x="-47" y="-105.5" width="422" height="698"/>
28+
</imageView>
29+
</subviews>
30+
<color key="backgroundColor" name="primaryColor"/>
31+
<constraints>
32+
<constraint firstAttribute="trailing" secondItem="Vz7-XO-8iH" secondAttribute="trailing" id="74V-Xn-Byc"/>
33+
<constraint firstAttribute="trailing" secondItem="Vz7-XO-8iH" secondAttribute="trailing" id="7OA-4e-nHn"/>
34+
<constraint firstItem="baO-lg-ues" firstAttribute="leading" secondItem="W8h-cH-efN" secondAttribute="leading" constant="36" id="hd4-Zv-X8h"/>
35+
<constraint firstItem="baO-lg-ues" firstAttribute="centerY" secondItem="W8h-cH-efN" secondAttribute="centerY" id="kFR-BP-ydw"/>
36+
<constraint firstItem="Vz7-XO-8iH" firstAttribute="centerY" secondItem="W8h-cH-efN" secondAttribute="centerY" id="lMu-ws-dg6"/>
37+
</constraints>
38+
</view>
39+
</subviews>
40+
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
41+
<constraints>
42+
<constraint firstItem="4bi-QB-vgu" firstAttribute="bottom" secondItem="W8h-cH-efN" secondAttribute="bottom" constant="180" id="C9d-xx-mM5"/>
43+
<constraint firstItem="4bi-QB-vgu" firstAttribute="trailing" secondItem="W8h-cH-efN" secondAttribute="trailing" id="Q01-OU-a8Z"/>
44+
<constraint firstItem="W8h-cH-efN" firstAttribute="leading" secondItem="4bi-QB-vgu" secondAttribute="leading" id="W4n-x5-hM4"/>
45+
<constraint firstItem="W8h-cH-efN" firstAttribute="top" secondItem="4bi-QB-vgu" secondAttribute="top" id="jJ4-es-EWb"/>
46+
</constraints>
2147
<viewLayoutGuide key="safeArea" id="4bi-QB-vgu"/>
2248
</view>
2349
<nil key="simulatedTopBarMetrics"/>
2450
</viewController>
2551
<placeholder placeholderIdentifier="IBFirstResponder" id="n08-hQ-RY1" sceneMemberID="firstResponder"/>
2652
</objects>
27-
<point key="canvasLocation" x="947.82608695652186" y="132.58928571428572"/>
53+
<point key="canvasLocation" x="946.39999999999998" y="131.78410794602701"/>
2854
</scene>
2955
</scenes>
56+
<resources>
57+
<image name="brickHack6Logo" width="148" height="139.5"/>
58+
<image name="loginShapes" width="211" height="349"/>
59+
<namedColor name="primaryColor">
60+
<color red="0.96078431372549022" green="0.52549019607843139" blue="0.14509803921568629" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
61+
</namedColor>
62+
</resources>
3063
</document>

0 commit comments

Comments
 (0)