Skip to content

Commit 5d4bc3f

Browse files
committed
Updated Sponsors
1 parent 3d6891c commit 5d4bc3f

File tree

2 files changed

+22
-16
lines changed

2 files changed

+22
-16
lines changed

HackFSU/Base.lproj/Main.storyboard

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<rect key="frame" x="0.0" y="28" width="584" height="60"/>
4949
<autoresizingMask key="autoresizingMask"/>
5050
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="fRY-kM-L8L" id="lS9-ZN-e8h">
51-
<rect key="frame" x="0.0" y="0.0" width="584" height="59"/>
51+
<rect key="frame" x="0.0" y="0.0" width="584" height="59.5"/>
5252
<autoresizingMask key="autoresizingMask"/>
5353
<subviews>
5454
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" misplaced="YES" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zVP-T0-Wla">
@@ -95,7 +95,7 @@
9595
<rect key="frame" x="0.0" y="88" width="584" height="34"/>
9696
<autoresizingMask key="autoresizingMask"/>
9797
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="BmI-ze-Qys" id="4Ij-bw-ha9">
98-
<rect key="frame" x="0.0" y="0.0" width="584" height="33"/>
98+
<rect key="frame" x="0.0" y="0.0" width="584" height="33.5"/>
9999
<autoresizingMask key="autoresizingMask"/>
100100
<subviews>
101101
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gqr-ZC-MLS">
@@ -120,7 +120,7 @@
120120
<rect key="frame" x="0.0" y="122" width="584" height="60"/>
121121
<autoresizingMask key="autoresizingMask"/>
122122
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="tgg-kW-y6b" id="dNM-QB-d2C">
123-
<rect key="frame" x="0.0" y="0.0" width="584" height="59"/>
123+
<rect key="frame" x="0.0" y="0.0" width="584" height="59.5"/>
124124
<autoresizingMask key="autoresizingMask"/>
125125
<subviews>
126126
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4oM-NY-xhM">
@@ -243,7 +243,7 @@
243243
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="EvS-Fe-olg" sceneMemberID="viewController">
244244
<tabBarItem key="tabBarItem" title="Live Feed" image="news" selectedImage="news-filled" id="ckQ-Hu-QqX"/>
245245
<toolbarItems/>
246-
<navigationBar key="navigationBar" contentMode="scaleToFill" misplaced="YES" id="ZXy-3K-Acw">
246+
<navigationBar key="navigationBar" contentMode="scaleToFill" id="ZXy-3K-Acw">
247247
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
248248
<autoresizingMask key="autoresizingMask"/>
249249
<textAttributes key="titleTextAttributes">
@@ -465,7 +465,7 @@
465465
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="c1i-SZ-hiA" sceneMemberID="viewController">
466466
<tabBarItem key="tabBarItem" title="Map" image="map" selectedImage="map-filled" id="rLE-EM-wSA"/>
467467
<toolbarItems/>
468-
<navigationBar key="navigationBar" contentMode="scaleToFill" misplaced="YES" id="ZNd-cA-yMT">
468+
<navigationBar key="navigationBar" contentMode="scaleToFill" id="ZNd-cA-yMT">
469469
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
470470
<autoresizingMask key="autoresizingMask"/>
471471
</navigationBar>
@@ -491,7 +491,7 @@
491491
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
492492
<subviews>
493493
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="268" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="hLv-D0-r6D">
494-
<rect key="frame" x="10" y="20" width="580" height="780"/>
494+
<rect key="frame" x="10" y="9" width="580" height="791"/>
495495
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
496496
<color key="sectionIndexBackgroundColor" red="0.92941176469999998" green="0.92549019610000005" blue="0.95294117649999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
497497
<color key="sectionIndexTrackingBackgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
@@ -500,7 +500,7 @@
500500
<rect key="frame" x="0.0" y="28" width="580" height="415"/>
501501
<autoresizingMask key="autoresizingMask"/>
502502
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="2sa-ss-bgz" id="rDG-rL-34f">
503-
<rect key="frame" x="0.0" y="0.0" width="580" height="414"/>
503+
<rect key="frame" x="0.0" y="0.0" width="580" height="414.5"/>
504504
<autoresizingMask key="autoresizingMask"/>
505505
<subviews>
506506
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AZH-QW-T85">
@@ -537,7 +537,7 @@
537537
<rect key="frame" x="0.0" y="443" width="580" height="30"/>
538538
<autoresizingMask key="autoresizingMask"/>
539539
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="xjT-Ew-s9b" id="EJy-Dh-8VU">
540-
<rect key="frame" x="0.0" y="0.0" width="580" height="29"/>
540+
<rect key="frame" x="0.0" y="0.0" width="580" height="29.5"/>
541541
<autoresizingMask key="autoresizingMask"/>
542542
<subviews>
543543
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="j0G-st-f8K">
@@ -569,7 +569,7 @@
569569
<color key="backgroundColor" red="0.92941176469999998" green="0.92549019610000005" blue="0.95294117649999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
570570
<constraints>
571571
<constraint firstItem="hLv-D0-r6D" firstAttribute="leading" secondItem="nH2-wX-AwN" secondAttribute="leadingMargin" constant="-10" id="3Uo-6F-0NG"/>
572-
<constraint firstItem="hLv-D0-r6D" firstAttribute="top" secondItem="nH2-wX-AwN" secondAttribute="top" constant="20" symbolic="YES" id="Zoo-2h-fMW"/>
572+
<constraint firstItem="hLv-D0-r6D" firstAttribute="top" secondItem="nH2-wX-AwN" secondAttribute="top" constant="9" id="Zoo-2h-fMW"/>
573573
<constraint firstAttribute="bottom" secondItem="hLv-D0-r6D" secondAttribute="bottom" id="aot-aO-acK"/>
574574
<constraint firstItem="hLv-D0-r6D" firstAttribute="centerX" secondItem="nH2-wX-AwN" secondAttribute="centerX" id="dRU-Pv-KcC"/>
575575
</constraints>
@@ -584,15 +584,15 @@
584584
</viewController>
585585
<placeholder placeholderIdentifier="IBFirstResponder" id="Px5-qz-shi" userLabel="First Responder" sceneMemberID="firstResponder"/>
586586
</objects>
587-
<point key="canvasLocation" x="-1200" y="1517"/>
587+
<point key="canvasLocation" x="-1200" y="1516.6416791604199"/>
588588
</scene>
589589
<!--Mentors-->
590590
<scene sceneID="Dmj-1Z-7kl">
591591
<objects>
592592
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="igM-yZ-7y3" sceneMemberID="viewController">
593593
<tabBarItem key="tabBarItem" title="Mentors" image="yoda" selectedImage="yoda-filled" id="Wf0-4D-rna"/>
594594
<toolbarItems/>
595-
<navigationBar key="navigationBar" contentMode="scaleToFill" misplaced="YES" id="okb-G8-hB4">
595+
<navigationBar key="navigationBar" contentMode="scaleToFill" id="okb-G8-hB4">
596596
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
597597
<autoresizingMask key="autoresizingMask"/>
598598
</navigationBar>
@@ -611,7 +611,7 @@
611611
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="E8Q-EO-M2a" sceneMemberID="viewController">
612612
<tabBarItem key="tabBarItem" title="Sponsors" image="sponsor" selectedImage="sponsor-filled" id="7zy-bR-eTe"/>
613613
<toolbarItems/>
614-
<navigationBar key="navigationBar" contentMode="scaleToFill" misplaced="YES" id="JUW-mi-qgF">
614+
<navigationBar key="navigationBar" contentMode="scaleToFill" id="JUW-mi-qgF">
615615
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
616616
<autoresizingMask key="autoresizingMask"/>
617617
</navigationBar>
@@ -630,7 +630,7 @@
630630
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="egX-v9-cTO" sceneMemberID="viewController">
631631
<tabBarItem key="tabBarItem" title="Countdown" image="Clock" selectedImage="Clock Filled-50" id="9EZ-va-Njy"/>
632632
<toolbarItems/>
633-
<navigationBar key="navigationBar" contentMode="scaleToFill" misplaced="YES" id="oAA-nz-dd9">
633+
<navigationBar key="navigationBar" contentMode="scaleToFill" id="oAA-nz-dd9">
634634
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
635635
<autoresizingMask key="autoresizingMask"/>
636636
</navigationBar>
@@ -665,7 +665,7 @@
665665
<rect key="frame" x="0.0" y="28" width="580" height="423"/>
666666
<autoresizingMask key="autoresizingMask"/>
667667
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="67n-5F-cNp" id="WXD-yc-evG">
668-
<rect key="frame" x="0.0" y="0.0" width="580" height="422"/>
668+
<rect key="frame" x="0.0" y="0.0" width="580" height="422.5"/>
669669
<autoresizingMask key="autoresizingMask"/>
670670
<subviews>
671671
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" restorationIdentifier="PFImageView" translatesAutoresizingMaskIntoConstraints="NO" id="PeT-4c-TMe" customClass="PFImageView">

HackFSU/HFSponsor.swift

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,14 @@ class HFSponsor {
5050

5151
func setSponsorAspectValue(value: CGFloat) {
5252
if value <= 0.0 {
53-
self.sponsorAspectValue = 0.75
54-
} else {
53+
print("yo")
54+
self.sponsorAspectValue = 0.60
55+
}
56+
else if value > 0.60 {
57+
self.sponsorAspectValue = 0.60
58+
}
59+
60+
else {
5561
self.sponsorAspectValue = value
5662
}
5763
}

0 commit comments

Comments
 (0)