Selaa lähdekoodia

Improved Select view

marinofaggiana 4 vuotta sitten
vanhempi
commit
13158814d8
1 muutettua tiedostoa jossa 78 lisäystä ja 0 poistoa
  1. 78 0
      iOSClient/Select/NCSelectCommandViewSelect+CreateFolder.xib

+ 78 - 0
iOSClient/Select/NCSelectCommandViewSelect+CreateFolder.xib

@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
+    <device id="retina3_5" orientation="portrait" appearance="light"/>
+    <dependencies>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
+        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
+        <capability name="System colors in document resources" minToolsVersion="11.0"/>
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+    </dependencies>
+    <objects>
+        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
+        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
+        <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="NCSelectCommandView" customModule="Nextcloud" customModuleProvider="target">
+            <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
+            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+            <subviews>
+                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Hnf-K7-plh">
+                    <rect key="frame" x="180" y="225" width="120" height="30"/>
+                    <constraints>
+                        <constraint firstAttribute="width" constant="120" id="hNM-l8-5EZ"/>
+                        <constraint firstAttribute="height" constant="30" id="u76-eq-MhY"/>
+                    </constraints>
+                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
+                    <state key="normal" title="Select"/>
+                    <connections>
+                        <action selector="selectButtonPressed:" destination="iN0-l3-epB" eventType="touchUpInside" id="Sv5-p0-quT"/>
+                    </connections>
+                </button>
+                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xmS-E7-44n">
+                    <rect key="frame" x="0.0" y="0.0" width="320" height="1"/>
+                    <color key="backgroundColor" systemColor="opaqueSeparatorColor"/>
+                    <constraints>
+                        <constraint firstAttribute="height" constant="1" id="HLl-PW-5av"/>
+                    </constraints>
+                </view>
+                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="iw1-z7-Ulz">
+                    <rect key="frame" x="20" y="225" width="120" height="30"/>
+                    <constraints>
+                        <constraint firstAttribute="height" constant="30" id="Bat-f2-vWJ"/>
+                        <constraint firstAttribute="width" constant="120" id="uLS-hh-RtK"/>
+                    </constraints>
+                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
+                    <state key="normal" title="Create  folder"/>
+                    <connections>
+                        <action selector="createFolderButtonPressed:" destination="iN0-l3-epB" eventType="touchUpInside" id="Lfp-5d-sgv"/>
+                    </connections>
+                </button>
+            </subviews>
+            <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
+            <color key="backgroundColor" systemColor="systemBackgroundColor"/>
+            <constraints>
+                <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="Hnf-K7-plh" secondAttribute="trailing" constant="20" id="49y-gw-FQN"/>
+                <constraint firstItem="xmS-E7-44n" firstAttribute="top" secondItem="vUN-kp-3ea" secondAttribute="top" id="CiY-20-2Gk"/>
+                <constraint firstItem="xmS-E7-44n" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" id="IWq-yN-wAO"/>
+                <constraint firstItem="iw1-z7-Ulz" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="20" id="b8g-gg-Apj"/>
+                <constraint firstItem="iw1-z7-Ulz" firstAttribute="centerY" secondItem="vUN-kp-3ea" secondAttribute="centerY" id="e34-ws-R7V"/>
+                <constraint firstItem="Hnf-K7-plh" firstAttribute="centerY" secondItem="vUN-kp-3ea" secondAttribute="centerY" id="lf3-1a-P6a"/>
+                <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="xmS-E7-44n" secondAttribute="trailing" id="sg2-b1-tqE"/>
+            </constraints>
+            <connections>
+                <outlet property="createFolderButton" destination="iw1-z7-Ulz" id="EMv-UC-IBh"/>
+                <outlet property="selectButton" destination="Hnf-K7-plh" id="hTj-bA-h3I"/>
+                <outlet property="separatorHeightConstraint" destination="HLl-PW-5av" id="Zjf-UY-YAw"/>
+                <outlet property="separatorView" destination="xmS-E7-44n" id="9YB-B1-j8j"/>
+            </connections>
+            <point key="canvasLocation" x="-249" y="153"/>
+        </view>
+    </objects>
+    <resources>
+        <systemColor name="opaqueSeparatorColor">
+            <color red="0.77647058823529413" green="0.77647058823529413" blue="0.78431372549019607" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+        </systemColor>
+        <systemColor name="systemBackgroundColor">
+            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+        </systemColor>
+    </resources>
+</document>