Skip to content

Commit

Permalink
Merge pull request #462 from PermanentOrg/feature/VSP-IOS-Splash-Screen
Browse files Browse the repository at this point in the history
VSP-1466[IOS] [Mobile] Splash Screen
  • Loading branch information
luciancerbu-vsp authored Nov 4, 2024
2 parents ff169d2 + ce52fcb commit 3d24cc9
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"compression-type" : "lossless"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "image 7.svg",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"compression-type" : "automatic"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 17 additions & 8 deletions Permanent/Resources/Storyboards/Base.lproj/Launch.storyboard
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="16097.3" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="23094" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23084"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
Expand All @@ -15,15 +17,19 @@
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="LogoNameLarge" translatesAutoresizingMaskIntoConstraints="NO" id="EOs-Ty-QhS" userLabel="Logo Image View">
<rect key="frame" x="103.5" y="265" width="207" height="226"/>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="SplashScreenLogo" translatesAutoresizingMaskIntoConstraints="NO" id="EOs-Ty-QhS" userLabel="Logo Image View">
<rect key="frame" x="141.5" y="398.5" width="131" height="99"/>
<constraints>
<constraint firstAttribute="width" secondItem="EOs-Ty-QhS" secondAttribute="height" multiplier="128/96" id="4y0-i3-tps"/>
</constraints>
</imageView>
</subviews>
<color key="backgroundColor" red="0.073621921239999999" green="0.1067599133" blue="0.29004743700000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<viewLayoutGuide key="safeArea" id="orq-xA-E86"/>
<color key="backgroundColor" name="DarkBlue"/>
<constraints>
<constraint firstAttribute="centerY" secondItem="EOs-Ty-QhS" secondAttribute="centerY" constant="70" id="A8c-i3-RKC"/>
<constraint firstAttribute="centerY" secondItem="EOs-Ty-QhS" secondAttribute="centerY" id="A8c-i3-RKC"/>
<constraint firstItem="EOs-Ty-QhS" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="F7g-cP-tND"/>
<constraint firstItem="EOs-Ty-QhS" firstAttribute="width" secondItem="Ze5-6b-2t3" secondAttribute="width" multiplier="0.5" id="egf-RU-lIV"/>
<constraint firstItem="EOs-Ty-QhS" firstAttribute="height" secondItem="Ze5-6b-2t3" secondAttribute="height" multiplier="0.11" id="JYy-cA-Onp"/>
</constraints>
</view>
</viewController>
Expand All @@ -33,6 +39,9 @@
</scene>
</scenes>
<resources>
<image name="LogoNameLarge" width="226" height="226"/>
<image name="SplashScreenLogo" width="171" height="128"/>
<namedColor name="DarkBlue">
<color red="0.074509803921568626" green="0.10588235294117647" blue="0.29019607843137257" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
</resources>
</document>
45 changes: 17 additions & 28 deletions Permanent/Resources/Storyboards/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="22505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="3PZ-n9-y83">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="23094" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="3PZ-n9-y83">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22504"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23084"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="collection view cell content view" minToolsVersion="11.0"/>
Expand Down Expand Up @@ -612,18 +612,24 @@
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="LogoNameLarge" translatesAutoresizingMaskIntoConstraints="NO" id="oo9-hm-gbO" userLabel="Logo Image View">
<rect key="frame" x="103.5" y="265" width="207" height="226"/>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="SplashScreenLogo" translatesAutoresizingMaskIntoConstraints="NO" id="oo9-hm-gbO" userLabel="Logo Image View">
<rect key="frame" x="141.5" y="398.5" width="131" height="99"/>
<constraints>
<constraint firstAttribute="width" secondItem="oo9-hm-gbO" secondAttribute="height" multiplier="128/96" id="9PG-ra-rfN"/>
</constraints>
</imageView>
</subviews>
<viewLayoutGuide key="safeArea" id="F77-pf-aVM"/>
<color key="backgroundColor" red="0.073621921239999999" green="0.1067599133" blue="0.29004743700000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="centerY" secondItem="oo9-hm-gbO" secondAttribute="centerY" constant="70" id="4kg-pi-x2O"/>
<constraint firstAttribute="centerY" secondItem="oo9-hm-gbO" secondAttribute="centerY" id="4kg-pi-x2O"/>
<constraint firstItem="oo9-hm-gbO" firstAttribute="centerX" secondItem="zew-Cv-ojT" secondAttribute="centerX" id="Lj8-oE-5vf"/>
<constraint firstItem="oo9-hm-gbO" firstAttribute="width" secondItem="zew-Cv-ojT" secondAttribute="width" multiplier="0.5" id="rHo-rN-9ZK"/>
<constraint firstItem="oo9-hm-gbO" firstAttribute="height" secondItem="zew-Cv-ojT" secondAttribute="height" multiplier="0.11" id="VYH-q9-XdF"/>
</constraints>
</view>
<connections>
<outlet property="view" destination="zew-Cv-ojT" id="bwB-Nw-RQh"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="7fE-Y0-bSq" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
Expand All @@ -637,11 +643,11 @@
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="LogoNameLarge" translatesAutoresizingMaskIntoConstraints="NO" id="7Uy-la-0d5" userLabel="Logo Image View">
<rect key="frame" x="103.5" y="265" width="207" height="226"/>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="SplashScreenLogo" translatesAutoresizingMaskIntoConstraints="NO" id="7Uy-la-0d5" userLabel="Logo Image View">
<rect key="frame" x="121.5" y="328.5" width="171" height="99"/>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" alpha="0.0" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DpQ-kV-g0n">
<rect key="frame" x="40" y="591" width="334" height="20.5"/>
<rect key="frame" x="40" y="527.5" width="334" height="20.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
Expand All @@ -661,13 +667,13 @@
<viewLayoutGuide key="safeArea" id="kaY-O8-Q7D"/>
<color key="backgroundColor" red="0.073621921239999999" green="0.1067599133" blue="0.29004743700000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="7Uy-la-0d5" firstAttribute="width" secondItem="bcV-OS-krO" secondAttribute="width" multiplier="0.5" id="3uC-OB-Bzh"/>
<constraint firstItem="DpQ-kV-g0n" firstAttribute="leading" secondItem="kaY-O8-Q7D" secondAttribute="leading" constant="40" id="Igi-c6-165"/>
<constraint firstItem="kaY-O8-Q7D" firstAttribute="bottom" secondItem="l0J-D5-XH6" secondAttribute="bottom" constant="-80" id="OOd-9f-u7t"/>
<constraint firstItem="DpQ-kV-g0n" firstAttribute="top" secondItem="7Uy-la-0d5" secondAttribute="bottom" constant="100" id="bYN-sG-AoO"/>
<constraint firstItem="kaY-O8-Q7D" firstAttribute="trailing" secondItem="l0J-D5-XH6" secondAttribute="trailing" constant="40" id="emC-QA-jBj"/>
<constraint firstItem="7Uy-la-0d5" firstAttribute="centerY" secondItem="bcV-OS-krO" secondAttribute="centerY" constant="-70" id="iVz-0L-uBo"/>
<constraint firstItem="kaY-O8-Q7D" firstAttribute="trailing" secondItem="DpQ-kV-g0n" secondAttribute="trailing" constant="40" id="kmU-oR-R46"/>
<constraint firstItem="7Uy-la-0d5" firstAttribute="height" secondItem="bcV-OS-krO" secondAttribute="height" multiplier="0.11" id="ogZ-zx-x8r"/>
<constraint firstItem="7Uy-la-0d5" firstAttribute="centerX" secondItem="bcV-OS-krO" secondAttribute="centerX" id="rYV-70-vUp"/>
<constraint firstItem="l0J-D5-XH6" firstAttribute="leading" secondItem="kaY-O8-Q7D" secondAttribute="leading" constant="40" id="tas-k5-3kW"/>
</constraints>
Expand Down Expand Up @@ -801,25 +807,8 @@
<point key="canvasLocation" x="-259" y="2334"/>
</scene>
</scenes>
<designables>
<designable name="Ern-RS-tpK">
<size key="intrinsicContentSize" width="46" height="30"/>
</designable>
<designable name="NyA-JK-Omz">
<size key="intrinsicContentSize" width="37" height="30"/>
</designable>
<designable name="POQ-5N-4NZ">
<size key="intrinsicContentSize" width="46" height="30"/>
</designable>
<designable name="l0J-D5-XH6">
<size key="intrinsicContentSize" width="80" height="34.5"/>
</designable>
<designable name="qjy-La-xkC">
<size key="intrinsicContentSize" width="46" height="30"/>
</designable>
</designables>
<resources>
<image name="LogoNameLarge" width="226" height="226"/>
<image name="SplashScreenLogo" width="171" height="128"/>
<image name="chevron.left" width="13" height="21"/>
<image name="devAppIcon" width="17" height="16"/>
<image name="placeholder" width="34" height="34"/>
Expand Down

0 comments on commit 3d24cc9

Please sign in to comment.