diff --git a/Eglaf/Storyboards/ProfileViewController.storyboard b/Eglaf/Storyboards/ProfileViewController.storyboard index f563f3c941c65334ad461d5d409ca649ff2ad768..abb2f73a69a20d4fa98bd9064d4cc6a13085ef86 100644 --- a/Eglaf/Storyboards/ProfileViewController.storyboard +++ b/Eglaf/Storyboards/ProfileViewController.storyboard @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="Dnw-PC-R0f"> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="t08-GN-b5T"> <device id="retina4_7" orientation="portrait"> <adaptation id="fullscreen"/> </device> @@ -9,21 +9,68 @@ <capability name="Safe area layout guides" minToolsVersion="9.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> + <customFonts key="customFonts"> + <array key="SF-Pro-Display-Bold.otf"> + <string>SFProDisplay-Bold</string> + </array> + </customFonts> <scenes> <!--ProfileViewController--> - <scene sceneID="PDj-mD-W1R"> + <scene sceneID="9n1-BX-Rbb"> <objects> - <viewController storyboardIdentifier="ProfileViewController" title="ProfileViewController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="Dnw-PC-R0f" customClass="ProfileViewController" customModule="Eglaf" customModuleProvider="target" sceneMemberID="viewController"> - <view key="view" contentMode="scaleToFill" id="sPX-3j-Nev"> + <viewController storyboardIdentifier="ProfileViewController" title="ProfileViewController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="t08-GN-b5T" customClass="ProfileViewController" customModule="Eglaf" customModuleProvider="target" sceneMemberID="viewController"> + <view key="view" contentMode="scaleToFill" id="Se2-YS-J9F"> <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> - <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> - <viewLayoutGuide key="safeArea" id="OvI-Zf-gt9"/> + <subviews> + <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="guy" translatesAutoresizingMaskIntoConstraints="NO" id="eca-Dd-MDE"> + <rect key="frame" x="117" y="32" width="140" height="140"/> + <constraints> + <constraint firstAttribute="width" constant="140" id="5tX-tx-tFg"/> + <constraint firstAttribute="height" constant="140" id="Z6q-8i-k0z"/> + </constraints> + </imageView> + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kyl-6A-QNK"> + <rect key="frame" x="216" y="153" width="37" height="37"/> + <color key="backgroundColor" red="0.0" green="0.97680455450000003" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> + <constraints> + <constraint firstAttribute="height" constant="37" id="IBr-i0-cMg"/> + <constraint firstAttribute="width" constant="37" id="sV8-Yy-zqZ"/> + </constraints> + <connections> + <action selector="editButtonPressed:" destination="t08-GN-b5T" eventType="touchUpInside" id="uWq-fk-pA2"/> + </connections> + </button> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Jára Cimrman" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dMM-Bj-E6s"> + <rect key="frame" x="16" y="192" width="343" height="20"/> + <fontDescription key="fontDescription" name="SFProDisplay-Bold" family="SF Pro Display" pointSize="17"/> + <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/> + <nil key="highlightedColor"/> + </label> + </subviews> + <color key="backgroundColor" red="0.0" green="0.1019607843" blue="0.2156862745" alpha="1" colorSpace="custom" customColorSpace="displayP3"/> + <constraints> + <constraint firstItem="dMM-Bj-E6s" firstAttribute="top" secondItem="eca-Dd-MDE" secondAttribute="bottom" constant="20" id="9Je-Bj-VWd"/> + <constraint firstItem="kyl-6A-QNK" firstAttribute="top" secondItem="X9T-Rj-YLN" secondAttribute="top" constant="133" id="IFb-BR-hmv"/> + <constraint firstItem="eca-Dd-MDE" firstAttribute="centerX" secondItem="Se2-YS-J9F" secondAttribute="centerX" id="eLD-cn-G3g"/> + <constraint firstItem="X9T-Rj-YLN" firstAttribute="trailing" secondItem="kyl-6A-QNK" secondAttribute="trailing" constant="122" id="jKG-0T-LAw"/> + <constraint firstItem="dMM-Bj-E6s" firstAttribute="leading" secondItem="X9T-Rj-YLN" secondAttribute="leading" constant="16" id="mv6-1a-duA"/> + <constraint firstItem="X9T-Rj-YLN" firstAttribute="trailing" secondItem="dMM-Bj-E6s" secondAttribute="trailing" constant="16" id="pDf-Rq-Fgc"/> + <constraint firstItem="eca-Dd-MDE" firstAttribute="top" secondItem="Se2-YS-J9F" secondAttribute="top" constant="32" id="ukY-Wg-Ge7"/> + </constraints> + <viewLayoutGuide key="safeArea" id="X9T-Rj-YLN"/> </view> + <connections> + <outlet property="editButton" destination="kyl-6A-QNK" id="fkm-bs-yLg"/> + <outlet property="profileImageView" destination="eca-Dd-MDE" id="qIF-f7-sIb"/> + </connections> </viewController> - <placeholder placeholderIdentifier="IBFirstResponder" id="MJt-O0-Sq2" userLabel="First Responder" sceneMemberID="firstResponder"/> + <placeholder placeholderIdentifier="IBFirstResponder" id="ZFX-eJ-Qce" userLabel="First Responder" sceneMemberID="firstResponder"/> </objects> - <point key="canvasLocation" x="70" y="173"/> + <point key="canvasLocation" x="141.59999999999999" y="121.88905547226388"/> </scene> </scenes> + <resources> + <image name="guy" width="600" height="600"/> + </resources> </document>