Commit 7b7581e89d58ceb7612b6692e70fd4ae25f034cb
1 parent
be292bf5c7
Exists in
master
Fixed: 2348, 2349
Showing 8 changed files with 440 additions and 259 deletions Inline Diff
- App/Base.lproj/Main.storyboard
- App/camera/board/Board.swift
- App/commons/CellMucChupWithCamera.swift
- App/listCtruong/VCShootItemList.swift
- GeneralUtils/GeneralUtils.xcodeproj/project.xcworkspace/xcuserdata/ptran.xcuserdatad/UserInterfaceState.xcuserstate
- GeneralUtils/GeneralUtils/libs/SCLAlertView/SCLAlertView.swift
- GeneralUtils/GeneralUtils/libs/SCLAlertView/SCLExtensions.swift
- Morooka.xcworkspace/xcuserdata/ptran.xcuserdatad/UserInterfaceState.xcuserstate
App/Base.lproj/Main.storyboard
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
2 | <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1004" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="gan-7y-N56"> | 2 | <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1004" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="gan-7y-N56"> |
3 | <device id="retina4_7" orientation="portrait"> | 3 | <device id="retina4_7" orientation="portrait"> |
4 | <adaptation id="fullscreen"/> | 4 | <adaptation id="fullscreen"/> |
5 | </device> | 5 | </device> |
6 | <dependencies> | 6 | <dependencies> |
7 | <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/> | 7 | <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/> |
8 | <capability name="Constraints to layout margins" minToolsVersion="6.0"/> | 8 | <capability name="Constraints to layout margins" minToolsVersion="6.0"/> |
9 | <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | 9 | <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> |
10 | </dependencies> | 10 | </dependencies> |
11 | <scenes> | 11 | <scenes> |
12 | <!--Input Id--> | 12 | <!--Input Id--> |
13 | <scene sceneID="tne-QT-ifu"> | 13 | <scene sceneID="tne-QT-ifu"> |
14 | <objects> | 14 | <objects> |
15 | <viewController storyboardIdentifier="VCInputId" useStoryboardIdentifierAsRestorationIdentifier="YES" id="BYZ-38-t0r" customClass="VCInputId" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> | 15 | <viewController storyboardIdentifier="VCInputId" useStoryboardIdentifierAsRestorationIdentifier="YES" id="BYZ-38-t0r" customClass="VCInputId" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> |
16 | <layoutGuides> | 16 | <layoutGuides> |
17 | <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/> | 17 | <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/> |
18 | <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/> | 18 | <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/> |
19 | </layoutGuides> | 19 | </layoutGuides> |
20 | <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC"> | 20 | <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC"> |
21 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 21 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
22 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 22 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
23 | <subviews> | 23 | <subviews> |
24 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon" translatesAutoresizingMaskIntoConstraints="NO" id="GE5-4h-h6l"> | 24 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon" translatesAutoresizingMaskIntoConstraints="NO" id="GE5-4h-h6l"> |
25 | <rect key="frame" x="0.0" y="70" width="375" height="250"/> | 25 | <rect key="frame" x="0.0" y="70" width="375" height="250"/> |
26 | <constraints> | 26 | <constraints> |
27 | <constraint firstAttribute="height" constant="250" id="Jw7-HJ-YHQ"/> | 27 | <constraint firstAttribute="height" constant="250" id="Jw7-HJ-YHQ"/> |
28 | </constraints> | 28 | </constraints> |
29 | </imageView> | 29 | </imageView> |
30 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="MOROOKA" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="x87-AB-7nM"> | 30 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="MOROOKA" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="x87-AB-7nM"> |
31 | <rect key="frame" x="79" y="335" width="217" height="48"/> | 31 | <rect key="frame" x="79" y="335" width="217" height="48"/> |
32 | <fontDescription key="fontDescription" type="system" weight="black" pointSize="40"/> | 32 | <fontDescription key="fontDescription" type="system" weight="black" pointSize="40"/> |
33 | <nil key="highlightedColor"/> | 33 | <nil key="highlightedColor"/> |
34 | </label> | 34 | </label> |
35 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ID を入力してください" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="e9u-iz-nDa"> | 35 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ID を入力してください" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="e9u-iz-nDa"> |
36 | <rect key="frame" x="93.5" y="433" width="189.5" height="20.5"/> | 36 | <rect key="frame" x="93.5" y="433" width="189.5" height="20.5"/> |
37 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 37 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
38 | <nil key="textColor"/> | 38 | <nil key="textColor"/> |
39 | <nil key="highlightedColor"/> | 39 | <nil key="highlightedColor"/> |
40 | </label> | 40 | </label> |
41 | <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="bezel" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="dOH-AX-65c"> | 41 | <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="bezel" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="dOH-AX-65c"> |
42 | <rect key="frame" x="84" y="461.5" width="208" height="35"/> | 42 | <rect key="frame" x="84" y="461.5" width="208" height="35"/> |
43 | <constraints> | 43 | <constraints> |
44 | <constraint firstAttribute="width" constant="208" id="8he-vV-r58"/> | 44 | <constraint firstAttribute="width" constant="208" id="8he-vV-r58"/> |
45 | <constraint firstAttribute="height" constant="35" id="Cda-DG-p3q"/> | 45 | <constraint firstAttribute="height" constant="35" id="Cda-DG-p3q"/> |
46 | </constraints> | 46 | </constraints> |
47 | <nil key="textColor"/> | 47 | <nil key="textColor"/> |
48 | <fontDescription key="fontDescription" type="system" pointSize="14"/> | 48 | <fontDescription key="fontDescription" type="system" pointSize="14"/> |
49 | <textInputTraits key="textInputTraits" returnKeyType="done"/> | 49 | <textInputTraits key="textInputTraits" returnKeyType="done"/> |
50 | <connections> | 50 | <connections> |
51 | <action selector="edtActionTrigerClick:" destination="BYZ-38-t0r" eventType="primaryActionTriggered" id="0HU-j2-8zD"/> | 51 | <action selector="edtActionTrigerClick:" destination="BYZ-38-t0r" eventType="primaryActionTriggered" id="0HU-j2-8zD"/> |
52 | </connections> | 52 | </connections> |
53 | </textField> | 53 | </textField> |
54 | <stackView opaque="NO" contentMode="scaleToFill" spacing="25" translatesAutoresizingMaskIntoConstraints="NO" id="HyC-wj-DlR"> | 54 | <stackView opaque="NO" contentMode="scaleToFill" spacing="25" translatesAutoresizingMaskIntoConstraints="NO" id="HyC-wj-DlR"> |
55 | <rect key="frame" x="65" y="525.5" width="245" height="35"/> | 55 | <rect key="frame" x="65" y="525.5" width="245" height="35"/> |
56 | <subviews> | 56 | <subviews> |
57 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="FJg-91-nOA" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 57 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="FJg-91-nOA" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
58 | <rect key="frame" x="0.0" y="0.0" width="110" height="35"/> | 58 | <rect key="frame" x="0.0" y="0.0" width="110" height="35"/> |
59 | <constraints> | 59 | <constraints> |
60 | <constraint firstAttribute="width" constant="110" id="1De-ta-3b8"/> | 60 | <constraint firstAttribute="width" constant="110" id="1De-ta-3b8"/> |
61 | <constraint firstAttribute="height" constant="35" id="4Gb-CM-qPm"/> | 61 | <constraint firstAttribute="height" constant="35" id="4Gb-CM-qPm"/> |
62 | </constraints> | 62 | </constraints> |
63 | <state key="normal"> | 63 | <state key="normal"> |
64 | <string key="title">ID発行 | 64 | <string key="title">ID発行 |
65 | </string> | 65 | </string> |
66 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 66 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
67 | </state> | 67 | </state> |
68 | <userDefinedRuntimeAttributes> | 68 | <userDefinedRuntimeAttributes> |
69 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 69 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
70 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 70 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
71 | <real key="value" value="5"/> | 71 | <real key="value" value="5"/> |
72 | </userDefinedRuntimeAttribute> | 72 | </userDefinedRuntimeAttribute> |
73 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 73 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
74 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 74 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
75 | </userDefinedRuntimeAttribute> | 75 | </userDefinedRuntimeAttribute> |
76 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 76 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
77 | <real key="value" value="1"/> | 77 | <real key="value" value="1"/> |
78 | </userDefinedRuntimeAttribute> | 78 | </userDefinedRuntimeAttribute> |
79 | </userDefinedRuntimeAttributes> | 79 | </userDefinedRuntimeAttributes> |
80 | <connections> | 80 | <connections> |
81 | <action selector="btnUnknowClick:" destination="BYZ-38-t0r" eventType="touchUpInside" id="SRN-bx-Uzr"/> | 81 | <action selector="btnUnknowClick:" destination="BYZ-38-t0r" eventType="touchUpInside" id="SRN-bx-Uzr"/> |
82 | </connections> | 82 | </connections> |
83 | </button> | 83 | </button> |
84 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="fUH-cG-MWB" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 84 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="fUH-cG-MWB" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
85 | <rect key="frame" x="135" y="0.0" width="110" height="35"/> | 85 | <rect key="frame" x="135" y="0.0" width="110" height="35"/> |
86 | <constraints> | 86 | <constraints> |
87 | <constraint firstAttribute="height" constant="35" id="RWe-KK-i3J"/> | 87 | <constraint firstAttribute="height" constant="35" id="RWe-KK-i3J"/> |
88 | <constraint firstAttribute="width" constant="110" id="xVa-kj-j9p"/> | 88 | <constraint firstAttribute="width" constant="110" id="xVa-kj-j9p"/> |
89 | </constraints> | 89 | </constraints> |
90 | <state key="normal"> | 90 | <state key="normal"> |
91 | <string key="title">次へ | 91 | <string key="title">次へ |
92 | </string> | 92 | </string> |
93 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 93 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
94 | </state> | 94 | </state> |
95 | <userDefinedRuntimeAttributes> | 95 | <userDefinedRuntimeAttributes> |
96 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 96 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
97 | <real key="value" value="5"/> | 97 | <real key="value" value="5"/> |
98 | </userDefinedRuntimeAttribute> | 98 | </userDefinedRuntimeAttribute> |
99 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 99 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
100 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 100 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
101 | </userDefinedRuntimeAttribute> | 101 | </userDefinedRuntimeAttribute> |
102 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 102 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
103 | <real key="value" value="1"/> | 103 | <real key="value" value="1"/> |
104 | </userDefinedRuntimeAttribute> | 104 | </userDefinedRuntimeAttribute> |
105 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 105 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
106 | </userDefinedRuntimeAttributes> | 106 | </userDefinedRuntimeAttributes> |
107 | <connections> | 107 | <connections> |
108 | <action selector="btnNextClick:" destination="BYZ-38-t0r" eventType="touchUpInside" id="I1r-c6-pUa"/> | 108 | <action selector="btnNextClick:" destination="BYZ-38-t0r" eventType="touchUpInside" id="I1r-c6-pUa"/> |
109 | </connections> | 109 | </connections> |
110 | </button> | 110 | </button> |
111 | </subviews> | 111 | </subviews> |
112 | </stackView> | 112 | </stackView> |
113 | </subviews> | 113 | </subviews> |
114 | <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 114 | <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
115 | <constraints> | 115 | <constraints> |
116 | <constraint firstItem="dOH-AX-65c" firstAttribute="top" secondItem="e9u-iz-nDa" secondAttribute="bottom" constant="8" id="BLT-o6-DUK"/> | 116 | <constraint firstItem="dOH-AX-65c" firstAttribute="top" secondItem="e9u-iz-nDa" secondAttribute="bottom" constant="8" id="BLT-o6-DUK"/> |
117 | <constraint firstItem="HyC-wj-DlR" firstAttribute="top" secondItem="dOH-AX-65c" secondAttribute="bottom" constant="29" id="EeU-nw-KG9"/> | 117 | <constraint firstItem="HyC-wj-DlR" firstAttribute="top" secondItem="dOH-AX-65c" secondAttribute="bottom" constant="29" id="EeU-nw-KG9"/> |
118 | <constraint firstItem="HyC-wj-DlR" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="Gjo-Pq-ZJ5"/> | 118 | <constraint firstItem="HyC-wj-DlR" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="Gjo-Pq-ZJ5"/> |
119 | <constraint firstItem="e9u-iz-nDa" firstAttribute="top" secondItem="x87-AB-7nM" secondAttribute="bottom" constant="50" id="MC4-vC-nx1"/> | 119 | <constraint firstItem="e9u-iz-nDa" firstAttribute="top" secondItem="x87-AB-7nM" secondAttribute="bottom" constant="50" id="MC4-vC-nx1"/> |
120 | <constraint firstItem="GE5-4h-h6l" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" id="bvZ-Vd-MqS"/> | 120 | <constraint firstItem="GE5-4h-h6l" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" id="bvZ-Vd-MqS"/> |
121 | <constraint firstItem="dOH-AX-65c" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="fC7-19-kAM"/> | 121 | <constraint firstItem="dOH-AX-65c" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="fC7-19-kAM"/> |
122 | <constraint firstAttribute="trailing" secondItem="GE5-4h-h6l" secondAttribute="trailing" id="gjw-r6-8MX"/> | 122 | <constraint firstAttribute="trailing" secondItem="GE5-4h-h6l" secondAttribute="trailing" id="gjw-r6-8MX"/> |
123 | <constraint firstItem="x87-AB-7nM" firstAttribute="top" secondItem="GE5-4h-h6l" secondAttribute="bottom" constant="15" id="kd3-s5-5ND"/> | 123 | <constraint firstItem="x87-AB-7nM" firstAttribute="top" secondItem="GE5-4h-h6l" secondAttribute="bottom" constant="15" id="kd3-s5-5ND"/> |
124 | <constraint firstItem="x87-AB-7nM" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="lPG-Em-6HS"/> | 124 | <constraint firstItem="x87-AB-7nM" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="lPG-Em-6HS"/> |
125 | <constraint firstItem="GE5-4h-h6l" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="50" id="mG9-Oe-sKS"/> | 125 | <constraint firstItem="GE5-4h-h6l" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="50" id="mG9-Oe-sKS"/> |
126 | <constraint firstItem="e9u-iz-nDa" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="umT-TC-fRz"/> | 126 | <constraint firstItem="e9u-iz-nDa" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="umT-TC-fRz"/> |
127 | </constraints> | 127 | </constraints> |
128 | </view> | 128 | </view> |
129 | <connections> | 129 | <connections> |
130 | <outlet property="edtId" destination="dOH-AX-65c" id="lJ4-Qs-2V5"/> | 130 | <outlet property="edtId" destination="dOH-AX-65c" id="lJ4-Qs-2V5"/> |
131 | <outlet property="topMargin" destination="mG9-Oe-sKS" id="4hZ-Dc-mD0"/> | 131 | <outlet property="topMargin" destination="mG9-Oe-sKS" id="4hZ-Dc-mD0"/> |
132 | </connections> | 132 | </connections> |
133 | </viewController> | 133 | </viewController> |
134 | <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/> | 134 | <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/> |
135 | </objects> | 135 | </objects> |
136 | <point key="canvasLocation" x="-289" y="14"/> | 136 | <point key="canvasLocation" x="-289" y="14"/> |
137 | </scene> | 137 | </scene> |
138 | <!--Send Trao Doi--> | 138 | <!--Send Trao Doi--> |
139 | <scene sceneID="2DX-0O-2Sx"> | 139 | <scene sceneID="2DX-0O-2Sx"> |
140 | <objects> | 140 | <objects> |
141 | <viewController storyboardIdentifier="VCSendTraoDoi" useStoryboardIdentifierAsRestorationIdentifier="YES" id="UxF-TT-Jtz" customClass="VCSendTraoDoi" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> | 141 | <viewController storyboardIdentifier="VCSendTraoDoi" useStoryboardIdentifierAsRestorationIdentifier="YES" id="UxF-TT-Jtz" customClass="VCSendTraoDoi" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> |
142 | <layoutGuides> | 142 | <layoutGuides> |
143 | <viewControllerLayoutGuide type="top" id="qsy-jV-2A5"/> | 143 | <viewControllerLayoutGuide type="top" id="qsy-jV-2A5"/> |
144 | <viewControllerLayoutGuide type="bottom" id="4o7-hs-Qca"/> | 144 | <viewControllerLayoutGuide type="bottom" id="4o7-hs-Qca"/> |
145 | </layoutGuides> | 145 | </layoutGuides> |
146 | <view key="view" contentMode="scaleToFill" id="P6f-CA-p0i"> | 146 | <view key="view" contentMode="scaleToFill" id="P6f-CA-p0i"> |
147 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 147 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
148 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 148 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
149 | <subviews> | 149 | <subviews> |
150 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Air-Xv-R4i" customClass="VTopLogo" customModule="App" customModuleProvider="target"> | 150 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Air-Xv-R4i" customClass="VTopLogo" customModule="App" customModuleProvider="target"> |
151 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | 151 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> |
152 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 152 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
153 | <constraints> | 153 | <constraints> |
154 | <constraint firstAttribute="height" constant="50" id="shB-ay-uev"/> | 154 | <constraint firstAttribute="height" constant="50" id="shB-ay-uev"/> |
155 | </constraints> | 155 | </constraints> |
156 | </view> | 156 | </view> |
157 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="he4-g9-p0U"> | 157 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="he4-g9-p0U"> |
158 | <rect key="frame" x="36" y="70" width="303" height="400.5"/> | 158 | <rect key="frame" x="36" y="70" width="303" height="400.5"/> |
159 | <subviews> | 159 | <subviews> |
160 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Zox-26-aQq"> | 160 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Zox-26-aQq"> |
161 | <rect key="frame" x="0.0" y="0.0" width="303" height="20.5"/> | 161 | <rect key="frame" x="0.0" y="0.0" width="303" height="20.5"/> |
162 | <string key="text">御社名 | 162 | <string key="text">御社名 |
163 | </string> | 163 | </string> |
164 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 164 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
165 | <nil key="textColor"/> | 165 | <nil key="textColor"/> |
166 | <nil key="highlightedColor"/> | 166 | <nil key="highlightedColor"/> |
167 | </label> | 167 | </label> |
168 | <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="bezel" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="sgh-62-zsd"> | 168 | <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="bezel" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="sgh-62-zsd"> |
169 | <rect key="frame" x="0.0" y="25.5" width="303" height="35"/> | 169 | <rect key="frame" x="0.0" y="25.5" width="303" height="35"/> |
170 | <constraints> | 170 | <constraints> |
171 | <constraint firstAttribute="height" constant="35" id="4PC-JK-oS6"/> | 171 | <constraint firstAttribute="height" constant="35" id="4PC-JK-oS6"/> |
172 | </constraints> | 172 | </constraints> |
173 | <nil key="textColor"/> | 173 | <nil key="textColor"/> |
174 | <fontDescription key="fontDescription" type="system" pointSize="14"/> | 174 | <fontDescription key="fontDescription" type="system" pointSize="14"/> |
175 | <textInputTraits key="textInputTraits" returnKeyType="done"/> | 175 | <textInputTraits key="textInputTraits" returnKeyType="done"/> |
176 | </textField> | 176 | </textField> |
177 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="rQB-Eq-zKX" userLabel="separate"> | 177 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="rQB-Eq-zKX" userLabel="separate"> |
178 | <rect key="frame" x="0.0" y="65.5" width="303" height="12"/> | 178 | <rect key="frame" x="0.0" y="65.5" width="303" height="12"/> |
179 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 179 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
180 | <constraints> | 180 | <constraints> |
181 | <constraint firstAttribute="height" constant="12" id="O91-A7-xbp"/> | 181 | <constraint firstAttribute="height" constant="12" id="O91-A7-xbp"/> |
182 | </constraints> | 182 | </constraints> |
183 | </view> | 183 | </view> |
184 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QtO-QE-UAb"> | 184 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QtO-QE-UAb"> |
185 | <rect key="frame" x="0.0" y="82.5" width="303" height="20.5"/> | 185 | <rect key="frame" x="0.0" y="82.5" width="303" height="20.5"/> |
186 | <string key="text">電話番号 | 186 | <string key="text">電話番号 |
187 | </string> | 187 | </string> |
188 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 188 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
189 | <nil key="textColor"/> | 189 | <nil key="textColor"/> |
190 | <nil key="highlightedColor"/> | 190 | <nil key="highlightedColor"/> |
191 | </label> | 191 | </label> |
192 | <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="bezel" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="gHc-DM-bhU"> | 192 | <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="bezel" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="gHc-DM-bhU"> |
193 | <rect key="frame" x="0.0" y="108" width="303" height="35"/> | 193 | <rect key="frame" x="0.0" y="108" width="303" height="35"/> |
194 | <constraints> | 194 | <constraints> |
195 | <constraint firstAttribute="height" constant="35" id="2GM-w5-Eqd"/> | 195 | <constraint firstAttribute="height" constant="35" id="2GM-w5-Eqd"/> |
196 | </constraints> | 196 | </constraints> |
197 | <nil key="textColor"/> | 197 | <nil key="textColor"/> |
198 | <fontDescription key="fontDescription" type="system" pointSize="14"/> | 198 | <fontDescription key="fontDescription" type="system" pointSize="14"/> |
199 | <textInputTraits key="textInputTraits" returnKeyType="done"/> | 199 | <textInputTraits key="textInputTraits" returnKeyType="done"/> |
200 | </textField> | 200 | </textField> |
201 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Afl-d3-J9g" userLabel="separate"> | 201 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Afl-d3-J9g" userLabel="separate"> |
202 | <rect key="frame" x="0.0" y="148" width="303" height="12"/> | 202 | <rect key="frame" x="0.0" y="148" width="303" height="12"/> |
203 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 203 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
204 | <constraints> | 204 | <constraints> |
205 | <constraint firstAttribute="height" constant="12" id="pBc-7a-8X5"/> | 205 | <constraint firstAttribute="height" constant="12" id="pBc-7a-8X5"/> |
206 | </constraints> | 206 | </constraints> |
207 | </view> | 207 | </view> |
208 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LBm-Kf-tad"> | 208 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LBm-Kf-tad"> |
209 | <rect key="frame" x="0.0" y="165" width="303" height="20.5"/> | 209 | <rect key="frame" x="0.0" y="165" width="303" height="20.5"/> |
210 | <string key="text">住所 | 210 | <string key="text">住所 |
211 | </string> | 211 | </string> |
212 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 212 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
213 | <nil key="textColor"/> | 213 | <nil key="textColor"/> |
214 | <nil key="highlightedColor"/> | 214 | <nil key="highlightedColor"/> |
215 | </label> | 215 | </label> |
216 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gNw-Cn-qPA" userLabel="separate"> | 216 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gNw-Cn-qPA" userLabel="separate"> |
217 | <rect key="frame" x="0.0" y="190.5" width="303" height="12"/> | 217 | <rect key="frame" x="0.0" y="190.5" width="303" height="12"/> |
218 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 218 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
219 | <constraints> | 219 | <constraints> |
220 | <constraint firstAttribute="height" constant="12" id="U8a-Uu-IJr"/> | 220 | <constraint firstAttribute="height" constant="12" id="U8a-Uu-IJr"/> |
221 | </constraints> | 221 | </constraints> |
222 | </view> | 222 | </view> |
223 | <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="3qx-KL-LJG" customClass="UITextViewCustom" customModule="GeneralUtils"> | 223 | <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="3qx-KL-LJG" customClass="UITextViewCustom" customModule="GeneralUtils"> |
224 | <rect key="frame" x="0.0" y="207.5" width="303" height="130"/> | 224 | <rect key="frame" x="0.0" y="207.5" width="303" height="130"/> |
225 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 225 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
226 | <constraints> | 226 | <constraints> |
227 | <constraint firstAttribute="height" constant="130" id="HuO-Md-RJZ"/> | 227 | <constraint firstAttribute="height" constant="130" id="HuO-Md-RJZ"/> |
228 | </constraints> | 228 | </constraints> |
229 | <fontDescription key="fontDescription" type="system" pointSize="14"/> | 229 | <fontDescription key="fontDescription" type="system" pointSize="14"/> |
230 | <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/> | 230 | <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/> |
231 | <userDefinedRuntimeAttributes> | 231 | <userDefinedRuntimeAttributes> |
232 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 232 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
233 | <real key="value" value="5"/> | 233 | <real key="value" value="5"/> |
234 | </userDefinedRuntimeAttribute> | 234 | </userDefinedRuntimeAttribute> |
235 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 235 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
236 | <real key="value" value="1"/> | 236 | <real key="value" value="1"/> |
237 | </userDefinedRuntimeAttribute> | 237 | </userDefinedRuntimeAttribute> |
238 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 238 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
239 | <color key="value" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 239 | <color key="value" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
240 | </userDefinedRuntimeAttribute> | 240 | </userDefinedRuntimeAttribute> |
241 | </userDefinedRuntimeAttributes> | 241 | </userDefinedRuntimeAttributes> |
242 | </textView> | 242 | </textView> |
243 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="od0-tY-zto" userLabel="separate"> | 243 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="od0-tY-zto" userLabel="separate"> |
244 | <rect key="frame" x="0.0" y="342.5" width="303" height="18"/> | 244 | <rect key="frame" x="0.0" y="342.5" width="303" height="18"/> |
245 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 245 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
246 | <constraints> | 246 | <constraints> |
247 | <constraint firstAttribute="height" constant="18" id="ifn-5y-uBd"/> | 247 | <constraint firstAttribute="height" constant="18" id="ifn-5y-uBd"/> |
248 | </constraints> | 248 | </constraints> |
249 | </view> | 249 | </view> |
250 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="cNO-NU-9qx"> | 250 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="cNO-NU-9qx"> |
251 | <rect key="frame" x="0.0" y="365.5" width="303" height="35"/> | 251 | <rect key="frame" x="0.0" y="365.5" width="303" height="35"/> |
252 | <subviews> | 252 | <subviews> |
253 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="MVS-dH-l4Z" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 253 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="MVS-dH-l4Z" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
254 | <rect key="frame" x="0.0" y="0.0" width="110" height="35"/> | 254 | <rect key="frame" x="0.0" y="0.0" width="110" height="35"/> |
255 | <constraints> | 255 | <constraints> |
256 | <constraint firstAttribute="height" constant="35" id="IfR-4P-Tgm"/> | 256 | <constraint firstAttribute="height" constant="35" id="IfR-4P-Tgm"/> |
257 | <constraint firstAttribute="width" constant="110" id="xxZ-mZ-Nh1"/> | 257 | <constraint firstAttribute="width" constant="110" id="xxZ-mZ-Nh1"/> |
258 | </constraints> | 258 | </constraints> |
259 | <state key="normal"> | 259 | <state key="normal"> |
260 | <string key="title">送信 | 260 | <string key="title">送信 |
261 | </string> | 261 | </string> |
262 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 262 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
263 | </state> | 263 | </state> |
264 | <userDefinedRuntimeAttributes> | 264 | <userDefinedRuntimeAttributes> |
265 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 265 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
266 | <real key="value" value="5"/> | 266 | <real key="value" value="5"/> |
267 | </userDefinedRuntimeAttribute> | 267 | </userDefinedRuntimeAttribute> |
268 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 268 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
269 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 269 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
270 | </userDefinedRuntimeAttribute> | 270 | </userDefinedRuntimeAttribute> |
271 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 271 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
272 | <real key="value" value="1"/> | 272 | <real key="value" value="1"/> |
273 | </userDefinedRuntimeAttribute> | 273 | </userDefinedRuntimeAttribute> |
274 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 274 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
275 | </userDefinedRuntimeAttributes> | 275 | </userDefinedRuntimeAttributes> |
276 | <connections> | 276 | <connections> |
277 | <action selector="btnSendClick:" destination="UxF-TT-Jtz" eventType="touchUpInside" id="6po-AM-7z0"/> | 277 | <action selector="btnSendClick:" destination="UxF-TT-Jtz" eventType="touchUpInside" id="6po-AM-7z0"/> |
278 | </connections> | 278 | </connections> |
279 | </button> | 279 | </button> |
280 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9Fc-zQ-Odt"> | 280 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9Fc-zQ-Odt"> |
281 | <rect key="frame" x="110" y="0.0" width="83" height="35"/> | 281 | <rect key="frame" x="110" y="0.0" width="83" height="35"/> |
282 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 282 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
283 | </view> | 283 | </view> |
284 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="euX-8a-3nB" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 284 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="euX-8a-3nB" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
285 | <rect key="frame" x="193" y="0.0" width="110" height="35"/> | 285 | <rect key="frame" x="193" y="0.0" width="110" height="35"/> |
286 | <constraints> | 286 | <constraints> |
287 | <constraint firstAttribute="height" constant="35" id="IGp-zl-vDy"/> | 287 | <constraint firstAttribute="height" constant="35" id="IGp-zl-vDy"/> |
288 | <constraint firstAttribute="width" constant="110" id="xjO-oX-6Gd"/> | 288 | <constraint firstAttribute="width" constant="110" id="xjO-oX-6Gd"/> |
289 | </constraints> | 289 | </constraints> |
290 | <state key="normal"> | 290 | <state key="normal"> |
291 | <string key="title">キャンセル | 291 | <string key="title">キャンセル |
292 | </string> | 292 | </string> |
293 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 293 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
294 | </state> | 294 | </state> |
295 | <userDefinedRuntimeAttributes> | 295 | <userDefinedRuntimeAttributes> |
296 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 296 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
297 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 297 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
298 | <real key="value" value="5"/> | 298 | <real key="value" value="5"/> |
299 | </userDefinedRuntimeAttribute> | 299 | </userDefinedRuntimeAttribute> |
300 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 300 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
301 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 301 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
302 | </userDefinedRuntimeAttribute> | 302 | </userDefinedRuntimeAttribute> |
303 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 303 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
304 | <real key="value" value="1"/> | 304 | <real key="value" value="1"/> |
305 | </userDefinedRuntimeAttribute> | 305 | </userDefinedRuntimeAttribute> |
306 | </userDefinedRuntimeAttributes> | 306 | </userDefinedRuntimeAttributes> |
307 | <connections> | 307 | <connections> |
308 | <action selector="btnCancelClick:" destination="UxF-TT-Jtz" eventType="touchUpInside" id="DoR-AW-irm"/> | 308 | <action selector="btnCancelClick:" destination="UxF-TT-Jtz" eventType="touchUpInside" id="DoR-AW-irm"/> |
309 | </connections> | 309 | </connections> |
310 | </button> | 310 | </button> |
311 | </subviews> | 311 | </subviews> |
312 | </stackView> | 312 | </stackView> |
313 | </subviews> | 313 | </subviews> |
314 | </stackView> | 314 | </stackView> |
315 | </subviews> | 315 | </subviews> |
316 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 316 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
317 | <constraints> | 317 | <constraints> |
318 | <constraint firstItem="he4-g9-p0U" firstAttribute="leading" secondItem="P6f-CA-p0i" secondAttribute="leadingMargin" constant="20" id="5Uc-P6-wIc"/> | 318 | <constraint firstItem="he4-g9-p0U" firstAttribute="leading" secondItem="P6f-CA-p0i" secondAttribute="leadingMargin" constant="20" id="5Uc-P6-wIc"/> |
319 | <constraint firstAttribute="trailingMargin" secondItem="he4-g9-p0U" secondAttribute="trailing" constant="20" id="6cy-Ml-iXQ"/> | 319 | <constraint firstAttribute="trailingMargin" secondItem="he4-g9-p0U" secondAttribute="trailing" constant="20" id="6cy-Ml-iXQ"/> |
320 | <constraint firstAttribute="trailing" secondItem="Air-Xv-R4i" secondAttribute="trailing" id="8ng-gx-4Da"/> | 320 | <constraint firstAttribute="trailing" secondItem="Air-Xv-R4i" secondAttribute="trailing" id="8ng-gx-4Da"/> |
321 | <constraint firstItem="he4-g9-p0U" firstAttribute="top" secondItem="Air-Xv-R4i" secondAttribute="bottom" constant="20" id="CpQ-Lc-qSN"/> | 321 | <constraint firstItem="he4-g9-p0U" firstAttribute="top" secondItem="Air-Xv-R4i" secondAttribute="bottom" constant="20" id="CpQ-Lc-qSN"/> |
322 | <constraint firstItem="Air-Xv-R4i" firstAttribute="leading" secondItem="P6f-CA-p0i" secondAttribute="leading" id="Fu0-2B-cUd"/> | 322 | <constraint firstItem="Air-Xv-R4i" firstAttribute="leading" secondItem="P6f-CA-p0i" secondAttribute="leading" id="Fu0-2B-cUd"/> |
323 | <constraint firstItem="Air-Xv-R4i" firstAttribute="top" secondItem="P6f-CA-p0i" secondAttribute="top" id="Q9o-uF-t9v"/> | 323 | <constraint firstItem="Air-Xv-R4i" firstAttribute="top" secondItem="P6f-CA-p0i" secondAttribute="top" id="Q9o-uF-t9v"/> |
324 | </constraints> | 324 | </constraints> |
325 | </view> | 325 | </view> |
326 | <connections> | 326 | <connections> |
327 | <outlet property="edtAdress" destination="3qx-KL-LJG" id="pmY-Wd-aDS"/> | 327 | <outlet property="edtAdress" destination="3qx-KL-LJG" id="pmY-Wd-aDS"/> |
328 | <outlet property="edtPhone" destination="gHc-DM-bhU" id="59c-Hb-sne"/> | 328 | <outlet property="edtPhone" destination="gHc-DM-bhU" id="59c-Hb-sne"/> |
329 | <outlet property="edtTenCty" destination="sgh-62-zsd" id="E0B-nZ-gb4"/> | 329 | <outlet property="edtTenCty" destination="sgh-62-zsd" id="E0B-nZ-gb4"/> |
330 | <outlet property="vTopLogo" destination="Air-Xv-R4i" id="82m-w9-OEi"/> | 330 | <outlet property="vTopLogo" destination="Air-Xv-R4i" id="82m-w9-OEi"/> |
331 | </connections> | 331 | </connections> |
332 | </viewController> | 332 | </viewController> |
333 | <placeholder placeholderIdentifier="IBFirstResponder" id="v3F-wF-d4Y" userLabel="First Responder" sceneMemberID="firstResponder"/> | 333 | <placeholder placeholderIdentifier="IBFirstResponder" id="v3F-wF-d4Y" userLabel="First Responder" sceneMemberID="firstResponder"/> |
334 | </objects> | 334 | </objects> |
335 | <point key="canvasLocation" x="370" y="14"/> | 335 | <point key="canvasLocation" x="370" y="14"/> |
336 | </scene> | 336 | </scene> |
337 | <!--Noi Dung Trao Doi--> | 337 | <!--Noi Dung Trao Doi--> |
338 | <scene sceneID="yB4-El-ftV"> | 338 | <scene sceneID="yB4-El-ftV"> |
339 | <objects> | 339 | <objects> |
340 | <viewController storyboardIdentifier="VCNoiDungTraoDoi" useStoryboardIdentifierAsRestorationIdentifier="YES" id="WB6-Ic-cSK" customClass="VCNoiDungTraoDoi" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> | 340 | <viewController storyboardIdentifier="VCNoiDungTraoDoi" useStoryboardIdentifierAsRestorationIdentifier="YES" id="WB6-Ic-cSK" customClass="VCNoiDungTraoDoi" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> |
341 | <layoutGuides> | 341 | <layoutGuides> |
342 | <viewControllerLayoutGuide type="top" id="bYC-d4-LRb"/> | 342 | <viewControllerLayoutGuide type="top" id="bYC-d4-LRb"/> |
343 | <viewControllerLayoutGuide type="bottom" id="ILD-Ch-AFl"/> | 343 | <viewControllerLayoutGuide type="bottom" id="ILD-Ch-AFl"/> |
344 | </layoutGuides> | 344 | </layoutGuides> |
345 | <view key="view" contentMode="scaleToFill" id="trI-A6-CWw"> | 345 | <view key="view" contentMode="scaleToFill" id="trI-A6-CWw"> |
346 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 346 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
347 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 347 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
348 | <subviews> | 348 | <subviews> |
349 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qiG-ht-Uf8" customClass="VTopLogo" customModule="App" customModuleProvider="target"> | 349 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qiG-ht-Uf8" customClass="VTopLogo" customModule="App" customModuleProvider="target"> |
350 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | 350 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> |
351 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 351 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
352 | <constraints> | 352 | <constraints> |
353 | <constraint firstAttribute="height" constant="50" id="Gtc-As-qpa"/> | 353 | <constraint firstAttribute="height" constant="50" id="Gtc-As-qpa"/> |
354 | </constraints> | 354 | </constraints> |
355 | </view> | 355 | </view> |
356 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="FaF-Ew-VNM" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 356 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="FaF-Ew-VNM" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
357 | <rect key="frame" x="107.5" y="593" width="160" height="35"/> | 357 | <rect key="frame" x="107.5" y="593" width="160" height="35"/> |
358 | <constraints> | 358 | <constraints> |
359 | <constraint firstAttribute="height" constant="35" id="A0l-ZP-ZIG"/> | 359 | <constraint firstAttribute="height" constant="35" id="A0l-ZP-ZIG"/> |
360 | <constraint firstAttribute="width" constant="160" id="yJx-rc-Ynt"/> | 360 | <constraint firstAttribute="width" constant="160" id="yJx-rc-Ynt"/> |
361 | </constraints> | 361 | </constraints> |
362 | <state key="normal" title="利用を開始する。"> | 362 | <state key="normal" title="利用を開始する。"> |
363 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 363 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
364 | </state> | 364 | </state> |
365 | <userDefinedRuntimeAttributes> | 365 | <userDefinedRuntimeAttributes> |
366 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 366 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
367 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 367 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
368 | <real key="value" value="5"/> | 368 | <real key="value" value="5"/> |
369 | </userDefinedRuntimeAttribute> | 369 | </userDefinedRuntimeAttribute> |
370 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 370 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
371 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 371 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
372 | </userDefinedRuntimeAttribute> | 372 | </userDefinedRuntimeAttribute> |
373 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 373 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
374 | <real key="value" value="1"/> | 374 | <real key="value" value="1"/> |
375 | </userDefinedRuntimeAttribute> | 375 | </userDefinedRuntimeAttribute> |
376 | </userDefinedRuntimeAttributes> | 376 | </userDefinedRuntimeAttributes> |
377 | <connections> | 377 | <connections> |
378 | <action selector="btnBackToTopClick:" destination="WB6-Ic-cSK" eventType="touchUpInside" id="xKG-FK-n6a"/> | 378 | <action selector="btnBackToTopClick:" destination="WB6-Ic-cSK" eventType="touchUpInside" id="xKG-FK-n6a"/> |
379 | </connections> | 379 | </connections> |
380 | </button> | 380 | </button> |
381 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="あなたのIDは" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ol6-EF-aDg"> | 381 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="あなたのIDは" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ol6-EF-aDg"> |
382 | <rect key="frame" x="136" y="150" width="103.5" height="21"/> | 382 | <rect key="frame" x="136" y="150" width="103.5" height="21"/> |
383 | <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="17"/> | 383 | <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="17"/> |
384 | <nil key="textColor"/> | 384 | <nil key="textColor"/> |
385 | <nil key="highlightedColor"/> | 385 | <nil key="highlightedColor"/> |
386 | </label> | 386 | </label> |
387 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1230" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7sC-Ve-cWy"> | 387 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1230" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7sC-Ve-cWy"> |
388 | <rect key="frame" x="168" y="205" width="39" height="21"/> | 388 | <rect key="frame" x="168" y="205" width="39" height="21"/> |
389 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 389 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
390 | <nil key="textColor"/> | 390 | <nil key="textColor"/> |
391 | <nil key="highlightedColor"/> | 391 | <nil key="highlightedColor"/> |
392 | </label> | 392 | </label> |
393 | </subviews> | 393 | </subviews> |
394 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 394 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
395 | <constraints> | 395 | <constraints> |
396 | <constraint firstItem="ol6-EF-aDg" firstAttribute="centerX" secondItem="trI-A6-CWw" secondAttribute="centerX" id="0x0-uB-cY5"/> | 396 | <constraint firstItem="ol6-EF-aDg" firstAttribute="centerX" secondItem="trI-A6-CWw" secondAttribute="centerX" id="0x0-uB-cY5"/> |
397 | <constraint firstItem="FaF-Ew-VNM" firstAttribute="centerX" secondItem="trI-A6-CWw" secondAttribute="centerX" id="4WW-Lm-25C"/> | 397 | <constraint firstItem="FaF-Ew-VNM" firstAttribute="centerX" secondItem="trI-A6-CWw" secondAttribute="centerX" id="4WW-Lm-25C"/> |
398 | <constraint firstItem="7sC-Ve-cWy" firstAttribute="centerX" secondItem="trI-A6-CWw" secondAttribute="centerX" id="4a0-l0-Bb9"/> | 398 | <constraint firstItem="7sC-Ve-cWy" firstAttribute="centerX" secondItem="trI-A6-CWw" secondAttribute="centerX" id="4a0-l0-Bb9"/> |
399 | <constraint firstItem="qiG-ht-Uf8" firstAttribute="top" secondItem="trI-A6-CWw" secondAttribute="top" id="9fX-XA-RWq"/> | 399 | <constraint firstItem="qiG-ht-Uf8" firstAttribute="top" secondItem="trI-A6-CWw" secondAttribute="top" id="9fX-XA-RWq"/> |
400 | <constraint firstItem="qiG-ht-Uf8" firstAttribute="leading" secondItem="trI-A6-CWw" secondAttribute="leading" id="Ikf-KP-tr6"/> | 400 | <constraint firstItem="qiG-ht-Uf8" firstAttribute="leading" secondItem="trI-A6-CWw" secondAttribute="leading" id="Ikf-KP-tr6"/> |
401 | <constraint firstItem="7sC-Ve-cWy" firstAttribute="top" secondItem="ol6-EF-aDg" secondAttribute="bottom" constant="34" id="XMk-Iv-UeY"/> | 401 | <constraint firstItem="7sC-Ve-cWy" firstAttribute="top" secondItem="ol6-EF-aDg" secondAttribute="bottom" constant="34" id="XMk-Iv-UeY"/> |
402 | <constraint firstAttribute="trailing" secondItem="qiG-ht-Uf8" secondAttribute="trailing" id="kHC-oY-4J1"/> | 402 | <constraint firstAttribute="trailing" secondItem="qiG-ht-Uf8" secondAttribute="trailing" id="kHC-oY-4J1"/> |
403 | <constraint firstItem="ILD-Ch-AFl" firstAttribute="top" secondItem="FaF-Ew-VNM" secondAttribute="bottom" constant="39" id="lrB-bd-EWc"/> | 403 | <constraint firstItem="ILD-Ch-AFl" firstAttribute="top" secondItem="FaF-Ew-VNM" secondAttribute="bottom" constant="39" id="lrB-bd-EWc"/> |
404 | <constraint firstItem="ol6-EF-aDg" firstAttribute="top" secondItem="qiG-ht-Uf8" secondAttribute="bottom" constant="100" id="zZA-FY-RnN"/> | 404 | <constraint firstItem="ol6-EF-aDg" firstAttribute="top" secondItem="qiG-ht-Uf8" secondAttribute="bottom" constant="100" id="zZA-FY-RnN"/> |
405 | </constraints> | 405 | </constraints> |
406 | </view> | 406 | </view> |
407 | <connections> | 407 | <connections> |
408 | <outlet property="tvId" destination="7sC-Ve-cWy" id="amd-of-Tri"/> | 408 | <outlet property="tvId" destination="7sC-Ve-cWy" id="amd-of-Tri"/> |
409 | <outlet property="vTopLogo" destination="qiG-ht-Uf8" id="EMQ-9z-0t3"/> | 409 | <outlet property="vTopLogo" destination="qiG-ht-Uf8" id="EMQ-9z-0t3"/> |
410 | </connections> | 410 | </connections> |
411 | </viewController> | 411 | </viewController> |
412 | <placeholder placeholderIdentifier="IBFirstResponder" id="UIt-fK-wYI" userLabel="First Responder" sceneMemberID="firstResponder"/> | 412 | <placeholder placeholderIdentifier="IBFirstResponder" id="UIt-fK-wYI" userLabel="First Responder" sceneMemberID="firstResponder"/> |
413 | </objects> | 413 | </objects> |
414 | <point key="canvasLocation" x="1005.6" y="14.842578710644679"/> | 414 | <point key="canvasLocation" x="1005.6" y="14.842578710644679"/> |
415 | </scene> | 415 | </scene> |
416 | <!--Splash Controller--> | 416 | <!--Splash Controller--> |
417 | <scene sceneID="LPb-05-isG"> | 417 | <scene sceneID="LPb-05-isG"> |
418 | <objects> | 418 | <objects> |
419 | <viewController id="gan-7y-N56" customClass="SplashController" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> | 419 | <viewController id="gan-7y-N56" customClass="SplashController" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> |
420 | <layoutGuides> | 420 | <layoutGuides> |
421 | <viewControllerLayoutGuide type="top" id="Xoj-8f-Yjq"/> | 421 | <viewControllerLayoutGuide type="top" id="Xoj-8f-Yjq"/> |
422 | <viewControllerLayoutGuide type="bottom" id="knK-Jo-Qy9"/> | 422 | <viewControllerLayoutGuide type="bottom" id="knK-Jo-Qy9"/> |
423 | </layoutGuides> | 423 | </layoutGuides> |
424 | <view key="view" contentMode="scaleToFill" id="Oeo-aa-W9L"> | 424 | <view key="view" contentMode="scaleToFill" id="Oeo-aa-W9L"> |
425 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 425 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
426 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 426 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
427 | <subviews> | 427 | <subviews> |
428 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="16" translatesAutoresizingMaskIntoConstraints="NO" id="mQL-HM-Lwi"> | 428 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="16" translatesAutoresizingMaskIntoConstraints="NO" id="mQL-HM-Lwi"> |
429 | <rect key="frame" x="0.0" y="200.5" width="375" height="267.5"/> | 429 | <rect key="frame" x="0.0" y="200.5" width="375" height="267.5"/> |
430 | <subviews> | 430 | <subviews> |
431 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon" translatesAutoresizingMaskIntoConstraints="NO" id="Be6-wy-wU1"> | 431 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon" translatesAutoresizingMaskIntoConstraints="NO" id="Be6-wy-wU1"> |
432 | <rect key="frame" x="0.0" y="0.0" width="375" height="130"/> | 432 | <rect key="frame" x="0.0" y="0.0" width="375" height="130"/> |
433 | <constraints> | 433 | <constraints> |
434 | <constraint firstAttribute="height" constant="130" id="A2f-BH-x7u"/> | 434 | <constraint firstAttribute="height" constant="130" id="A2f-BH-x7u"/> |
435 | </constraints> | 435 | </constraints> |
436 | </imageView> | 436 | </imageView> |
437 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="MOROOKA" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GCR-t6-VPo"> | 437 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="MOROOKA" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GCR-t6-VPo"> |
438 | <rect key="frame" x="0.0" y="146" width="375" height="29"/> | 438 | <rect key="frame" x="0.0" y="146" width="375" height="29"/> |
439 | <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="24"/> | 439 | <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="24"/> |
440 | <color key="textColor" red="0.023529411760000001" green="0.23921568630000001" blue="0.32156862749999998" alpha="1" colorSpace="calibratedRGB"/> | 440 | <color key="textColor" red="0.023529411760000001" green="0.23921568630000001" blue="0.32156862749999998" alpha="1" colorSpace="calibratedRGB"/> |
441 | <nil key="highlightedColor"/> | 441 | <nil key="highlightedColor"/> |
442 | </label> | 442 | </label> |
443 | <activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" animating="YES" style="whiteLarge" translatesAutoresizingMaskIntoConstraints="NO" id="c34-F7-Les"> | 443 | <activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" animating="YES" style="whiteLarge" translatesAutoresizingMaskIntoConstraints="NO" id="c34-F7-Les"> |
444 | <rect key="frame" x="0.0" y="191" width="375" height="40"/> | 444 | <rect key="frame" x="0.0" y="191" width="375" height="40"/> |
445 | <constraints> | 445 | <constraints> |
446 | <constraint firstAttribute="height" constant="40" id="si0-xc-SiI"/> | 446 | <constraint firstAttribute="height" constant="40" id="si0-xc-SiI"/> |
447 | </constraints> | 447 | </constraints> |
448 | </activityIndicatorView> | 448 | </activityIndicatorView> |
449 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Loading..." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DbN-DK-HWp"> | 449 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Loading..." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DbN-DK-HWp"> |
450 | <rect key="frame" x="0.0" y="247" width="375" height="20.5"/> | 450 | <rect key="frame" x="0.0" y="247" width="375" height="20.5"/> |
451 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 451 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
452 | <color key="textColor" red="0.023529411760000001" green="0.23921568630000001" blue="0.32156862749999998" alpha="1" colorSpace="calibratedRGB"/> | 452 | <color key="textColor" red="0.023529411760000001" green="0.23921568630000001" blue="0.32156862749999998" alpha="1" colorSpace="calibratedRGB"/> |
453 | <nil key="highlightedColor"/> | 453 | <nil key="highlightedColor"/> |
454 | </label> | 454 | </label> |
455 | </subviews> | 455 | </subviews> |
456 | </stackView> | 456 | </stackView> |
457 | </subviews> | 457 | </subviews> |
458 | <color key="backgroundColor" red="0.30196078430000001" green="0.62745098040000002" blue="0.71764705880000002" alpha="1" colorSpace="calibratedRGB"/> | 458 | <color key="backgroundColor" red="0.30196078430000001" green="0.62745098040000002" blue="0.71764705880000002" alpha="1" colorSpace="calibratedRGB"/> |
459 | <constraints> | 459 | <constraints> |
460 | <constraint firstAttribute="trailing" secondItem="mQL-HM-Lwi" secondAttribute="trailing" id="9FL-et-s6J"/> | 460 | <constraint firstAttribute="trailing" secondItem="mQL-HM-Lwi" secondAttribute="trailing" id="9FL-et-s6J"/> |
461 | <constraint firstItem="mQL-HM-Lwi" firstAttribute="centerY" secondItem="Oeo-aa-W9L" secondAttribute="centerY" id="nOJ-se-xeo"/> | 461 | <constraint firstItem="mQL-HM-Lwi" firstAttribute="centerY" secondItem="Oeo-aa-W9L" secondAttribute="centerY" id="nOJ-se-xeo"/> |
462 | <constraint firstItem="mQL-HM-Lwi" firstAttribute="leading" secondItem="Oeo-aa-W9L" secondAttribute="leading" id="wbJ-5U-6ow"/> | 462 | <constraint firstItem="mQL-HM-Lwi" firstAttribute="leading" secondItem="Oeo-aa-W9L" secondAttribute="leading" id="wbJ-5U-6ow"/> |
463 | </constraints> | 463 | </constraints> |
464 | </view> | 464 | </view> |
465 | </viewController> | 465 | </viewController> |
466 | <placeholder placeholderIdentifier="IBFirstResponder" id="dAL-Uq-B6g" userLabel="First Responder" sceneMemberID="firstResponder"/> | 466 | <placeholder placeholderIdentifier="IBFirstResponder" id="dAL-Uq-B6g" userLabel="First Responder" sceneMemberID="firstResponder"/> |
467 | </objects> | 467 | </objects> |
468 | <point key="canvasLocation" x="-972" y="14"/> | 468 | <point key="canvasLocation" x="-972" y="14"/> |
469 | </scene> | 469 | </scene> |
470 | <!--Home--> | 470 | <!--Home--> |
471 | <scene sceneID="0OX-Xi-wpS"> | 471 | <scene sceneID="0OX-Xi-wpS"> |
472 | <objects> | 472 | <objects> |
473 | <viewController storyboardIdentifier="VCHome" useStoryboardIdentifierAsRestorationIdentifier="YES" id="CyJ-ju-vul" customClass="VCHome" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> | 473 | <viewController storyboardIdentifier="VCHome" useStoryboardIdentifierAsRestorationIdentifier="YES" id="CyJ-ju-vul" customClass="VCHome" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> |
474 | <layoutGuides> | 474 | <layoutGuides> |
475 | <viewControllerLayoutGuide type="top" id="6kw-tW-Fzv"/> | 475 | <viewControllerLayoutGuide type="top" id="6kw-tW-Fzv"/> |
476 | <viewControllerLayoutGuide type="bottom" id="fPd-Fo-SSb"/> | 476 | <viewControllerLayoutGuide type="bottom" id="fPd-Fo-SSb"/> |
477 | </layoutGuides> | 477 | </layoutGuides> |
478 | <view key="view" contentMode="scaleToFill" id="HHY-0l-y5F"> | 478 | <view key="view" contentMode="scaleToFill" id="HHY-0l-y5F"> |
479 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 479 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
480 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 480 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
481 | <subviews> | 481 | <subviews> |
482 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon" translatesAutoresizingMaskIntoConstraints="NO" id="RvU-or-zUo"> | 482 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon" translatesAutoresizingMaskIntoConstraints="NO" id="RvU-or-zUo"> |
483 | <rect key="frame" x="0.0" y="70" width="375" height="250"/> | 483 | <rect key="frame" x="0.0" y="70" width="375" height="250"/> |
484 | <constraints> | 484 | <constraints> |
485 | <constraint firstAttribute="height" constant="250" id="vYm-XQ-rNQ"/> | 485 | <constraint firstAttribute="height" constant="250" id="vYm-XQ-rNQ"/> |
486 | </constraints> | 486 | </constraints> |
487 | </imageView> | 487 | </imageView> |
488 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="MOROOKA" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="oP0-hP-dVN"> | 488 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="MOROOKA" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="oP0-hP-dVN"> |
489 | <rect key="frame" x="79" y="335" width="217" height="48"/> | 489 | <rect key="frame" x="79" y="335" width="217" height="48"/> |
490 | <fontDescription key="fontDescription" type="system" weight="black" pointSize="40"/> | 490 | <fontDescription key="fontDescription" type="system" weight="black" pointSize="40"/> |
491 | <nil key="highlightedColor"/> | 491 | <nil key="highlightedColor"/> |
492 | </label> | 492 | </label> |
493 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="12" translatesAutoresizingMaskIntoConstraints="NO" id="5vN-Mj-WGL"> | 493 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="12" translatesAutoresizingMaskIntoConstraints="NO" id="5vN-Mj-WGL"> |
494 | <rect key="frame" x="63" y="403" width="250" height="174"/> | 494 | <rect key="frame" x="63" y="403" width="250" height="174"/> |
495 | <subviews> | 495 | <subviews> |
496 | <stackView opaque="NO" contentMode="scaleToFill" spacing="30" translatesAutoresizingMaskIntoConstraints="NO" id="M4g-UR-tAp"> | 496 | <stackView opaque="NO" contentMode="scaleToFill" spacing="30" translatesAutoresizingMaskIntoConstraints="NO" id="M4g-UR-tAp"> |
497 | <rect key="frame" x="0.0" y="0.0" width="250" height="50"/> | 497 | <rect key="frame" x="0.0" y="0.0" width="250" height="50"/> |
498 | <subviews> | 498 | <subviews> |
499 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BaX-Fp-faL" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 499 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BaX-Fp-faL" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
500 | <rect key="frame" x="0.0" y="0.0" width="110" height="50"/> | 500 | <rect key="frame" x="0.0" y="0.0" width="110" height="50"/> |
501 | <constraints> | 501 | <constraints> |
502 | <constraint firstAttribute="height" constant="50" id="cdG-rl-kGG"/> | 502 | <constraint firstAttribute="height" constant="50" id="cdG-rl-kGG"/> |
503 | <constraint firstAttribute="width" constant="110" id="h5i-Cu-WIO"/> | 503 | <constraint firstAttribute="width" constant="110" id="h5i-Cu-WIO"/> |
504 | </constraints> | 504 | </constraints> |
505 | <state key="normal"> | 505 | <state key="normal"> |
506 | <string key="title">新規作成 | 506 | <string key="title">新規作成 |
507 | </string> | 507 | </string> |
508 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 508 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
509 | </state> | 509 | </state> |
510 | <userDefinedRuntimeAttributes> | 510 | <userDefinedRuntimeAttributes> |
511 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 511 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
512 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 512 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
513 | <real key="value" value="5"/> | 513 | <real key="value" value="5"/> |
514 | </userDefinedRuntimeAttribute> | 514 | </userDefinedRuntimeAttribute> |
515 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 515 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
516 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 516 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
517 | </userDefinedRuntimeAttribute> | 517 | </userDefinedRuntimeAttribute> |
518 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 518 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
519 | <real key="value" value="1"/> | 519 | <real key="value" value="1"/> |
520 | </userDefinedRuntimeAttribute> | 520 | </userDefinedRuntimeAttribute> |
521 | </userDefinedRuntimeAttributes> | 521 | </userDefinedRuntimeAttributes> |
522 | <connections> | 522 | <connections> |
523 | <action selector="btnCreateNew:" destination="CyJ-ju-vul" eventType="touchUpInside" id="PU4-Vs-1an"/> | 523 | <action selector="btnCreateNew:" destination="CyJ-ju-vul" eventType="touchUpInside" id="PU4-Vs-1an"/> |
524 | </connections> | 524 | </connections> |
525 | </button> | 525 | </button> |
526 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YeZ-Po-Jn6" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 526 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YeZ-Po-Jn6" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
527 | <rect key="frame" x="140" y="0.0" width="110" height="50"/> | 527 | <rect key="frame" x="140" y="0.0" width="110" height="50"/> |
528 | <constraints> | 528 | <constraints> |
529 | <constraint firstAttribute="height" constant="50" id="FXu-Zk-0Pd"/> | 529 | <constraint firstAttribute="height" constant="50" id="FXu-Zk-0Pd"/> |
530 | <constraint firstAttribute="width" constant="110" id="aU5-rE-5Xo"/> | 530 | <constraint firstAttribute="width" constant="110" id="aU5-rE-5Xo"/> |
531 | </constraints> | 531 | </constraints> |
532 | <state key="normal"> | 532 | <state key="normal"> |
533 | <string key="title">工事リスト | 533 | <string key="title">工事リスト |
534 | </string> | 534 | </string> |
535 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 535 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
536 | </state> | 536 | </state> |
537 | <userDefinedRuntimeAttributes> | 537 | <userDefinedRuntimeAttributes> |
538 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 538 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
539 | <real key="value" value="5"/> | 539 | <real key="value" value="5"/> |
540 | </userDefinedRuntimeAttribute> | 540 | </userDefinedRuntimeAttribute> |
541 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 541 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
542 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 542 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
543 | </userDefinedRuntimeAttribute> | 543 | </userDefinedRuntimeAttribute> |
544 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 544 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
545 | <real key="value" value="1"/> | 545 | <real key="value" value="1"/> |
546 | </userDefinedRuntimeAttribute> | 546 | </userDefinedRuntimeAttribute> |
547 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 547 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
548 | </userDefinedRuntimeAttributes> | 548 | </userDefinedRuntimeAttributes> |
549 | <connections> | 549 | <connections> |
550 | <action selector="btnListCtruong:" destination="CyJ-ju-vul" eventType="touchUpInside" id="D8Y-kB-qJI"/> | 550 | <action selector="btnListCtruong:" destination="CyJ-ju-vul" eventType="touchUpInside" id="D8Y-kB-qJI"/> |
551 | </connections> | 551 | </connections> |
552 | </button> | 552 | </button> |
553 | </subviews> | 553 | </subviews> |
554 | </stackView> | 554 | </stackView> |
555 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="wy9-UX-9me" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 555 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="wy9-UX-9me" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
556 | <rect key="frame" x="0.0" y="62" width="250" height="50"/> | 556 | <rect key="frame" x="0.0" y="62" width="250" height="50"/> |
557 | <constraints> | 557 | <constraints> |
558 | <constraint firstAttribute="height" constant="50" id="FsH-cG-8HT"/> | 558 | <constraint firstAttribute="height" constant="50" id="FsH-cG-8HT"/> |
559 | </constraints> | 559 | </constraints> |
560 | <state key="normal"> | 560 | <state key="normal"> |
561 | <string key="title">発注者登録 | 561 | <string key="title">発注者登録 |
562 | </string> | 562 | </string> |
563 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 563 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
564 | </state> | 564 | </state> |
565 | <userDefinedRuntimeAttributes> | 565 | <userDefinedRuntimeAttributes> |
566 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 566 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
567 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 567 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
568 | <real key="value" value="5"/> | 568 | <real key="value" value="5"/> |
569 | </userDefinedRuntimeAttribute> | 569 | </userDefinedRuntimeAttribute> |
570 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 570 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
571 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 571 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
572 | </userDefinedRuntimeAttribute> | 572 | </userDefinedRuntimeAttribute> |
573 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 573 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
574 | <real key="value" value="1"/> | 574 | <real key="value" value="1"/> |
575 | </userDefinedRuntimeAttribute> | 575 | </userDefinedRuntimeAttribute> |
576 | </userDefinedRuntimeAttributes> | 576 | </userDefinedRuntimeAttributes> |
577 | <connections> | 577 | <connections> |
578 | <action selector="btnDangKyBenDatHang:" destination="CyJ-ju-vul" eventType="touchUpInside" id="hGX-ny-uve"/> | 578 | <action selector="btnDangKyBenDatHang:" destination="CyJ-ju-vul" eventType="touchUpInside" id="hGX-ny-uve"/> |
579 | </connections> | 579 | </connections> |
580 | </button> | 580 | </button> |
581 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="g7j-8W-0rr" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 581 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="g7j-8W-0rr" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
582 | <rect key="frame" x="0.0" y="124" width="250" height="50"/> | 582 | <rect key="frame" x="0.0" y="124" width="250" height="50"/> |
583 | <constraints> | 583 | <constraints> |
584 | <constraint firstAttribute="height" constant="50" id="s2M-rW-Z7E"/> | 584 | <constraint firstAttribute="height" constant="50" id="s2M-rW-Z7E"/> |
585 | </constraints> | 585 | </constraints> |
586 | <state key="normal"> | 586 | <state key="normal"> |
587 | <string key="title">IDを確認する | 587 | <string key="title">IDを確認する |
588 | </string> | 588 | </string> |
589 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 589 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
590 | </state> | 590 | </state> |
591 | <userDefinedRuntimeAttributes> | 591 | <userDefinedRuntimeAttributes> |
592 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 592 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
593 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 593 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
594 | <real key="value" value="5"/> | 594 | <real key="value" value="5"/> |
595 | </userDefinedRuntimeAttribute> | 595 | </userDefinedRuntimeAttribute> |
596 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 596 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
597 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 597 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
598 | </userDefinedRuntimeAttribute> | 598 | </userDefinedRuntimeAttribute> |
599 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 599 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
600 | <real key="value" value="1"/> | 600 | <real key="value" value="1"/> |
601 | </userDefinedRuntimeAttribute> | 601 | </userDefinedRuntimeAttribute> |
602 | </userDefinedRuntimeAttributes> | 602 | </userDefinedRuntimeAttributes> |
603 | <connections> | 603 | <connections> |
604 | <action selector="btnConfirmIdClick:" destination="CyJ-ju-vul" eventType="touchUpInside" id="j1i-bR-CRz"/> | 604 | <action selector="btnConfirmIdClick:" destination="CyJ-ju-vul" eventType="touchUpInside" id="j1i-bR-CRz"/> |
605 | </connections> | 605 | </connections> |
606 | </button> | 606 | </button> |
607 | </subviews> | 607 | </subviews> |
608 | </stackView> | 608 | </stackView> |
609 | </subviews> | 609 | </subviews> |
610 | <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 610 | <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
611 | <constraints> | 611 | <constraints> |
612 | <constraint firstItem="oP0-hP-dVN" firstAttribute="centerX" secondItem="HHY-0l-y5F" secondAttribute="centerX" id="BQQ-b6-w1J"/> | 612 | <constraint firstItem="oP0-hP-dVN" firstAttribute="centerX" secondItem="HHY-0l-y5F" secondAttribute="centerX" id="BQQ-b6-w1J"/> |
613 | <constraint firstItem="oP0-hP-dVN" firstAttribute="top" secondItem="RvU-or-zUo" secondAttribute="bottom" constant="15" id="J3C-x7-5Z5"/> | 613 | <constraint firstItem="oP0-hP-dVN" firstAttribute="top" secondItem="RvU-or-zUo" secondAttribute="bottom" constant="15" id="J3C-x7-5Z5"/> |
614 | <constraint firstAttribute="trailing" secondItem="RvU-or-zUo" secondAttribute="trailing" id="MjJ-W8-GaC"/> | 614 | <constraint firstAttribute="trailing" secondItem="RvU-or-zUo" secondAttribute="trailing" id="MjJ-W8-GaC"/> |
615 | <constraint firstItem="RvU-or-zUo" firstAttribute="top" secondItem="6kw-tW-Fzv" secondAttribute="bottom" constant="50" id="RxQ-cs-aQQ"/> | 615 | <constraint firstItem="RvU-or-zUo" firstAttribute="top" secondItem="6kw-tW-Fzv" secondAttribute="bottom" constant="50" id="RxQ-cs-aQQ"/> |
616 | <constraint firstItem="5vN-Mj-WGL" firstAttribute="top" secondItem="oP0-hP-dVN" secondAttribute="bottom" constant="20" id="atF-N4-zrO"/> | 616 | <constraint firstItem="5vN-Mj-WGL" firstAttribute="top" secondItem="oP0-hP-dVN" secondAttribute="bottom" constant="20" id="atF-N4-zrO"/> |
617 | <constraint firstItem="5vN-Mj-WGL" firstAttribute="centerX" secondItem="HHY-0l-y5F" secondAttribute="centerX" id="bC0-iN-9fP"/> | 617 | <constraint firstItem="5vN-Mj-WGL" firstAttribute="centerX" secondItem="HHY-0l-y5F" secondAttribute="centerX" id="bC0-iN-9fP"/> |
618 | <constraint firstItem="RvU-or-zUo" firstAttribute="leading" secondItem="HHY-0l-y5F" secondAttribute="leading" id="oh6-zn-9cW"/> | 618 | <constraint firstItem="RvU-or-zUo" firstAttribute="leading" secondItem="HHY-0l-y5F" secondAttribute="leading" id="oh6-zn-9cW"/> |
619 | </constraints> | 619 | </constraints> |
620 | </view> | 620 | </view> |
621 | </viewController> | 621 | </viewController> |
622 | <placeholder placeholderIdentifier="IBFirstResponder" id="QRR-At-Zhm" sceneMemberID="firstResponder"/> | 622 | <placeholder placeholderIdentifier="IBFirstResponder" id="QRR-At-Zhm" sceneMemberID="firstResponder"/> |
623 | </objects> | 623 | </objects> |
624 | <point key="canvasLocation" x="-972" y="659.82008995502258"/> | 624 | <point key="canvasLocation" x="-972" y="659.82008995502258"/> |
625 | </scene> | 625 | </scene> |
626 | <!--Nhap Ten Cty--> | 626 | <!--Nhap Ten Cty--> |
627 | <scene sceneID="6z4-M6-vWW"> | 627 | <scene sceneID="6z4-M6-vWW"> |
628 | <objects> | 628 | <objects> |
629 | <viewController storyboardIdentifier="VCNhapTenCty" useStoryboardIdentifierAsRestorationIdentifier="YES" id="Bw5-fP-Mov" customClass="VCNhapTenCty" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> | 629 | <viewController storyboardIdentifier="VCNhapTenCty" useStoryboardIdentifierAsRestorationIdentifier="YES" id="Bw5-fP-Mov" customClass="VCNhapTenCty" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> |
630 | <layoutGuides> | 630 | <layoutGuides> |
631 | <viewControllerLayoutGuide type="top" id="1T7-Yq-HXn"/> | 631 | <viewControllerLayoutGuide type="top" id="1T7-Yq-HXn"/> |
632 | <viewControllerLayoutGuide type="bottom" id="pBU-Wl-HOA"/> | 632 | <viewControllerLayoutGuide type="bottom" id="pBU-Wl-HOA"/> |
633 | </layoutGuides> | 633 | </layoutGuides> |
634 | <view key="view" contentMode="scaleToFill" id="czl-Ej-8Rg"> | 634 | <view key="view" contentMode="scaleToFill" id="czl-Ej-8Rg"> |
635 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 635 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
636 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 636 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
637 | <subviews> | 637 | <subviews> |
638 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="LlL-Vw-7Ao" customClass="VTopLogo" customModule="App" customModuleProvider="target"> | 638 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="LlL-Vw-7Ao" customClass="VTopLogo" customModule="App" customModuleProvider="target"> |
639 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | 639 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> |
640 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 640 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
641 | <constraints> | 641 | <constraints> |
642 | <constraint firstAttribute="height" constant="50" id="Jwd-kM-Wdd"/> | 642 | <constraint firstAttribute="height" constant="50" id="Jwd-kM-Wdd"/> |
643 | </constraints> | 643 | </constraints> |
644 | </view> | 644 | </view> |
645 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AS4-dp-utm"> | 645 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AS4-dp-utm"> |
646 | <rect key="frame" x="75.5" y="100" width="225.5" height="20.5"/> | 646 | <rect key="frame" x="75.5" y="100" width="225.5" height="20.5"/> |
647 | <string key="text">施工会社名を入れてください | 647 | <string key="text">施工会社名を入れてください |
648 | </string> | 648 | </string> |
649 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 649 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
650 | <nil key="textColor"/> | 650 | <nil key="textColor"/> |
651 | <nil key="highlightedColor"/> | 651 | <nil key="highlightedColor"/> |
652 | </label> | 652 | </label> |
653 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="AfR-hZ-Jcp"> | 653 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="AfR-hZ-Jcp"> |
654 | <rect key="frame" x="46" y="210.5" width="283" height="73.5"/> | 654 | <rect key="frame" x="46" y="210.5" width="283" height="73.5"/> |
655 | <subviews> | 655 | <subviews> |
656 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Q7l-tY-i0N"> | 656 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Q7l-tY-i0N"> |
657 | <rect key="frame" x="0.0" y="0.0" width="283" height="20.5"/> | 657 | <rect key="frame" x="0.0" y="0.0" width="283" height="20.5"/> |
658 | <string key="text">社名 | 658 | <string key="text">社名 |
659 | </string> | 659 | </string> |
660 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 660 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
661 | <nil key="textColor"/> | 661 | <nil key="textColor"/> |
662 | <nil key="highlightedColor"/> | 662 | <nil key="highlightedColor"/> |
663 | </label> | 663 | </label> |
664 | <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="bezel" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="f2Z-jE-vRq"> | 664 | <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="bezel" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="f2Z-jE-vRq"> |
665 | <rect key="frame" x="0.0" y="28.5" width="283" height="45"/> | 665 | <rect key="frame" x="0.0" y="28.5" width="283" height="45"/> |
666 | <constraints> | 666 | <constraints> |
667 | <constraint firstAttribute="height" constant="45" id="z8f-M5-hKY"/> | 667 | <constraint firstAttribute="height" constant="45" id="z8f-M5-hKY"/> |
668 | </constraints> | 668 | </constraints> |
669 | <nil key="textColor"/> | 669 | <nil key="textColor"/> |
670 | <fontDescription key="fontDescription" type="system" pointSize="14"/> | 670 | <fontDescription key="fontDescription" type="system" pointSize="14"/> |
671 | <textInputTraits key="textInputTraits" returnKeyType="done"/> | 671 | <textInputTraits key="textInputTraits" returnKeyType="done"/> |
672 | <connections> | 672 | <connections> |
673 | <action selector="edtActionTrigerClick:" destination="Bw5-fP-Mov" eventType="primaryActionTriggered" id="uAh-Gq-DdC"/> | 673 | <action selector="edtActionTrigerClick:" destination="Bw5-fP-Mov" eventType="primaryActionTriggered" id="uAh-Gq-DdC"/> |
674 | </connections> | 674 | </connections> |
675 | </textField> | 675 | </textField> |
676 | </subviews> | 676 | </subviews> |
677 | </stackView> | 677 | </stackView> |
678 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kWg-5t-Aqa"> | 678 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kWg-5t-Aqa"> |
679 | <rect key="frame" x="46" y="597" width="283" height="40"/> | 679 | <rect key="frame" x="46" y="597" width="283" height="40"/> |
680 | <subviews> | 680 | <subviews> |
681 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="nyH-LR-M2O" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 681 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="nyH-LR-M2O" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
682 | <rect key="frame" x="0.0" y="0.0" width="110" height="40"/> | 682 | <rect key="frame" x="0.0" y="0.0" width="110" height="40"/> |
683 | <constraints> | 683 | <constraints> |
684 | <constraint firstAttribute="width" constant="110" id="bNp-u9-Yd7"/> | 684 | <constraint firstAttribute="width" constant="110" id="bNp-u9-Yd7"/> |
685 | <constraint firstAttribute="height" constant="40" id="bUW-EG-7R0"/> | 685 | <constraint firstAttribute="height" constant="40" id="bUW-EG-7R0"/> |
686 | </constraints> | 686 | </constraints> |
687 | <state key="normal"> | 687 | <state key="normal"> |
688 | <string key="title">戻る | 688 | <string key="title">戻る |
689 | </string> | 689 | </string> |
690 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 690 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
691 | </state> | 691 | </state> |
692 | <userDefinedRuntimeAttributes> | 692 | <userDefinedRuntimeAttributes> |
693 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 693 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
694 | <real key="value" value="5"/> | 694 | <real key="value" value="5"/> |
695 | </userDefinedRuntimeAttribute> | 695 | </userDefinedRuntimeAttribute> |
696 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 696 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
697 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 697 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
698 | </userDefinedRuntimeAttribute> | 698 | </userDefinedRuntimeAttribute> |
699 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 699 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
700 | <real key="value" value="1"/> | 700 | <real key="value" value="1"/> |
701 | </userDefinedRuntimeAttribute> | 701 | </userDefinedRuntimeAttribute> |
702 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 702 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
703 | </userDefinedRuntimeAttributes> | 703 | </userDefinedRuntimeAttributes> |
704 | <connections> | 704 | <connections> |
705 | <action selector="btnLeftClick:" destination="Bw5-fP-Mov" eventType="touchUpInside" id="yDs-jg-Tjp"/> | 705 | <action selector="btnLeftClick:" destination="Bw5-fP-Mov" eventType="touchUpInside" id="yDs-jg-Tjp"/> |
706 | </connections> | 706 | </connections> |
707 | </button> | 707 | </button> |
708 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KBK-Te-csN"> | 708 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KBK-Te-csN"> |
709 | <rect key="frame" x="110" y="0.0" width="63" height="40"/> | 709 | <rect key="frame" x="110" y="0.0" width="63" height="40"/> |
710 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 710 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
711 | </view> | 711 | </view> |
712 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="KTF-oO-YS4" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 712 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="KTF-oO-YS4" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
713 | <rect key="frame" x="173" y="0.0" width="110" height="40"/> | 713 | <rect key="frame" x="173" y="0.0" width="110" height="40"/> |
714 | <constraints> | 714 | <constraints> |
715 | <constraint firstAttribute="height" constant="40" id="ddB-fX-Fo7"/> | 715 | <constraint firstAttribute="height" constant="40" id="ddB-fX-Fo7"/> |
716 | <constraint firstAttribute="width" constant="110" id="qTA-W1-83y"/> | 716 | <constraint firstAttribute="width" constant="110" id="qTA-W1-83y"/> |
717 | </constraints> | 717 | </constraints> |
718 | <state key="normal"> | 718 | <state key="normal"> |
719 | <string key="title">次へ | 719 | <string key="title">次へ |
720 | </string> | 720 | </string> |
721 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 721 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
722 | </state> | 722 | </state> |
723 | <userDefinedRuntimeAttributes> | 723 | <userDefinedRuntimeAttributes> |
724 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 724 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
725 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 725 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
726 | <real key="value" value="5"/> | 726 | <real key="value" value="5"/> |
727 | </userDefinedRuntimeAttribute> | 727 | </userDefinedRuntimeAttribute> |
728 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 728 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
729 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 729 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
730 | </userDefinedRuntimeAttribute> | 730 | </userDefinedRuntimeAttribute> |
731 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 731 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
732 | <real key="value" value="1"/> | 732 | <real key="value" value="1"/> |
733 | </userDefinedRuntimeAttribute> | 733 | </userDefinedRuntimeAttribute> |
734 | </userDefinedRuntimeAttributes> | 734 | </userDefinedRuntimeAttributes> |
735 | <connections> | 735 | <connections> |
736 | <action selector="btnRightClick:" destination="Bw5-fP-Mov" eventType="touchUpInside" id="Jeb-4e-ffW"/> | 736 | <action selector="btnRightClick:" destination="Bw5-fP-Mov" eventType="touchUpInside" id="Jeb-4e-ffW"/> |
737 | </connections> | 737 | </connections> |
738 | </button> | 738 | </button> |
739 | </subviews> | 739 | </subviews> |
740 | </stackView> | 740 | </stackView> |
741 | </subviews> | 741 | </subviews> |
742 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 742 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
743 | <constraints> | 743 | <constraints> |
744 | <constraint firstItem="AS4-dp-utm" firstAttribute="centerX" secondItem="czl-Ej-8Rg" secondAttribute="centerX" id="0Hh-R9-ocG"/> | 744 | <constraint firstItem="AS4-dp-utm" firstAttribute="centerX" secondItem="czl-Ej-8Rg" secondAttribute="centerX" id="0Hh-R9-ocG"/> |
745 | <constraint firstItem="pBU-Wl-HOA" firstAttribute="top" secondItem="kWg-5t-Aqa" secondAttribute="bottom" constant="30" id="3ml-v1-nZq"/> | 745 | <constraint firstItem="pBU-Wl-HOA" firstAttribute="top" secondItem="kWg-5t-Aqa" secondAttribute="bottom" constant="30" id="3ml-v1-nZq"/> |
746 | <constraint firstItem="AfR-hZ-Jcp" firstAttribute="top" secondItem="AS4-dp-utm" secondAttribute="bottom" constant="90" id="7XV-oK-lNE"/> | 746 | <constraint firstItem="AfR-hZ-Jcp" firstAttribute="top" secondItem="AS4-dp-utm" secondAttribute="bottom" constant="90" id="7XV-oK-lNE"/> |
747 | <constraint firstAttribute="trailingMargin" secondItem="AfR-hZ-Jcp" secondAttribute="trailing" constant="30" id="BN7-yA-VGY"/> | 747 | <constraint firstAttribute="trailingMargin" secondItem="AfR-hZ-Jcp" secondAttribute="trailing" constant="30" id="BN7-yA-VGY"/> |
748 | <constraint firstAttribute="trailingMargin" secondItem="kWg-5t-Aqa" secondAttribute="trailing" constant="30" id="KfB-QQ-EH6"/> | 748 | <constraint firstAttribute="trailingMargin" secondItem="kWg-5t-Aqa" secondAttribute="trailing" constant="30" id="KfB-QQ-EH6"/> |
749 | <constraint firstItem="AfR-hZ-Jcp" firstAttribute="leading" secondItem="czl-Ej-8Rg" secondAttribute="leadingMargin" constant="30" id="Mm7-gt-Y0g"/> | 749 | <constraint firstItem="AfR-hZ-Jcp" firstAttribute="leading" secondItem="czl-Ej-8Rg" secondAttribute="leadingMargin" constant="30" id="Mm7-gt-Y0g"/> |
750 | <constraint firstAttribute="trailing" secondItem="LlL-Vw-7Ao" secondAttribute="trailing" id="QOK-pz-GtF"/> | 750 | <constraint firstAttribute="trailing" secondItem="LlL-Vw-7Ao" secondAttribute="trailing" id="QOK-pz-GtF"/> |
751 | <constraint firstItem="LlL-Vw-7Ao" firstAttribute="leading" secondItem="czl-Ej-8Rg" secondAttribute="leading" id="ezP-Ps-ZDo"/> | 751 | <constraint firstItem="LlL-Vw-7Ao" firstAttribute="leading" secondItem="czl-Ej-8Rg" secondAttribute="leading" id="ezP-Ps-ZDo"/> |
752 | <constraint firstItem="LlL-Vw-7Ao" firstAttribute="top" secondItem="czl-Ej-8Rg" secondAttribute="top" id="mmi-7F-rRN"/> | 752 | <constraint firstItem="LlL-Vw-7Ao" firstAttribute="top" secondItem="czl-Ej-8Rg" secondAttribute="top" id="mmi-7F-rRN"/> |
753 | <constraint firstItem="AS4-dp-utm" firstAttribute="top" secondItem="LlL-Vw-7Ao" secondAttribute="bottom" constant="50" id="mrh-zv-TNE"/> | 753 | <constraint firstItem="AS4-dp-utm" firstAttribute="top" secondItem="LlL-Vw-7Ao" secondAttribute="bottom" constant="50" id="mrh-zv-TNE"/> |
754 | <constraint firstItem="kWg-5t-Aqa" firstAttribute="leading" secondItem="czl-Ej-8Rg" secondAttribute="leadingMargin" constant="30" id="xCP-Dz-HKh"/> | 754 | <constraint firstItem="kWg-5t-Aqa" firstAttribute="leading" secondItem="czl-Ej-8Rg" secondAttribute="leadingMargin" constant="30" id="xCP-Dz-HKh"/> |
755 | </constraints> | 755 | </constraints> |
756 | </view> | 756 | </view> |
757 | <connections> | 757 | <connections> |
758 | <outlet property="edtTenCty" destination="f2Z-jE-vRq" id="2na-1G-HEe"/> | 758 | <outlet property="edtTenCty" destination="f2Z-jE-vRq" id="2na-1G-HEe"/> |
759 | <outlet property="topMargin" destination="mmi-7F-rRN" id="w6k-es-QkH"/> | 759 | <outlet property="topMargin" destination="mmi-7F-rRN" id="w6k-es-QkH"/> |
760 | <outlet property="vTopLogo" destination="LlL-Vw-7Ao" id="U6M-Pv-dCz"/> | 760 | <outlet property="vTopLogo" destination="LlL-Vw-7Ao" id="U6M-Pv-dCz"/> |
761 | </connections> | 761 | </connections> |
762 | </viewController> | 762 | </viewController> |
763 | <placeholder placeholderIdentifier="IBFirstResponder" id="4dp-3L-gtp" userLabel="First Responder" sceneMemberID="firstResponder"/> | 763 | <placeholder placeholderIdentifier="IBFirstResponder" id="4dp-3L-gtp" userLabel="First Responder" sceneMemberID="firstResponder"/> |
764 | </objects> | 764 | </objects> |
765 | <point key="canvasLocation" x="-308" y="659.82008995502258"/> | 765 | <point key="canvasLocation" x="-308" y="659.82008995502258"/> |
766 | </scene> | 766 | </scene> |
767 | <!--Nhap Ten Ctruong--> | 767 | <!--Nhap Ten Ctruong--> |
768 | <scene sceneID="j0g-NT-9DA"> | 768 | <scene sceneID="j0g-NT-9DA"> |
769 | <objects> | 769 | <objects> |
770 | <viewController storyboardIdentifier="VCNhapTenCtruong" useStoryboardIdentifierAsRestorationIdentifier="YES" id="ZNY-ci-dTt" customClass="VCNhapTenCtruong" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> | 770 | <viewController storyboardIdentifier="VCNhapTenCtruong" useStoryboardIdentifierAsRestorationIdentifier="YES" id="ZNY-ci-dTt" customClass="VCNhapTenCtruong" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> |
771 | <layoutGuides> | 771 | <layoutGuides> |
772 | <viewControllerLayoutGuide type="top" id="Bbo-Kc-Evt"/> | 772 | <viewControllerLayoutGuide type="top" id="Bbo-Kc-Evt"/> |
773 | <viewControllerLayoutGuide type="bottom" id="iHb-Dd-Hkg"/> | 773 | <viewControllerLayoutGuide type="bottom" id="iHb-Dd-Hkg"/> |
774 | </layoutGuides> | 774 | </layoutGuides> |
775 | <view key="view" contentMode="scaleToFill" id="0YD-Nr-hhi"> | 775 | <view key="view" contentMode="scaleToFill" id="0YD-Nr-hhi"> |
776 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 776 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
777 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 777 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
778 | <subviews> | 778 | <subviews> |
779 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1hh-CL-dVh" customClass="VTopLogo" customModule="App" customModuleProvider="target"> | 779 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1hh-CL-dVh" customClass="VTopLogo" customModule="App" customModuleProvider="target"> |
780 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | 780 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> |
781 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 781 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
782 | <constraints> | 782 | <constraints> |
783 | <constraint firstAttribute="height" constant="50" id="dId-dC-dBi"/> | 783 | <constraint firstAttribute="height" constant="50" id="dId-dC-dBi"/> |
784 | </constraints> | 784 | </constraints> |
785 | </view> | 785 | </view> |
786 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dVU-Ms-Eah"> | 786 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dVU-Ms-Eah"> |
787 | <rect key="frame" x="75.5" y="100" width="225.5" height="20.5"/> | 787 | <rect key="frame" x="75.5" y="100" width="225.5" height="20.5"/> |
788 | <string key="text">工事件名を入力してください | 788 | <string key="text">工事件名を入力してください |
789 | </string> | 789 | </string> |
790 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 790 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
791 | <nil key="textColor"/> | 791 | <nil key="textColor"/> |
792 | <nil key="highlightedColor"/> | 792 | <nil key="highlightedColor"/> |
793 | </label> | 793 | </label> |
794 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="bFC-Ll-h55"> | 794 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="bFC-Ll-h55"> |
795 | <rect key="frame" x="46" y="210.5" width="283" height="73.5"/> | 795 | <rect key="frame" x="46" y="210.5" width="283" height="73.5"/> |
796 | <subviews> | 796 | <subviews> |
797 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7lr-4w-hM0"> | 797 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7lr-4w-hM0"> |
798 | <rect key="frame" x="0.0" y="0.0" width="283" height="20.5"/> | 798 | <rect key="frame" x="0.0" y="0.0" width="283" height="20.5"/> |
799 | <string key="text">社名 | 799 | <string key="text">社名 |
800 | </string> | 800 | </string> |
801 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 801 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
802 | <nil key="textColor"/> | 802 | <nil key="textColor"/> |
803 | <nil key="highlightedColor"/> | 803 | <nil key="highlightedColor"/> |
804 | </label> | 804 | </label> |
805 | <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="bezel" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="noi-Y3-h97"> | 805 | <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="bezel" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="noi-Y3-h97"> |
806 | <rect key="frame" x="0.0" y="28.5" width="283" height="45"/> | 806 | <rect key="frame" x="0.0" y="28.5" width="283" height="45"/> |
807 | <constraints> | 807 | <constraints> |
808 | <constraint firstAttribute="height" constant="45" id="xTN-dR-JNG"/> | 808 | <constraint firstAttribute="height" constant="45" id="xTN-dR-JNG"/> |
809 | </constraints> | 809 | </constraints> |
810 | <nil key="textColor"/> | 810 | <nil key="textColor"/> |
811 | <fontDescription key="fontDescription" type="system" pointSize="14"/> | 811 | <fontDescription key="fontDescription" type="system" pointSize="14"/> |
812 | <textInputTraits key="textInputTraits" returnKeyType="done"/> | 812 | <textInputTraits key="textInputTraits" returnKeyType="done"/> |
813 | <connections> | 813 | <connections> |
814 | <action selector="edtActionTrigerClick:" destination="ZNY-ci-dTt" eventType="primaryActionTriggered" id="tol-eU-cRU"/> | 814 | <action selector="edtActionTrigerClick:" destination="ZNY-ci-dTt" eventType="primaryActionTriggered" id="tol-eU-cRU"/> |
815 | </connections> | 815 | </connections> |
816 | </textField> | 816 | </textField> |
817 | </subviews> | 817 | </subviews> |
818 | </stackView> | 818 | </stackView> |
819 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="XZ4-rX-ToP"> | 819 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="XZ4-rX-ToP"> |
820 | <rect key="frame" x="46" y="597" width="283" height="40"/> | 820 | <rect key="frame" x="46" y="597" width="283" height="40"/> |
821 | <subviews> | 821 | <subviews> |
822 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="u7S-im-G3d" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 822 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="u7S-im-G3d" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
823 | <rect key="frame" x="0.0" y="0.0" width="110" height="40"/> | 823 | <rect key="frame" x="0.0" y="0.0" width="110" height="40"/> |
824 | <constraints> | 824 | <constraints> |
825 | <constraint firstAttribute="width" constant="110" id="aDI-4M-34I"/> | 825 | <constraint firstAttribute="width" constant="110" id="aDI-4M-34I"/> |
826 | <constraint firstAttribute="height" constant="40" id="oOa-6F-hmE"/> | 826 | <constraint firstAttribute="height" constant="40" id="oOa-6F-hmE"/> |
827 | </constraints> | 827 | </constraints> |
828 | <state key="normal"> | 828 | <state key="normal"> |
829 | <string key="title">戻る | 829 | <string key="title">戻る |
830 | </string> | 830 | </string> |
831 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 831 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
832 | </state> | 832 | </state> |
833 | <userDefinedRuntimeAttributes> | 833 | <userDefinedRuntimeAttributes> |
834 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 834 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
835 | <real key="value" value="5"/> | 835 | <real key="value" value="5"/> |
836 | </userDefinedRuntimeAttribute> | 836 | </userDefinedRuntimeAttribute> |
837 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 837 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
838 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 838 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
839 | </userDefinedRuntimeAttribute> | 839 | </userDefinedRuntimeAttribute> |
840 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 840 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
841 | <real key="value" value="1"/> | 841 | <real key="value" value="1"/> |
842 | </userDefinedRuntimeAttribute> | 842 | </userDefinedRuntimeAttribute> |
843 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 843 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
844 | </userDefinedRuntimeAttributes> | 844 | </userDefinedRuntimeAttributes> |
845 | <connections> | 845 | <connections> |
846 | <action selector="btnLeftClick:" destination="ZNY-ci-dTt" eventType="touchUpInside" id="mQf-w6-bee"/> | 846 | <action selector="btnLeftClick:" destination="ZNY-ci-dTt" eventType="touchUpInside" id="mQf-w6-bee"/> |
847 | </connections> | 847 | </connections> |
848 | </button> | 848 | </button> |
849 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="iYJ-a0-UVi"> | 849 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="iYJ-a0-UVi"> |
850 | <rect key="frame" x="110" y="0.0" width="63" height="40"/> | 850 | <rect key="frame" x="110" y="0.0" width="63" height="40"/> |
851 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 851 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
852 | </view> | 852 | </view> |
853 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7jJ-db-Btk" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 853 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7jJ-db-Btk" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
854 | <rect key="frame" x="173" y="0.0" width="110" height="40"/> | 854 | <rect key="frame" x="173" y="0.0" width="110" height="40"/> |
855 | <constraints> | 855 | <constraints> |
856 | <constraint firstAttribute="width" constant="110" id="IbT-Ok-8b5"/> | 856 | <constraint firstAttribute="width" constant="110" id="IbT-Ok-8b5"/> |
857 | <constraint firstAttribute="height" constant="40" id="kLU-Ih-kDM"/> | 857 | <constraint firstAttribute="height" constant="40" id="kLU-Ih-kDM"/> |
858 | </constraints> | 858 | </constraints> |
859 | <state key="normal"> | 859 | <state key="normal"> |
860 | <string key="title">次へ | 860 | <string key="title">次へ |
861 | </string> | 861 | </string> |
862 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 862 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
863 | </state> | 863 | </state> |
864 | <userDefinedRuntimeAttributes> | 864 | <userDefinedRuntimeAttributes> |
865 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 865 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
866 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 866 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
867 | <real key="value" value="5"/> | 867 | <real key="value" value="5"/> |
868 | </userDefinedRuntimeAttribute> | 868 | </userDefinedRuntimeAttribute> |
869 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 869 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
870 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 870 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
871 | </userDefinedRuntimeAttribute> | 871 | </userDefinedRuntimeAttribute> |
872 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 872 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
873 | <real key="value" value="1"/> | 873 | <real key="value" value="1"/> |
874 | </userDefinedRuntimeAttribute> | 874 | </userDefinedRuntimeAttribute> |
875 | </userDefinedRuntimeAttributes> | 875 | </userDefinedRuntimeAttributes> |
876 | <connections> | 876 | <connections> |
877 | <action selector="btnRightClick:" destination="ZNY-ci-dTt" eventType="touchUpInside" id="quf-7v-PJi"/> | 877 | <action selector="btnRightClick:" destination="ZNY-ci-dTt" eventType="touchUpInside" id="quf-7v-PJi"/> |
878 | </connections> | 878 | </connections> |
879 | </button> | 879 | </button> |
880 | </subviews> | 880 | </subviews> |
881 | </stackView> | 881 | </stackView> |
882 | </subviews> | 882 | </subviews> |
883 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 883 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
884 | <constraints> | 884 | <constraints> |
885 | <constraint firstItem="dVU-Ms-Eah" firstAttribute="centerX" secondItem="0YD-Nr-hhi" secondAttribute="centerX" id="1S0-D1-Bnu"/> | 885 | <constraint firstItem="dVU-Ms-Eah" firstAttribute="centerX" secondItem="0YD-Nr-hhi" secondAttribute="centerX" id="1S0-D1-Bnu"/> |
886 | <constraint firstAttribute="trailing" secondItem="1hh-CL-dVh" secondAttribute="trailing" id="81l-Wj-UBK"/> | 886 | <constraint firstAttribute="trailing" secondItem="1hh-CL-dVh" secondAttribute="trailing" id="81l-Wj-UBK"/> |
887 | <constraint firstAttribute="trailingMargin" secondItem="XZ4-rX-ToP" secondAttribute="trailing" constant="30" id="Dvk-Ls-eOn"/> | 887 | <constraint firstAttribute="trailingMargin" secondItem="XZ4-rX-ToP" secondAttribute="trailing" constant="30" id="Dvk-Ls-eOn"/> |
888 | <constraint firstItem="bFC-Ll-h55" firstAttribute="leading" secondItem="0YD-Nr-hhi" secondAttribute="leadingMargin" constant="30" id="JIV-Ag-mmq"/> | 888 | <constraint firstItem="bFC-Ll-h55" firstAttribute="leading" secondItem="0YD-Nr-hhi" secondAttribute="leadingMargin" constant="30" id="JIV-Ag-mmq"/> |
889 | <constraint firstItem="bFC-Ll-h55" firstAttribute="top" secondItem="dVU-Ms-Eah" secondAttribute="bottom" constant="90" id="QQJ-ud-hiX"/> | 889 | <constraint firstItem="bFC-Ll-h55" firstAttribute="top" secondItem="dVU-Ms-Eah" secondAttribute="bottom" constant="90" id="QQJ-ud-hiX"/> |
890 | <constraint firstItem="dVU-Ms-Eah" firstAttribute="top" secondItem="1hh-CL-dVh" secondAttribute="bottom" constant="50" id="cSN-ll-BpP"/> | 890 | <constraint firstItem="dVU-Ms-Eah" firstAttribute="top" secondItem="1hh-CL-dVh" secondAttribute="bottom" constant="50" id="cSN-ll-BpP"/> |
891 | <constraint firstItem="XZ4-rX-ToP" firstAttribute="leading" secondItem="0YD-Nr-hhi" secondAttribute="leadingMargin" constant="30" id="paT-dP-Mdz"/> | 891 | <constraint firstItem="XZ4-rX-ToP" firstAttribute="leading" secondItem="0YD-Nr-hhi" secondAttribute="leadingMargin" constant="30" id="paT-dP-Mdz"/> |
892 | <constraint firstAttribute="trailingMargin" secondItem="bFC-Ll-h55" secondAttribute="trailing" constant="30" id="s9p-qF-IND"/> | 892 | <constraint firstAttribute="trailingMargin" secondItem="bFC-Ll-h55" secondAttribute="trailing" constant="30" id="s9p-qF-IND"/> |
893 | <constraint firstItem="1hh-CL-dVh" firstAttribute="top" secondItem="0YD-Nr-hhi" secondAttribute="top" id="wMd-oU-EZ5"/> | 893 | <constraint firstItem="1hh-CL-dVh" firstAttribute="top" secondItem="0YD-Nr-hhi" secondAttribute="top" id="wMd-oU-EZ5"/> |
894 | <constraint firstItem="1hh-CL-dVh" firstAttribute="leading" secondItem="0YD-Nr-hhi" secondAttribute="leading" id="wiQ-hp-U3u"/> | 894 | <constraint firstItem="1hh-CL-dVh" firstAttribute="leading" secondItem="0YD-Nr-hhi" secondAttribute="leading" id="wiQ-hp-U3u"/> |
895 | <constraint firstItem="iHb-Dd-Hkg" firstAttribute="top" secondItem="XZ4-rX-ToP" secondAttribute="bottom" constant="30" id="yKz-ad-z1r"/> | 895 | <constraint firstItem="iHb-Dd-Hkg" firstAttribute="top" secondItem="XZ4-rX-ToP" secondAttribute="bottom" constant="30" id="yKz-ad-z1r"/> |
896 | </constraints> | 896 | </constraints> |
897 | </view> | 897 | </view> |
898 | <connections> | 898 | <connections> |
899 | <outlet property="edtTitle" destination="noi-Y3-h97" id="XW9-SL-Fja"/> | 899 | <outlet property="edtTitle" destination="noi-Y3-h97" id="XW9-SL-Fja"/> |
900 | <outlet property="topMargin" destination="wMd-oU-EZ5" id="lPW-Ya-Nps"/> | 900 | <outlet property="topMargin" destination="wMd-oU-EZ5" id="lPW-Ya-Nps"/> |
901 | <outlet property="vTopLogo" destination="1hh-CL-dVh" id="M20-a9-bUS"/> | 901 | <outlet property="vTopLogo" destination="1hh-CL-dVh" id="M20-a9-bUS"/> |
902 | </connections> | 902 | </connections> |
903 | </viewController> | 903 | </viewController> |
904 | <placeholder placeholderIdentifier="IBFirstResponder" id="nhD-0d-IBv" userLabel="First Responder" sceneMemberID="firstResponder"/> | 904 | <placeholder placeholderIdentifier="IBFirstResponder" id="nhD-0d-IBv" userLabel="First Responder" sceneMemberID="firstResponder"/> |
905 | </objects> | 905 | </objects> |
906 | <point key="canvasLocation" x="306" y="660"/> | 906 | <point key="canvasLocation" x="306" y="660"/> |
907 | </scene> | 907 | </scene> |
908 | <!--Nhap Muc Chup--> | 908 | <!--Nhap Muc Chup--> |
909 | <scene sceneID="bJo-KF-EZU"> | 909 | <scene sceneID="bJo-KF-EZU"> |
910 | <objects> | 910 | <objects> |
911 | <viewController storyboardIdentifier="VCNhapMucChup" useStoryboardIdentifierAsRestorationIdentifier="YES" id="gp3-LC-b0P" customClass="VCNhapMucChup" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> | 911 | <viewController storyboardIdentifier="VCNhapMucChup" useStoryboardIdentifierAsRestorationIdentifier="YES" id="gp3-LC-b0P" customClass="VCNhapMucChup" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> |
912 | <layoutGuides> | 912 | <layoutGuides> |
913 | <viewControllerLayoutGuide type="top" id="IwU-6a-9SY"/> | 913 | <viewControllerLayoutGuide type="top" id="IwU-6a-9SY"/> |
914 | <viewControllerLayoutGuide type="bottom" id="mwF-FP-BSA"/> | 914 | <viewControllerLayoutGuide type="bottom" id="mwF-FP-BSA"/> |
915 | </layoutGuides> | 915 | </layoutGuides> |
916 | <view key="view" contentMode="scaleToFill" id="rlA-CO-39S"> | 916 | <view key="view" contentMode="scaleToFill" id="rlA-CO-39S"> |
917 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 917 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
918 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 918 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
919 | <subviews> | 919 | <subviews> |
920 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="diY-N9-Gmz" customClass="VTopLogo" customModule="App" customModuleProvider="target"> | 920 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="diY-N9-Gmz" customClass="VTopLogo" customModule="App" customModuleProvider="target"> |
921 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | 921 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> |
922 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 922 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
923 | <constraints> | 923 | <constraints> |
924 | <constraint firstAttribute="height" constant="50" id="DPH-Di-Iq7"/> | 924 | <constraint firstAttribute="height" constant="50" id="DPH-Di-Iq7"/> |
925 | </constraints> | 925 | </constraints> |
926 | </view> | 926 | </view> |
927 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="se6-EP-Rgi"> | 927 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="se6-EP-Rgi"> |
928 | <rect key="frame" x="49.5" y="100" width="277.5" height="20.5"/> | 928 | <rect key="frame" x="49.5" y="100" width="277.5" height="20.5"/> |
929 | <string key="text">撮影項目リストを入力してください | 929 | <string key="text">撮影項目リストを入力してください |
930 | </string> | 930 | </string> |
931 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 931 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
932 | <nil key="textColor"/> | 932 | <nil key="textColor"/> |
933 | <nil key="highlightedColor"/> | 933 | <nil key="highlightedColor"/> |
934 | </label> | 934 | </label> |
935 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="30c-t6-uoO"> | 935 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="30c-t6-uoO"> |
936 | <rect key="frame" x="30" y="160.5" width="315" height="73.5"/> | 936 | <rect key="frame" x="30" y="160.5" width="315" height="73.5"/> |
937 | <subviews> | 937 | <subviews> |
938 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IBd-4Z-pTG"> | 938 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IBd-4Z-pTG"> |
939 | <rect key="frame" x="0.0" y="0.0" width="315" height="20.5"/> | 939 | <rect key="frame" x="0.0" y="0.0" width="315" height="20.5"/> |
940 | <string key="text">項目リスト | 940 | <string key="text">項目リスト |
941 | </string> | 941 | </string> |
942 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 942 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
943 | <nil key="textColor"/> | 943 | <nil key="textColor"/> |
944 | <nil key="highlightedColor"/> | 944 | <nil key="highlightedColor"/> |
945 | </label> | 945 | </label> |
946 | <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="bezel" placeholder="外観下塗り" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="SdT-qW-FtA"> | 946 | <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="bezel" placeholder="外観下塗り" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="SdT-qW-FtA"> |
947 | <rect key="frame" x="0.0" y="28.5" width="315" height="45"/> | 947 | <rect key="frame" x="0.0" y="28.5" width="315" height="45"/> |
948 | <constraints> | 948 | <constraints> |
949 | <constraint firstAttribute="height" constant="45" id="e5e-O3-Y54"/> | 949 | <constraint firstAttribute="height" constant="45" id="e5e-O3-Y54"/> |
950 | </constraints> | 950 | </constraints> |
951 | <nil key="textColor"/> | 951 | <nil key="textColor"/> |
952 | <fontDescription key="fontDescription" type="system" pointSize="14"/> | 952 | <fontDescription key="fontDescription" type="system" pointSize="14"/> |
953 | <textInputTraits key="textInputTraits" returnKeyType="done"/> | 953 | <textInputTraits key="textInputTraits" returnKeyType="done"/> |
954 | <connections> | 954 | <connections> |
955 | <action selector="edtActionTrigerClick:" destination="gp3-LC-b0P" eventType="primaryActionTriggered" id="AwC-gv-JeG"/> | 955 | <action selector="edtActionTrigerClick:" destination="gp3-LC-b0P" eventType="primaryActionTriggered" id="AwC-gv-JeG"/> |
956 | </connections> | 956 | </connections> |
957 | </textField> | 957 | </textField> |
958 | </subviews> | 958 | </subviews> |
959 | </stackView> | 959 | </stackView> |
960 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pl6-Ld-kgv" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 960 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pl6-Ld-kgv" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
961 | <rect key="frame" x="138" y="242" width="100" height="35"/> | 961 | <rect key="frame" x="138" y="242" width="100" height="35"/> |
962 | <constraints> | 962 | <constraints> |
963 | <constraint firstAttribute="height" constant="35" id="VnK-8y-sWy"/> | 963 | <constraint firstAttribute="height" constant="35" id="VnK-8y-sWy"/> |
964 | <constraint firstAttribute="width" constant="100" id="ucO-dL-Ncp"/> | 964 | <constraint firstAttribute="width" constant="100" id="ucO-dL-Ncp"/> |
965 | </constraints> | 965 | </constraints> |
966 | <state key="normal" title=" Add" image="add_icon"> | 966 | <state key="normal" title=" Add" image="add_icon"> |
967 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 967 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
968 | </state> | 968 | </state> |
969 | <userDefinedRuntimeAttributes> | 969 | <userDefinedRuntimeAttributes> |
970 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 970 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
971 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 971 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
972 | <real key="value" value="5"/> | 972 | <real key="value" value="5"/> |
973 | </userDefinedRuntimeAttribute> | 973 | </userDefinedRuntimeAttribute> |
974 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 974 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
975 | <color key="value" name="disabledControlTextColor" catalog="System" colorSpace="catalog"/> | 975 | <color key="value" name="disabledControlTextColor" catalog="System" colorSpace="catalog"/> |
976 | </userDefinedRuntimeAttribute> | 976 | </userDefinedRuntimeAttribute> |
977 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 977 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
978 | <real key="value" value="1"/> | 978 | <real key="value" value="1"/> |
979 | </userDefinedRuntimeAttribute> | 979 | </userDefinedRuntimeAttribute> |
980 | </userDefinedRuntimeAttributes> | 980 | </userDefinedRuntimeAttributes> |
981 | <connections> | 981 | <connections> |
982 | <action selector="btnAddClick:" destination="gp3-LC-b0P" eventType="touchUpInside" id="DRF-LJ-PSp"/> | 982 | <action selector="btnAddClick:" destination="gp3-LC-b0P" eventType="touchUpInside" id="DRF-LJ-PSp"/> |
983 | </connections> | 983 | </connections> |
984 | </button> | 984 | </button> |
985 | <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="DJO-7p-DBK" customClass="UITableViewLoadDataFromUIThread" customModule="GeneralUtils"> | 985 | <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="DJO-7p-DBK" customClass="UITableViewLoadDataFromUIThread" customModule="GeneralUtils"> |
986 | <rect key="frame" x="30" y="293" width="315" height="296"/> | 986 | <rect key="frame" x="30" y="293" width="315" height="296"/> |
987 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 987 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
988 | </tableView> | 988 | </tableView> |
989 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FxT-6N-yis"> | 989 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FxT-6N-yis"> |
990 | <rect key="frame" x="46" y="597" width="283" height="40"/> | 990 | <rect key="frame" x="46" y="597" width="283" height="40"/> |
991 | <subviews> | 991 | <subviews> |
992 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Ebc-F2-WX2" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 992 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Ebc-F2-WX2" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
993 | <rect key="frame" x="0.0" y="0.0" width="110" height="40"/> | 993 | <rect key="frame" x="0.0" y="0.0" width="110" height="40"/> |
994 | <constraints> | 994 | <constraints> |
995 | <constraint firstAttribute="width" constant="110" id="Yad-e7-1Sg"/> | 995 | <constraint firstAttribute="width" constant="110" id="Yad-e7-1Sg"/> |
996 | <constraint firstAttribute="height" constant="40" id="xmg-od-fIy"/> | 996 | <constraint firstAttribute="height" constant="40" id="xmg-od-fIy"/> |
997 | </constraints> | 997 | </constraints> |
998 | <state key="normal"> | 998 | <state key="normal"> |
999 | <string key="title">戻る | 999 | <string key="title">戻る |
1000 | </string> | 1000 | </string> |
1001 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 1001 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
1002 | </state> | 1002 | </state> |
1003 | <userDefinedRuntimeAttributes> | 1003 | <userDefinedRuntimeAttributes> |
1004 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 1004 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
1005 | <real key="value" value="5"/> | 1005 | <real key="value" value="5"/> |
1006 | </userDefinedRuntimeAttribute> | 1006 | </userDefinedRuntimeAttribute> |
1007 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 1007 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
1008 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 1008 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
1009 | </userDefinedRuntimeAttribute> | 1009 | </userDefinedRuntimeAttribute> |
1010 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 1010 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
1011 | <real key="value" value="1"/> | 1011 | <real key="value" value="1"/> |
1012 | </userDefinedRuntimeAttribute> | 1012 | </userDefinedRuntimeAttribute> |
1013 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 1013 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
1014 | </userDefinedRuntimeAttributes> | 1014 | </userDefinedRuntimeAttributes> |
1015 | <connections> | 1015 | <connections> |
1016 | <action selector="btnLeftClick:" destination="gp3-LC-b0P" eventType="touchUpInside" id="WYr-d9-omC"/> | 1016 | <action selector="btnLeftClick:" destination="gp3-LC-b0P" eventType="touchUpInside" id="WYr-d9-omC"/> |
1017 | </connections> | 1017 | </connections> |
1018 | </button> | 1018 | </button> |
1019 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="XQq-1w-StA"> | 1019 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="XQq-1w-StA"> |
1020 | <rect key="frame" x="110" y="0.0" width="63" height="40"/> | 1020 | <rect key="frame" x="110" y="0.0" width="63" height="40"/> |
1021 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 1021 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
1022 | </view> | 1022 | </view> |
1023 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="J0s-KI-W0f" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 1023 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="J0s-KI-W0f" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
1024 | <rect key="frame" x="173" y="0.0" width="110" height="40"/> | 1024 | <rect key="frame" x="173" y="0.0" width="110" height="40"/> |
1025 | <constraints> | 1025 | <constraints> |
1026 | <constraint firstAttribute="height" constant="40" id="1VS-Lj-Kod"/> | 1026 | <constraint firstAttribute="height" constant="40" id="1VS-Lj-Kod"/> |
1027 | <constraint firstAttribute="width" constant="110" id="Kz7-23-8pa"/> | 1027 | <constraint firstAttribute="width" constant="110" id="Kz7-23-8pa"/> |
1028 | </constraints> | 1028 | </constraints> |
1029 | <state key="normal"> | 1029 | <state key="normal"> |
1030 | <string key="title">次へ | 1030 | <string key="title">次へ |
1031 | </string> | 1031 | </string> |
1032 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 1032 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
1033 | </state> | 1033 | </state> |
1034 | <userDefinedRuntimeAttributes> | 1034 | <userDefinedRuntimeAttributes> |
1035 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 1035 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
1036 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 1036 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
1037 | <real key="value" value="5"/> | 1037 | <real key="value" value="5"/> |
1038 | </userDefinedRuntimeAttribute> | 1038 | </userDefinedRuntimeAttribute> |
1039 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 1039 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
1040 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 1040 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
1041 | </userDefinedRuntimeAttribute> | 1041 | </userDefinedRuntimeAttribute> |
1042 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 1042 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
1043 | <real key="value" value="1"/> | 1043 | <real key="value" value="1"/> |
1044 | </userDefinedRuntimeAttribute> | 1044 | </userDefinedRuntimeAttribute> |
1045 | </userDefinedRuntimeAttributes> | 1045 | </userDefinedRuntimeAttributes> |
1046 | <connections> | 1046 | <connections> |
1047 | <action selector="btnRightClick:" destination="gp3-LC-b0P" eventType="touchUpInside" id="grJ-VC-pJG"/> | 1047 | <action selector="btnRightClick:" destination="gp3-LC-b0P" eventType="touchUpInside" id="grJ-VC-pJG"/> |
1048 | </connections> | 1048 | </connections> |
1049 | </button> | 1049 | </button> |
1050 | </subviews> | 1050 | </subviews> |
1051 | </stackView> | 1051 | </stackView> |
1052 | </subviews> | 1052 | </subviews> |
1053 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 1053 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
1054 | <constraints> | 1054 | <constraints> |
1055 | <constraint firstAttribute="trailing" secondItem="diY-N9-Gmz" secondAttribute="trailing" id="3VW-BY-MUd"/> | 1055 | <constraint firstAttribute="trailing" secondItem="diY-N9-Gmz" secondAttribute="trailing" id="3VW-BY-MUd"/> |
1056 | <constraint firstAttribute="trailing" secondItem="30c-t6-uoO" secondAttribute="trailing" constant="30" id="Ecu-XH-nqW"/> | 1056 | <constraint firstAttribute="trailing" secondItem="30c-t6-uoO" secondAttribute="trailing" constant="30" id="Ecu-XH-nqW"/> |
1057 | <constraint firstItem="mwF-FP-BSA" firstAttribute="top" secondItem="FxT-6N-yis" secondAttribute="bottom" constant="30" id="Hai-rf-6yr"/> | 1057 | <constraint firstItem="mwF-FP-BSA" firstAttribute="top" secondItem="FxT-6N-yis" secondAttribute="bottom" constant="30" id="Hai-rf-6yr"/> |
1058 | <constraint firstItem="diY-N9-Gmz" firstAttribute="top" secondItem="rlA-CO-39S" secondAttribute="top" id="Ij5-29-ivK"/> | 1058 | <constraint firstItem="diY-N9-Gmz" firstAttribute="top" secondItem="rlA-CO-39S" secondAttribute="top" id="Ij5-29-ivK"/> |
1059 | <constraint firstItem="DJO-7p-DBK" firstAttribute="leading" secondItem="rlA-CO-39S" secondAttribute="leading" constant="30" id="LDY-44-F3t"/> | 1059 | <constraint firstItem="DJO-7p-DBK" firstAttribute="leading" secondItem="rlA-CO-39S" secondAttribute="leading" constant="30" id="LDY-44-F3t"/> |
1060 | <constraint firstItem="DJO-7p-DBK" firstAttribute="top" secondItem="pl6-Ld-kgv" secondAttribute="bottom" constant="16" id="LpH-r7-y7v"/> | 1060 | <constraint firstItem="DJO-7p-DBK" firstAttribute="top" secondItem="pl6-Ld-kgv" secondAttribute="bottom" constant="16" id="LpH-r7-y7v"/> |
1061 | <constraint firstAttribute="trailing" secondItem="DJO-7p-DBK" secondAttribute="trailing" constant="30" id="Rc9-d9-gTO"/> | 1061 | <constraint firstAttribute="trailing" secondItem="DJO-7p-DBK" secondAttribute="trailing" constant="30" id="Rc9-d9-gTO"/> |
1062 | <constraint firstAttribute="trailingMargin" secondItem="FxT-6N-yis" secondAttribute="trailing" constant="30" id="ULQ-E5-7UA"/> | 1062 | <constraint firstAttribute="trailingMargin" secondItem="FxT-6N-yis" secondAttribute="trailing" constant="30" id="ULQ-E5-7UA"/> |
1063 | <constraint firstItem="pl6-Ld-kgv" firstAttribute="centerX" secondItem="rlA-CO-39S" secondAttribute="centerX" id="bOh-fc-Ixx"/> | 1063 | <constraint firstItem="pl6-Ld-kgv" firstAttribute="centerX" secondItem="rlA-CO-39S" secondAttribute="centerX" id="bOh-fc-Ixx"/> |
1064 | <constraint firstItem="30c-t6-uoO" firstAttribute="top" secondItem="se6-EP-Rgi" secondAttribute="bottom" constant="40" id="gYc-Xw-pUz"/> | 1064 | <constraint firstItem="30c-t6-uoO" firstAttribute="top" secondItem="se6-EP-Rgi" secondAttribute="bottom" constant="40" id="gYc-Xw-pUz"/> |
1065 | <constraint firstItem="FxT-6N-yis" firstAttribute="leading" secondItem="rlA-CO-39S" secondAttribute="leadingMargin" constant="30" id="iOL-xg-y1x"/> | 1065 | <constraint firstItem="FxT-6N-yis" firstAttribute="leading" secondItem="rlA-CO-39S" secondAttribute="leadingMargin" constant="30" id="iOL-xg-y1x"/> |
1066 | <constraint firstItem="se6-EP-Rgi" firstAttribute="centerX" secondItem="rlA-CO-39S" secondAttribute="centerX" id="idI-tK-aZ3"/> | 1066 | <constraint firstItem="se6-EP-Rgi" firstAttribute="centerX" secondItem="rlA-CO-39S" secondAttribute="centerX" id="idI-tK-aZ3"/> |
1067 | <constraint firstItem="30c-t6-uoO" firstAttribute="leading" secondItem="rlA-CO-39S" secondAttribute="leading" constant="30" id="jFt-ax-X3Y"/> | 1067 | <constraint firstItem="30c-t6-uoO" firstAttribute="leading" secondItem="rlA-CO-39S" secondAttribute="leading" constant="30" id="jFt-ax-X3Y"/> |
1068 | <constraint firstItem="se6-EP-Rgi" firstAttribute="top" secondItem="diY-N9-Gmz" secondAttribute="bottom" constant="50" id="lZ2-Fo-tGC"/> | 1068 | <constraint firstItem="se6-EP-Rgi" firstAttribute="top" secondItem="diY-N9-Gmz" secondAttribute="bottom" constant="50" id="lZ2-Fo-tGC"/> |
1069 | <constraint firstItem="FxT-6N-yis" firstAttribute="top" secondItem="DJO-7p-DBK" secondAttribute="bottom" constant="8" id="ntv-ml-Y3b"/> | 1069 | <constraint firstItem="FxT-6N-yis" firstAttribute="top" secondItem="DJO-7p-DBK" secondAttribute="bottom" constant="8" id="ntv-ml-Y3b"/> |
1070 | <constraint firstItem="pl6-Ld-kgv" firstAttribute="top" secondItem="30c-t6-uoO" secondAttribute="bottom" constant="8" id="unZ-vO-PIA"/> | 1070 | <constraint firstItem="pl6-Ld-kgv" firstAttribute="top" secondItem="30c-t6-uoO" secondAttribute="bottom" constant="8" id="unZ-vO-PIA"/> |
1071 | <constraint firstItem="diY-N9-Gmz" firstAttribute="leading" secondItem="rlA-CO-39S" secondAttribute="leading" id="wBC-Oc-alm"/> | 1071 | <constraint firstItem="diY-N9-Gmz" firstAttribute="leading" secondItem="rlA-CO-39S" secondAttribute="leading" id="wBC-Oc-alm"/> |
1072 | </constraints> | 1072 | </constraints> |
1073 | </view> | 1073 | </view> |
1074 | <connections> | 1074 | <connections> |
1075 | <outlet property="btnNext" destination="J0s-KI-W0f" id="6YL-JK-yJ9"/> | 1075 | <outlet property="btnNext" destination="J0s-KI-W0f" id="6YL-JK-yJ9"/> |
1076 | <outlet property="edtTitle" destination="SdT-qW-FtA" id="qlt-h9-VSe"/> | 1076 | <outlet property="edtTitle" destination="SdT-qW-FtA" id="qlt-h9-VSe"/> |
1077 | <outlet property="tableView" destination="DJO-7p-DBK" id="RmP-xv-fXR"/> | 1077 | <outlet property="tableView" destination="DJO-7p-DBK" id="RmP-xv-fXR"/> |
1078 | <outlet property="topMargin" destination="Ij5-29-ivK" id="B3y-R5-Bn0"/> | 1078 | <outlet property="topMargin" destination="Ij5-29-ivK" id="B3y-R5-Bn0"/> |
1079 | <outlet property="vTopLogo" destination="diY-N9-Gmz" id="6qt-Tp-Gjy"/> | 1079 | <outlet property="vTopLogo" destination="diY-N9-Gmz" id="6qt-Tp-Gjy"/> |
1080 | </connections> | 1080 | </connections> |
1081 | </viewController> | 1081 | </viewController> |
1082 | <placeholder placeholderIdentifier="IBFirstResponder" id="z6L-cG-il7" userLabel="First Responder" sceneMemberID="firstResponder"/> | 1082 | <placeholder placeholderIdentifier="IBFirstResponder" id="z6L-cG-il7" userLabel="First Responder" sceneMemberID="firstResponder"/> |
1083 | </objects> | 1083 | </objects> |
1084 | <point key="canvasLocation" x="924" y="659.82008995502258"/> | 1084 | <point key="canvasLocation" x="924" y="659.82008995502258"/> |
1085 | </scene> | 1085 | </scene> |
1086 | <!--Chon Muc Chup--> | 1086 | <!--Chon Muc Chup--> |
1087 | <scene sceneID="wnR-sq-NeA"> | 1087 | <scene sceneID="wnR-sq-NeA"> |
1088 | <objects> | 1088 | <objects> |
1089 | <viewController storyboardIdentifier="VCChonMucChup" useStoryboardIdentifierAsRestorationIdentifier="YES" id="QOd-um-P0o" customClass="VCChonMucChup" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> | 1089 | <viewController storyboardIdentifier="VCChonMucChup" useStoryboardIdentifierAsRestorationIdentifier="YES" id="QOd-um-P0o" customClass="VCChonMucChup" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> |
1090 | <layoutGuides> | 1090 | <layoutGuides> |
1091 | <viewControllerLayoutGuide type="top" id="EwH-OZ-aWU"/> | 1091 | <viewControllerLayoutGuide type="top" id="EwH-OZ-aWU"/> |
1092 | <viewControllerLayoutGuide type="bottom" id="5M4-Ym-53P"/> | 1092 | <viewControllerLayoutGuide type="bottom" id="5M4-Ym-53P"/> |
1093 | </layoutGuides> | 1093 | </layoutGuides> |
1094 | <view key="view" contentMode="scaleToFill" id="uu7-AQ-RWq"> | 1094 | <view key="view" contentMode="scaleToFill" id="uu7-AQ-RWq"> |
1095 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 1095 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
1096 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 1096 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
1097 | <subviews> | 1097 | <subviews> |
1098 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="X6q-MT-ndn" customClass="VTopLogo" customModule="App" customModuleProvider="target"> | 1098 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="X6q-MT-ndn" customClass="VTopLogo" customModule="App" customModuleProvider="target"> |
1099 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | 1099 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> |
1100 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 1100 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
1101 | <constraints> | 1101 | <constraints> |
1102 | <constraint firstAttribute="height" constant="50" id="uWm-LW-Zht"/> | 1102 | <constraint firstAttribute="height" constant="50" id="uWm-LW-Zht"/> |
1103 | </constraints> | 1103 | </constraints> |
1104 | </view> | 1104 | </view> |
1105 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2MZ-wH-7mt"> | 1105 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2MZ-wH-7mt"> |
1106 | <rect key="frame" x="49.5" y="100" width="277.5" height="20.5"/> | 1106 | <rect key="frame" x="49.5" y="100" width="277.5" height="20.5"/> |
1107 | <string key="text">撮影項目リストを選択してください | 1107 | <string key="text">撮影項目リストを選択してください |
1108 | </string> | 1108 | </string> |
1109 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 1109 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
1110 | <nil key="textColor"/> | 1110 | <nil key="textColor"/> |
1111 | <nil key="highlightedColor"/> | 1111 | <nil key="highlightedColor"/> |
1112 | </label> | 1112 | </label> |
1113 | <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="jNm-go-B5H" customClass="UITableViewLoadDataFromUIThread" customModule="GeneralUtils"> | 1113 | <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="jNm-go-B5H" customClass="UITableViewLoadDataFromUIThread" customModule="GeneralUtils"> |
1114 | <rect key="frame" x="30" y="143.5" width="315" height="445.5"/> | 1114 | <rect key="frame" x="30" y="143.5" width="315" height="445.5"/> |
1115 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 1115 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
1116 | </tableView> | 1116 | </tableView> |
1117 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="T88-tH-bIt"> | 1117 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="T88-tH-bIt"> |
1118 | <rect key="frame" x="46" y="597" width="283" height="40"/> | 1118 | <rect key="frame" x="46" y="597" width="283" height="40"/> |
1119 | <subviews> | 1119 | <subviews> |
1120 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="zhp-Ug-96y" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 1120 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="zhp-Ug-96y" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
1121 | <rect key="frame" x="0.0" y="0.0" width="110" height="40"/> | 1121 | <rect key="frame" x="0.0" y="0.0" width="110" height="40"/> |
1122 | <constraints> | 1122 | <constraints> |
1123 | <constraint firstAttribute="height" constant="40" id="bA0-bI-SXd"/> | 1123 | <constraint firstAttribute="height" constant="40" id="bA0-bI-SXd"/> |
1124 | <constraint firstAttribute="width" constant="110" id="dbj-Bd-gws"/> | 1124 | <constraint firstAttribute="width" constant="110" id="dbj-Bd-gws"/> |
1125 | </constraints> | 1125 | </constraints> |
1126 | <state key="normal"> | 1126 | <state key="normal"> |
1127 | <string key="title">戻る | 1127 | <string key="title">戻る |
1128 | </string> | 1128 | </string> |
1129 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 1129 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
1130 | </state> | 1130 | </state> |
1131 | <userDefinedRuntimeAttributes> | 1131 | <userDefinedRuntimeAttributes> |
1132 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 1132 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
1133 | <real key="value" value="5"/> | 1133 | <real key="value" value="5"/> |
1134 | </userDefinedRuntimeAttribute> | 1134 | </userDefinedRuntimeAttribute> |
1135 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 1135 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
1136 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 1136 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
1137 | </userDefinedRuntimeAttribute> | 1137 | </userDefinedRuntimeAttribute> |
1138 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 1138 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
1139 | <real key="value" value="1"/> | 1139 | <real key="value" value="1"/> |
1140 | </userDefinedRuntimeAttribute> | 1140 | </userDefinedRuntimeAttribute> |
1141 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 1141 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
1142 | </userDefinedRuntimeAttributes> | 1142 | </userDefinedRuntimeAttributes> |
1143 | <connections> | 1143 | <connections> |
1144 | <action selector="btnLeftClick:" destination="QOd-um-P0o" eventType="touchUpInside" id="gQt-IY-q1o"/> | 1144 | <action selector="btnLeftClick:" destination="QOd-um-P0o" eventType="touchUpInside" id="gQt-IY-q1o"/> |
1145 | </connections> | 1145 | </connections> |
1146 | </button> | 1146 | </button> |
1147 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="HBA-dt-0TV"> | 1147 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="HBA-dt-0TV"> |
1148 | <rect key="frame" x="110" y="0.0" width="63" height="40"/> | 1148 | <rect key="frame" x="110" y="0.0" width="63" height="40"/> |
1149 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 1149 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
1150 | </view> | 1150 | </view> |
1151 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="wpH-Xv-iF5" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 1151 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="wpH-Xv-iF5" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
1152 | <rect key="frame" x="173" y="0.0" width="110" height="40"/> | 1152 | <rect key="frame" x="173" y="0.0" width="110" height="40"/> |
1153 | <constraints> | 1153 | <constraints> |
1154 | <constraint firstAttribute="width" constant="110" id="wb7-dA-Amg"/> | 1154 | <constraint firstAttribute="width" constant="110" id="wb7-dA-Amg"/> |
1155 | <constraint firstAttribute="height" constant="40" id="xFi-Gd-QcN"/> | 1155 | <constraint firstAttribute="height" constant="40" id="xFi-Gd-QcN"/> |
1156 | </constraints> | 1156 | </constraints> |
1157 | <state key="normal"> | 1157 | <state key="normal"> |
1158 | <string key="title">次へ | 1158 | <string key="title">次へ |
1159 | </string> | 1159 | </string> |
1160 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 1160 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
1161 | </state> | 1161 | </state> |
1162 | <userDefinedRuntimeAttributes> | 1162 | <userDefinedRuntimeAttributes> |
1163 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 1163 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
1164 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 1164 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
1165 | <real key="value" value="5"/> | 1165 | <real key="value" value="5"/> |
1166 | </userDefinedRuntimeAttribute> | 1166 | </userDefinedRuntimeAttribute> |
1167 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 1167 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
1168 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 1168 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
1169 | </userDefinedRuntimeAttribute> | 1169 | </userDefinedRuntimeAttribute> |
1170 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 1170 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
1171 | <real key="value" value="1"/> | 1171 | <real key="value" value="1"/> |
1172 | </userDefinedRuntimeAttribute> | 1172 | </userDefinedRuntimeAttribute> |
1173 | </userDefinedRuntimeAttributes> | 1173 | </userDefinedRuntimeAttributes> |
1174 | <connections> | 1174 | <connections> |
1175 | <action selector="btnRightClick:" destination="QOd-um-P0o" eventType="touchUpInside" id="W5K-tp-YPY"/> | 1175 | <action selector="btnRightClick:" destination="QOd-um-P0o" eventType="touchUpInside" id="W5K-tp-YPY"/> |
1176 | </connections> | 1176 | </connections> |
1177 | </button> | 1177 | </button> |
1178 | </subviews> | 1178 | </subviews> |
1179 | </stackView> | 1179 | </stackView> |
1180 | </subviews> | 1180 | </subviews> |
1181 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 1181 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
1182 | <constraints> | 1182 | <constraints> |
1183 | <constraint firstItem="X6q-MT-ndn" firstAttribute="top" secondItem="uu7-AQ-RWq" secondAttribute="top" id="1II-tM-K03"/> | 1183 | <constraint firstItem="X6q-MT-ndn" firstAttribute="top" secondItem="uu7-AQ-RWq" secondAttribute="top" id="1II-tM-K03"/> |
1184 | <constraint firstItem="T88-tH-bIt" firstAttribute="top" secondItem="jNm-go-B5H" secondAttribute="bottom" constant="8" id="1t1-Nf-8Tk"/> | 1184 | <constraint firstItem="T88-tH-bIt" firstAttribute="top" secondItem="jNm-go-B5H" secondAttribute="bottom" constant="8" id="1t1-Nf-8Tk"/> |
1185 | <constraint firstItem="jNm-go-B5H" firstAttribute="top" secondItem="2MZ-wH-7mt" secondAttribute="bottom" constant="23" id="32L-Ek-I6L"/> | 1185 | <constraint firstItem="jNm-go-B5H" firstAttribute="top" secondItem="2MZ-wH-7mt" secondAttribute="bottom" constant="23" id="32L-Ek-I6L"/> |
1186 | <constraint firstAttribute="trailingMargin" secondItem="T88-tH-bIt" secondAttribute="trailing" constant="30" id="33B-p6-PAB"/> | 1186 | <constraint firstAttribute="trailingMargin" secondItem="T88-tH-bIt" secondAttribute="trailing" constant="30" id="33B-p6-PAB"/> |
1187 | <constraint firstItem="5M4-Ym-53P" firstAttribute="top" secondItem="T88-tH-bIt" secondAttribute="bottom" constant="30" id="Kem-hI-EgQ"/> | 1187 | <constraint firstItem="5M4-Ym-53P" firstAttribute="top" secondItem="T88-tH-bIt" secondAttribute="bottom" constant="30" id="Kem-hI-EgQ"/> |
1188 | <constraint firstAttribute="trailing" secondItem="X6q-MT-ndn" secondAttribute="trailing" id="RfY-GK-DsC"/> | 1188 | <constraint firstAttribute="trailing" secondItem="X6q-MT-ndn" secondAttribute="trailing" id="RfY-GK-DsC"/> |
1189 | <constraint firstItem="jNm-go-B5H" firstAttribute="leading" secondItem="uu7-AQ-RWq" secondAttribute="leading" constant="30" id="Wy2-nN-XHq"/> | 1189 | <constraint firstItem="jNm-go-B5H" firstAttribute="leading" secondItem="uu7-AQ-RWq" secondAttribute="leading" constant="30" id="Wy2-nN-XHq"/> |
1190 | <constraint firstItem="2MZ-wH-7mt" firstAttribute="centerX" secondItem="uu7-AQ-RWq" secondAttribute="centerX" id="ZZI-MQ-oeS"/> | 1190 | <constraint firstItem="2MZ-wH-7mt" firstAttribute="centerX" secondItem="uu7-AQ-RWq" secondAttribute="centerX" id="ZZI-MQ-oeS"/> |
1191 | <constraint firstItem="2MZ-wH-7mt" firstAttribute="top" secondItem="X6q-MT-ndn" secondAttribute="bottom" constant="50" id="dAx-Pg-jh1"/> | 1191 | <constraint firstItem="2MZ-wH-7mt" firstAttribute="top" secondItem="X6q-MT-ndn" secondAttribute="bottom" constant="50" id="dAx-Pg-jh1"/> |
1192 | <constraint firstItem="X6q-MT-ndn" firstAttribute="leading" secondItem="uu7-AQ-RWq" secondAttribute="leading" id="ecX-MY-abT"/> | 1192 | <constraint firstItem="X6q-MT-ndn" firstAttribute="leading" secondItem="uu7-AQ-RWq" secondAttribute="leading" id="ecX-MY-abT"/> |
1193 | <constraint firstAttribute="trailing" secondItem="jNm-go-B5H" secondAttribute="trailing" constant="30" id="nE0-xr-6t6"/> | 1193 | <constraint firstAttribute="trailing" secondItem="jNm-go-B5H" secondAttribute="trailing" constant="30" id="nE0-xr-6t6"/> |
1194 | <constraint firstItem="T88-tH-bIt" firstAttribute="leading" secondItem="uu7-AQ-RWq" secondAttribute="leadingMargin" constant="30" id="wdj-Ff-xSp"/> | 1194 | <constraint firstItem="T88-tH-bIt" firstAttribute="leading" secondItem="uu7-AQ-RWq" secondAttribute="leadingMargin" constant="30" id="wdj-Ff-xSp"/> |
1195 | </constraints> | 1195 | </constraints> |
1196 | </view> | 1196 | </view> |
1197 | <connections> | 1197 | <connections> |
1198 | <outlet property="btnNext" destination="wpH-Xv-iF5" id="B8j-IW-UbQ"/> | 1198 | <outlet property="btnNext" destination="wpH-Xv-iF5" id="B8j-IW-UbQ"/> |
1199 | <outlet property="tableView" destination="jNm-go-B5H" id="DDY-du-cbs"/> | 1199 | <outlet property="tableView" destination="jNm-go-B5H" id="DDY-du-cbs"/> |
1200 | <outlet property="topMargin" destination="1II-tM-K03" id="nyq-4r-ZSc"/> | 1200 | <outlet property="topMargin" destination="1II-tM-K03" id="nyq-4r-ZSc"/> |
1201 | <outlet property="vTopLogo" destination="X6q-MT-ndn" id="1bU-E2-wut"/> | 1201 | <outlet property="vTopLogo" destination="X6q-MT-ndn" id="1bU-E2-wut"/> |
1202 | </connections> | 1202 | </connections> |
1203 | </viewController> | 1203 | </viewController> |
1204 | <placeholder placeholderIdentifier="IBFirstResponder" id="Z2D-xc-zSy" userLabel="First Responder" sceneMemberID="firstResponder"/> | 1204 | <placeholder placeholderIdentifier="IBFirstResponder" id="Z2D-xc-zSy" userLabel="First Responder" sceneMemberID="firstResponder"/> |
1205 | </objects> | 1205 | </objects> |
1206 | <point key="canvasLocation" x="1551.2" y="659.82008995502258"/> | 1206 | <point key="canvasLocation" x="1551.2" y="659.82008995502258"/> |
1207 | </scene> | 1207 | </scene> |
1208 | <!--Confirm Muc Da Chon--> | 1208 | <!--Confirm Muc Da Chon--> |
1209 | <scene sceneID="sw2-5l-Oru"> | 1209 | <scene sceneID="sw2-5l-Oru"> |
1210 | <objects> | 1210 | <objects> |
1211 | <viewController storyboardIdentifier="VCConfirmMucDaChon" useStoryboardIdentifierAsRestorationIdentifier="YES" id="gh0-OK-rlp" customClass="VCConfirmMucDaChon" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> | 1211 | <viewController storyboardIdentifier="VCConfirmMucDaChon" useStoryboardIdentifierAsRestorationIdentifier="YES" id="gh0-OK-rlp" customClass="VCConfirmMucDaChon" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> |
1212 | <layoutGuides> | 1212 | <layoutGuides> |
1213 | <viewControllerLayoutGuide type="top" id="dMm-mv-3iX"/> | 1213 | <viewControllerLayoutGuide type="top" id="dMm-mv-3iX"/> |
1214 | <viewControllerLayoutGuide type="bottom" id="V1c-hj-Yag"/> | 1214 | <viewControllerLayoutGuide type="bottom" id="V1c-hj-Yag"/> |
1215 | </layoutGuides> | 1215 | </layoutGuides> |
1216 | <view key="view" contentMode="scaleToFill" id="XH8-Vk-qeD"> | 1216 | <view key="view" contentMode="scaleToFill" id="XH8-Vk-qeD"> |
1217 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 1217 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
1218 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 1218 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
1219 | <subviews> | 1219 | <subviews> |
1220 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bs9-bK-QpY" customClass="VTopLogo" customModule="App" customModuleProvider="target"> | 1220 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bs9-bK-QpY" customClass="VTopLogo" customModule="App" customModuleProvider="target"> |
1221 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | 1221 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> |
1222 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 1222 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
1223 | <constraints> | 1223 | <constraints> |
1224 | <constraint firstAttribute="height" constant="50" id="fuJ-s3-pdb"/> | 1224 | <constraint firstAttribute="height" constant="50" id="fuJ-s3-pdb"/> |
1225 | </constraints> | 1225 | </constraints> |
1226 | </view> | 1226 | </view> |
1227 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tfX-eD-uGF"> | 1227 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tfX-eD-uGF"> |
1228 | <rect key="frame" x="58" y="100" width="260" height="20.5"/> | 1228 | <rect key="frame" x="58" y="100" width="260" height="20.5"/> |
1229 | <string key="text">撮影する項目を選択してください | 1229 | <string key="text">撮影する項目を選択してください |
1230 | </string> | 1230 | </string> |
1231 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 1231 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
1232 | <nil key="textColor"/> | 1232 | <nil key="textColor"/> |
1233 | <nil key="highlightedColor"/> | 1233 | <nil key="highlightedColor"/> |
1234 | </label> | 1234 | </label> |
1235 | <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="ZdN-H0-ffe" customClass="UITableViewLoadDataFromUIThread" customModule="GeneralUtils"> | 1235 | <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="ZdN-H0-ffe" customClass="UITableViewLoadDataFromUIThread" customModule="GeneralUtils"> |
1236 | <rect key="frame" x="30" y="143.5" width="315" height="445.5"/> | 1236 | <rect key="frame" x="30" y="143.5" width="315" height="445.5"/> |
1237 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 1237 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
1238 | </tableView> | 1238 | </tableView> |
1239 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Zwt-38-6IX"> | 1239 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Zwt-38-6IX"> |
1240 | <rect key="frame" x="46" y="597" width="283" height="40"/> | 1240 | <rect key="frame" x="46" y="597" width="283" height="40"/> |
1241 | <subviews> | 1241 | <subviews> |
1242 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xzJ-Ej-P2a" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 1242 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xzJ-Ej-P2a" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
1243 | <rect key="frame" x="0.0" y="0.0" width="110" height="40"/> | 1243 | <rect key="frame" x="0.0" y="0.0" width="110" height="40"/> |
1244 | <constraints> | 1244 | <constraints> |
1245 | <constraint firstAttribute="height" constant="40" id="55S-0t-B5Q"/> | 1245 | <constraint firstAttribute="height" constant="40" id="55S-0t-B5Q"/> |
1246 | <constraint firstAttribute="width" constant="110" id="Xbf-of-C9R"/> | 1246 | <constraint firstAttribute="width" constant="110" id="Xbf-of-C9R"/> |
1247 | </constraints> | 1247 | </constraints> |
1248 | <state key="normal"> | 1248 | <state key="normal"> |
1249 | <string key="title">戻る | 1249 | <string key="title">戻る |
1250 | </string> | 1250 | </string> |
1251 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 1251 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
1252 | </state> | 1252 | </state> |
1253 | <userDefinedRuntimeAttributes> | 1253 | <userDefinedRuntimeAttributes> |
1254 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 1254 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
1255 | <real key="value" value="5"/> | 1255 | <real key="value" value="5"/> |
1256 | </userDefinedRuntimeAttribute> | 1256 | </userDefinedRuntimeAttribute> |
1257 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 1257 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
1258 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 1258 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
1259 | </userDefinedRuntimeAttribute> | 1259 | </userDefinedRuntimeAttribute> |
1260 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 1260 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
1261 | <real key="value" value="1"/> | 1261 | <real key="value" value="1"/> |
1262 | </userDefinedRuntimeAttribute> | 1262 | </userDefinedRuntimeAttribute> |
1263 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 1263 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
1264 | </userDefinedRuntimeAttributes> | 1264 | </userDefinedRuntimeAttributes> |
1265 | <connections> | 1265 | <connections> |
1266 | <action selector="btnLeftClick:" destination="gh0-OK-rlp" eventType="touchUpInside" id="dCI-NI-t9I"/> | 1266 | <action selector="btnLeftClick:" destination="gh0-OK-rlp" eventType="touchUpInside" id="dCI-NI-t9I"/> |
1267 | </connections> | 1267 | </connections> |
1268 | </button> | 1268 | </button> |
1269 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eCN-dS-hkm"> | 1269 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eCN-dS-hkm"> |
1270 | <rect key="frame" x="110" y="0.0" width="63" height="40"/> | 1270 | <rect key="frame" x="110" y="0.0" width="63" height="40"/> |
1271 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 1271 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
1272 | </view> | 1272 | </view> |
1273 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="G4c-hR-TCC" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 1273 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="G4c-hR-TCC" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
1274 | <rect key="frame" x="173" y="0.0" width="110" height="40"/> | 1274 | <rect key="frame" x="173" y="0.0" width="110" height="40"/> |
1275 | <constraints> | 1275 | <constraints> |
1276 | <constraint firstAttribute="height" constant="40" id="9Jb-gW-ghp"/> | 1276 | <constraint firstAttribute="height" constant="40" id="9Jb-gW-ghp"/> |
1277 | <constraint firstAttribute="width" constant="110" id="ON7-lo-zQB"/> | 1277 | <constraint firstAttribute="width" constant="110" id="ON7-lo-zQB"/> |
1278 | </constraints> | 1278 | </constraints> |
1279 | <state key="normal"> | 1279 | <state key="normal"> |
1280 | <string key="title">次へ | 1280 | <string key="title">次へ |
1281 | </string> | 1281 | </string> |
1282 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 1282 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
1283 | </state> | 1283 | </state> |
1284 | <userDefinedRuntimeAttributes> | 1284 | <userDefinedRuntimeAttributes> |
1285 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 1285 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
1286 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 1286 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
1287 | <real key="value" value="5"/> | 1287 | <real key="value" value="5"/> |
1288 | </userDefinedRuntimeAttribute> | 1288 | </userDefinedRuntimeAttribute> |
1289 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 1289 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
1290 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 1290 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
1291 | </userDefinedRuntimeAttribute> | 1291 | </userDefinedRuntimeAttribute> |
1292 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 1292 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
1293 | <real key="value" value="1"/> | 1293 | <real key="value" value="1"/> |
1294 | </userDefinedRuntimeAttribute> | 1294 | </userDefinedRuntimeAttribute> |
1295 | </userDefinedRuntimeAttributes> | 1295 | </userDefinedRuntimeAttributes> |
1296 | <connections> | 1296 | <connections> |
1297 | <action selector="btnRightClick:" destination="gh0-OK-rlp" eventType="touchUpInside" id="e1B-Hx-38T"/> | 1297 | <action selector="btnRightClick:" destination="gh0-OK-rlp" eventType="touchUpInside" id="e1B-Hx-38T"/> |
1298 | </connections> | 1298 | </connections> |
1299 | </button> | 1299 | </button> |
1300 | </subviews> | 1300 | </subviews> |
1301 | </stackView> | 1301 | </stackView> |
1302 | </subviews> | 1302 | </subviews> |
1303 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 1303 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
1304 | <constraints> | 1304 | <constraints> |
1305 | <constraint firstItem="tfX-eD-uGF" firstAttribute="top" secondItem="bs9-bK-QpY" secondAttribute="bottom" constant="50" id="3yl-Mm-0Q9"/> | 1305 | <constraint firstItem="tfX-eD-uGF" firstAttribute="top" secondItem="bs9-bK-QpY" secondAttribute="bottom" constant="50" id="3yl-Mm-0Q9"/> |
1306 | <constraint firstItem="Zwt-38-6IX" firstAttribute="leading" secondItem="XH8-Vk-qeD" secondAttribute="leadingMargin" constant="30" id="Fea-Th-cXf"/> | 1306 | <constraint firstItem="Zwt-38-6IX" firstAttribute="leading" secondItem="XH8-Vk-qeD" secondAttribute="leadingMargin" constant="30" id="Fea-Th-cXf"/> |
1307 | <constraint firstItem="V1c-hj-Yag" firstAttribute="top" secondItem="Zwt-38-6IX" secondAttribute="bottom" constant="30" id="P73-v7-e0D"/> | 1307 | <constraint firstItem="V1c-hj-Yag" firstAttribute="top" secondItem="Zwt-38-6IX" secondAttribute="bottom" constant="30" id="P73-v7-e0D"/> |
1308 | <constraint firstItem="bs9-bK-QpY" firstAttribute="leading" secondItem="XH8-Vk-qeD" secondAttribute="leading" id="PiE-xV-aMg"/> | 1308 | <constraint firstItem="bs9-bK-QpY" firstAttribute="leading" secondItem="XH8-Vk-qeD" secondAttribute="leading" id="PiE-xV-aMg"/> |
1309 | <constraint firstItem="Zwt-38-6IX" firstAttribute="top" secondItem="ZdN-H0-ffe" secondAttribute="bottom" constant="8" id="Wx5-ID-nxp"/> | 1309 | <constraint firstItem="Zwt-38-6IX" firstAttribute="top" secondItem="ZdN-H0-ffe" secondAttribute="bottom" constant="8" id="Wx5-ID-nxp"/> |
1310 | <constraint firstItem="ZdN-H0-ffe" firstAttribute="top" secondItem="tfX-eD-uGF" secondAttribute="bottom" constant="23" id="aeC-PN-hvO"/> | 1310 | <constraint firstItem="ZdN-H0-ffe" firstAttribute="top" secondItem="tfX-eD-uGF" secondAttribute="bottom" constant="23" id="aeC-PN-hvO"/> |
1311 | <constraint firstAttribute="trailing" secondItem="bs9-bK-QpY" secondAttribute="trailing" id="bOb-DF-vrv"/> | 1311 | <constraint firstAttribute="trailing" secondItem="bs9-bK-QpY" secondAttribute="trailing" id="bOb-DF-vrv"/> |
1312 | <constraint firstItem="tfX-eD-uGF" firstAttribute="centerX" secondItem="XH8-Vk-qeD" secondAttribute="centerX" id="cXx-KZ-Wnk"/> | 1312 | <constraint firstItem="tfX-eD-uGF" firstAttribute="centerX" secondItem="XH8-Vk-qeD" secondAttribute="centerX" id="cXx-KZ-Wnk"/> |
1313 | <constraint firstAttribute="trailing" secondItem="ZdN-H0-ffe" secondAttribute="trailing" constant="30" id="gUU-Hf-lPR"/> | 1313 | <constraint firstAttribute="trailing" secondItem="ZdN-H0-ffe" secondAttribute="trailing" constant="30" id="gUU-Hf-lPR"/> |
1314 | <constraint firstItem="ZdN-H0-ffe" firstAttribute="leading" secondItem="XH8-Vk-qeD" secondAttribute="leading" constant="30" id="qSL-YD-ZGf"/> | 1314 | <constraint firstItem="ZdN-H0-ffe" firstAttribute="leading" secondItem="XH8-Vk-qeD" secondAttribute="leading" constant="30" id="qSL-YD-ZGf"/> |
1315 | <constraint firstItem="bs9-bK-QpY" firstAttribute="top" secondItem="XH8-Vk-qeD" secondAttribute="top" id="xBL-sp-BQV"/> | 1315 | <constraint firstItem="bs9-bK-QpY" firstAttribute="top" secondItem="XH8-Vk-qeD" secondAttribute="top" id="xBL-sp-BQV"/> |
1316 | <constraint firstAttribute="trailingMargin" secondItem="Zwt-38-6IX" secondAttribute="trailing" constant="30" id="xFD-J5-EGd"/> | 1316 | <constraint firstAttribute="trailingMargin" secondItem="Zwt-38-6IX" secondAttribute="trailing" constant="30" id="xFD-J5-EGd"/> |
1317 | </constraints> | 1317 | </constraints> |
1318 | </view> | 1318 | </view> |
1319 | <connections> | 1319 | <connections> |
1320 | <outlet property="tableView" destination="ZdN-H0-ffe" id="p9b-s0-e3W"/> | 1320 | <outlet property="tableView" destination="ZdN-H0-ffe" id="p9b-s0-e3W"/> |
1321 | <outlet property="topMargin" destination="xBL-sp-BQV" id="YtA-cc-8yy"/> | 1321 | <outlet property="topMargin" destination="xBL-sp-BQV" id="YtA-cc-8yy"/> |
1322 | <outlet property="vTopLogo" destination="bs9-bK-QpY" id="Dzd-Wz-e6g"/> | 1322 | <outlet property="vTopLogo" destination="bs9-bK-QpY" id="Dzd-Wz-e6g"/> |
1323 | </connections> | 1323 | </connections> |
1324 | </viewController> | 1324 | </viewController> |
1325 | <placeholder placeholderIdentifier="IBFirstResponder" id="miX-0l-FtG" userLabel="First Responder" sceneMemberID="firstResponder"/> | 1325 | <placeholder placeholderIdentifier="IBFirstResponder" id="miX-0l-FtG" userLabel="First Responder" sceneMemberID="firstResponder"/> |
1326 | </objects> | 1326 | </objects> |
1327 | <point key="canvasLocation" x="2178" y="660"/> | 1327 | <point key="canvasLocation" x="2178" y="660"/> |
1328 | </scene> | 1328 | </scene> |
1329 | <!--Setting BienQC--> | 1329 | <!--Setting BienQC--> |
1330 | <scene sceneID="Pgr-mr-san"> | 1330 | <scene sceneID="Pgr-mr-san"> |
1331 | <objects> | 1331 | <objects> |
1332 | <viewController storyboardIdentifier="VCSettingBienQC" useStoryboardIdentifierAsRestorationIdentifier="YES" id="tkr-B9-Rqc" customClass="VCSettingBienQC" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> | 1332 | <viewController storyboardIdentifier="VCSettingBienQC" useStoryboardIdentifierAsRestorationIdentifier="YES" id="tkr-B9-Rqc" customClass="VCSettingBienQC" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> |
1333 | <layoutGuides> | 1333 | <layoutGuides> |
1334 | <viewControllerLayoutGuide type="top" id="MCW-ut-eeO"/> | 1334 | <viewControllerLayoutGuide type="top" id="MCW-ut-eeO"/> |
1335 | <viewControllerLayoutGuide type="bottom" id="frg-Jo-11q"/> | 1335 | <viewControllerLayoutGuide type="bottom" id="frg-Jo-11q"/> |
1336 | </layoutGuides> | 1336 | </layoutGuides> |
1337 | <view key="view" contentMode="scaleToFill" id="cKL-7f-sfL"> | 1337 | <view key="view" contentMode="scaleToFill" id="cKL-7f-sfL"> |
1338 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 1338 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
1339 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 1339 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
1340 | <subviews> | 1340 | <subviews> |
1341 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="7Qk-wW-0rg" customClass="VTopLogo" customModule="App" customModuleProvider="target"> | 1341 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="7Qk-wW-0rg" customClass="VTopLogo" customModule="App" customModuleProvider="target"> |
1342 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | 1342 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> |
1343 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 1343 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
1344 | <constraints> | 1344 | <constraints> |
1345 | <constraint firstAttribute="height" constant="50" id="L5g-d8-Mch"/> | 1345 | <constraint firstAttribute="height" constant="50" id="L5g-d8-Mch"/> |
1346 | </constraints> | 1346 | </constraints> |
1347 | </view> | 1347 | </view> |
1348 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ry3-zG-xBh"> | 1348 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ry3-zG-xBh"> |
1349 | <rect key="frame" x="84" y="100" width="208" height="20.5"/> | 1349 | <rect key="frame" x="84" y="100" width="208" height="20.5"/> |
1350 | <string key="text">施工看板を導入しますか? | 1350 | <string key="text">施工看板を導入しますか? |
1351 | </string> | 1351 | </string> |
1352 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 1352 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
1353 | <nil key="textColor"/> | 1353 | <nil key="textColor"/> |
1354 | <nil key="highlightedColor"/> | 1354 | <nil key="highlightedColor"/> |
1355 | </label> | 1355 | </label> |
1356 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="oRg-Yi-frE"> | 1356 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="oRg-Yi-frE"> |
1357 | <rect key="frame" x="46" y="597" width="283" height="40"/> | 1357 | <rect key="frame" x="46" y="597" width="283" height="40"/> |
1358 | <subviews> | 1358 | <subviews> |
1359 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YOP-iQ-J9e" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 1359 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YOP-iQ-J9e" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
1360 | <rect key="frame" x="0.0" y="0.0" width="110" height="40"/> | 1360 | <rect key="frame" x="0.0" y="0.0" width="110" height="40"/> |
1361 | <constraints> | 1361 | <constraints> |
1362 | <constraint firstAttribute="width" constant="110" id="2eq-ZR-iSP"/> | 1362 | <constraint firstAttribute="width" constant="110" id="2eq-ZR-iSP"/> |
1363 | <constraint firstAttribute="height" constant="40" id="wrn-BA-09t"/> | 1363 | <constraint firstAttribute="height" constant="40" id="wrn-BA-09t"/> |
1364 | </constraints> | 1364 | </constraints> |
1365 | <state key="normal"> | 1365 | <state key="normal"> |
1366 | <string key="title">戻る | 1366 | <string key="title">戻る |
1367 | </string> | 1367 | </string> |
1368 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 1368 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
1369 | </state> | 1369 | </state> |
1370 | <userDefinedRuntimeAttributes> | 1370 | <userDefinedRuntimeAttributes> |
1371 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 1371 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
1372 | <real key="value" value="5"/> | 1372 | <real key="value" value="5"/> |
1373 | </userDefinedRuntimeAttribute> | 1373 | </userDefinedRuntimeAttribute> |
1374 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 1374 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
1375 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 1375 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
1376 | </userDefinedRuntimeAttribute> | 1376 | </userDefinedRuntimeAttribute> |
1377 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 1377 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
1378 | <real key="value" value="1"/> | 1378 | <real key="value" value="1"/> |
1379 | </userDefinedRuntimeAttribute> | 1379 | </userDefinedRuntimeAttribute> |
1380 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 1380 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
1381 | </userDefinedRuntimeAttributes> | 1381 | </userDefinedRuntimeAttributes> |
1382 | <connections> | 1382 | <connections> |
1383 | <action selector="btnLeftClick:" destination="tkr-B9-Rqc" eventType="touchUpInside" id="zoG-m0-AQu"/> | 1383 | <action selector="btnLeftClick:" destination="tkr-B9-Rqc" eventType="touchUpInside" id="zoG-m0-AQu"/> |
1384 | </connections> | 1384 | </connections> |
1385 | </button> | 1385 | </button> |
1386 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="agU-jq-RtF"> | 1386 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="agU-jq-RtF"> |
1387 | <rect key="frame" x="110" y="0.0" width="63" height="40"/> | 1387 | <rect key="frame" x="110" y="0.0" width="63" height="40"/> |
1388 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 1388 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
1389 | </view> | 1389 | </view> |
1390 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="vum-X4-ZcL" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 1390 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="vum-X4-ZcL" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
1391 | <rect key="frame" x="173" y="0.0" width="110" height="40"/> | 1391 | <rect key="frame" x="173" y="0.0" width="110" height="40"/> |
1392 | <constraints> | 1392 | <constraints> |
1393 | <constraint firstAttribute="width" constant="110" id="IFW-D8-NLB"/> | 1393 | <constraint firstAttribute="width" constant="110" id="IFW-D8-NLB"/> |
1394 | <constraint firstAttribute="height" constant="40" id="P4m-31-sYS"/> | 1394 | <constraint firstAttribute="height" constant="40" id="P4m-31-sYS"/> |
1395 | </constraints> | 1395 | </constraints> |
1396 | <state key="normal"> | 1396 | <state key="normal"> |
1397 | <string key="title">完了 | 1397 | <string key="title">完了 |
1398 | </string> | 1398 | </string> |
1399 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 1399 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
1400 | </state> | 1400 | </state> |
1401 | <userDefinedRuntimeAttributes> | 1401 | <userDefinedRuntimeAttributes> |
1402 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 1402 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
1403 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 1403 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
1404 | <real key="value" value="5"/> | 1404 | <real key="value" value="5"/> |
1405 | </userDefinedRuntimeAttribute> | 1405 | </userDefinedRuntimeAttribute> |
1406 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 1406 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
1407 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 1407 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
1408 | </userDefinedRuntimeAttribute> | 1408 | </userDefinedRuntimeAttribute> |
1409 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 1409 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
1410 | <real key="value" value="1"/> | 1410 | <real key="value" value="1"/> |
1411 | </userDefinedRuntimeAttribute> | 1411 | </userDefinedRuntimeAttribute> |
1412 | </userDefinedRuntimeAttributes> | 1412 | </userDefinedRuntimeAttributes> |
1413 | <connections> | 1413 | <connections> |
1414 | <action selector="btnRightClick:" destination="tkr-B9-Rqc" eventType="touchUpInside" id="Qgz-jl-FUY"/> | 1414 | <action selector="btnRightClick:" destination="tkr-B9-Rqc" eventType="touchUpInside" id="Qgz-jl-FUY"/> |
1415 | </connections> | 1415 | </connections> |
1416 | </button> | 1416 | </button> |
1417 | </subviews> | 1417 | </subviews> |
1418 | </stackView> | 1418 | </stackView> |
1419 | <stackView opaque="NO" contentMode="scaleToFill" spacing="80" translatesAutoresizingMaskIntoConstraints="NO" id="wii-ek-cgs"> | 1419 | <stackView opaque="NO" contentMode="scaleToFill" spacing="80" translatesAutoresizingMaskIntoConstraints="NO" id="wii-ek-cgs"> |
1420 | <rect key="frame" x="71" y="214.5" width="233" height="31"/> | 1420 | <rect key="frame" x="71" y="214.5" width="233" height="31"/> |
1421 | <subviews> | 1421 | <subviews> |
1422 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1M2-xc-HAS"> | 1422 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1M2-xc-HAS"> |
1423 | <rect key="frame" x="0.0" y="0.0" width="104" height="31"/> | 1423 | <rect key="frame" x="0.0" y="0.0" width="104" height="31"/> |
1424 | <string key="text">施工看板導入 | 1424 | <string key="text">施工看板導入 |
1425 | </string> | 1425 | </string> |
1426 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 1426 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
1427 | <nil key="textColor"/> | 1427 | <nil key="textColor"/> |
1428 | <nil key="highlightedColor"/> | 1428 | <nil key="highlightedColor"/> |
1429 | </label> | 1429 | </label> |
1430 | <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="xw8-hH-KBN"> | 1430 | <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="xw8-hH-KBN"> |
1431 | <rect key="frame" x="184" y="0.0" width="51" height="31"/> | 1431 | <rect key="frame" x="184" y="0.0" width="51" height="31"/> |
1432 | <connections> | 1432 | <connections> |
1433 | <action selector="swichValueChange:" destination="tkr-B9-Rqc" eventType="valueChanged" id="Q21-cW-Dpg"/> | 1433 | <action selector="swichValueChange:" destination="tkr-B9-Rqc" eventType="valueChanged" id="Q21-cW-Dpg"/> |
1434 | </connections> | 1434 | </connections> |
1435 | </switch> | 1435 | </switch> |
1436 | </subviews> | 1436 | </subviews> |
1437 | </stackView> | 1437 | </stackView> |
1438 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="c5u-52-HwG"> | 1438 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="c5u-52-HwG"> |
1439 | <rect key="frame" x="96" y="136.5" width="184" height="18"/> | 1439 | <rect key="frame" x="96" y="136.5" width="184" height="18"/> |
1440 | <string key="text">施工看板を導入しますか? | 1440 | <string key="text">施工看板を導入しますか? |
1441 | </string> | 1441 | </string> |
1442 | <fontDescription key="fontDescription" type="system" weight="medium" pointSize="15"/> | 1442 | <fontDescription key="fontDescription" type="system" weight="medium" pointSize="15"/> |
1443 | <color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> | 1443 | <color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> |
1444 | <nil key="highlightedColor"/> | 1444 | <nil key="highlightedColor"/> |
1445 | </label> | 1445 | </label> |
1446 | </subviews> | 1446 | </subviews> |
1447 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 1447 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
1448 | <constraints> | 1448 | <constraints> |
1449 | <constraint firstItem="c5u-52-HwG" firstAttribute="centerX" secondItem="cKL-7f-sfL" secondAttribute="centerX" id="5xK-lJ-DKD"/> | 1449 | <constraint firstItem="c5u-52-HwG" firstAttribute="centerX" secondItem="cKL-7f-sfL" secondAttribute="centerX" id="5xK-lJ-DKD"/> |
1450 | <constraint firstItem="frg-Jo-11q" firstAttribute="top" secondItem="oRg-Yi-frE" secondAttribute="bottom" constant="30" id="8ot-jk-EPO"/> | 1450 | <constraint firstItem="frg-Jo-11q" firstAttribute="top" secondItem="oRg-Yi-frE" secondAttribute="bottom" constant="30" id="8ot-jk-EPO"/> |
1451 | <constraint firstItem="7Qk-wW-0rg" firstAttribute="top" secondItem="cKL-7f-sfL" secondAttribute="top" id="HQs-F1-3Yn"/> | 1451 | <constraint firstItem="7Qk-wW-0rg" firstAttribute="top" secondItem="cKL-7f-sfL" secondAttribute="top" id="HQs-F1-3Yn"/> |
1452 | <constraint firstItem="c5u-52-HwG" firstAttribute="top" secondItem="ry3-zG-xBh" secondAttribute="bottom" constant="16" id="QDq-Z4-k7u"/> | 1452 | <constraint firstItem="c5u-52-HwG" firstAttribute="top" secondItem="ry3-zG-xBh" secondAttribute="bottom" constant="16" id="QDq-Z4-k7u"/> |
1453 | <constraint firstItem="wii-ek-cgs" firstAttribute="top" secondItem="c5u-52-HwG" secondAttribute="bottom" constant="60" id="RLl-bG-1gK"/> | 1453 | <constraint firstItem="wii-ek-cgs" firstAttribute="top" secondItem="c5u-52-HwG" secondAttribute="bottom" constant="60" id="RLl-bG-1gK"/> |
1454 | <constraint firstAttribute="trailingMargin" secondItem="oRg-Yi-frE" secondAttribute="trailing" constant="30" id="ZBJ-DC-hV9"/> | 1454 | <constraint firstAttribute="trailingMargin" secondItem="oRg-Yi-frE" secondAttribute="trailing" constant="30" id="ZBJ-DC-hV9"/> |
1455 | <constraint firstItem="7Qk-wW-0rg" firstAttribute="leading" secondItem="cKL-7f-sfL" secondAttribute="leading" id="Zs9-Jd-W4c"/> | 1455 | <constraint firstItem="7Qk-wW-0rg" firstAttribute="leading" secondItem="cKL-7f-sfL" secondAttribute="leading" id="Zs9-Jd-W4c"/> |
1456 | <constraint firstItem="oRg-Yi-frE" firstAttribute="leading" secondItem="cKL-7f-sfL" secondAttribute="leadingMargin" constant="30" id="bzk-kO-HIV"/> | 1456 | <constraint firstItem="oRg-Yi-frE" firstAttribute="leading" secondItem="cKL-7f-sfL" secondAttribute="leadingMargin" constant="30" id="bzk-kO-HIV"/> |
1457 | <constraint firstItem="ry3-zG-xBh" firstAttribute="centerX" secondItem="cKL-7f-sfL" secondAttribute="centerX" id="o2F-Ug-CGg"/> | 1457 | <constraint firstItem="ry3-zG-xBh" firstAttribute="centerX" secondItem="cKL-7f-sfL" secondAttribute="centerX" id="o2F-Ug-CGg"/> |
1458 | <constraint firstAttribute="trailing" secondItem="7Qk-wW-0rg" secondAttribute="trailing" id="rTL-SL-9WI"/> | 1458 | <constraint firstAttribute="trailing" secondItem="7Qk-wW-0rg" secondAttribute="trailing" id="rTL-SL-9WI"/> |
1459 | <constraint firstItem="wii-ek-cgs" firstAttribute="centerX" secondItem="cKL-7f-sfL" secondAttribute="centerX" id="tbJ-ju-zjp"/> | 1459 | <constraint firstItem="wii-ek-cgs" firstAttribute="centerX" secondItem="cKL-7f-sfL" secondAttribute="centerX" id="tbJ-ju-zjp"/> |
1460 | <constraint firstItem="ry3-zG-xBh" firstAttribute="top" secondItem="7Qk-wW-0rg" secondAttribute="bottom" constant="50" id="wVv-xZ-age"/> | 1460 | <constraint firstItem="ry3-zG-xBh" firstAttribute="top" secondItem="7Qk-wW-0rg" secondAttribute="bottom" constant="50" id="wVv-xZ-age"/> |
1461 | </constraints> | 1461 | </constraints> |
1462 | </view> | 1462 | </view> |
1463 | <connections> | 1463 | <connections> |
1464 | <outlet property="swich" destination="xw8-hH-KBN" id="JBg-wi-6we"/> | 1464 | <outlet property="swich" destination="xw8-hH-KBN" id="JBg-wi-6we"/> |
1465 | <outlet property="topMargin" destination="HQs-F1-3Yn" id="Wpd-S9-YTF"/> | 1465 | <outlet property="topMargin" destination="HQs-F1-3Yn" id="Wpd-S9-YTF"/> |
1466 | <outlet property="vTopLogo" destination="7Qk-wW-0rg" id="kor-av-hMf"/> | 1466 | <outlet property="vTopLogo" destination="7Qk-wW-0rg" id="kor-av-hMf"/> |
1467 | </connections> | 1467 | </connections> |
1468 | </viewController> | 1468 | </viewController> |
1469 | <placeholder placeholderIdentifier="IBFirstResponder" id="adH-y6-A2U" userLabel="First Responder" sceneMemberID="firstResponder"/> | 1469 | <placeholder placeholderIdentifier="IBFirstResponder" id="adH-y6-A2U" userLabel="First Responder" sceneMemberID="firstResponder"/> |
1470 | </objects> | 1470 | </objects> |
1471 | <point key="canvasLocation" x="2797.5999999999999" y="659.82008995502258"/> | 1471 | <point key="canvasLocation" x="2797.5999999999999" y="659.82008995502258"/> |
1472 | </scene> | 1472 | </scene> |
1473 | <!--List Ctruong--> | 1473 | <!--List Ctruong--> |
1474 | <scene sceneID="JBv-aR-w9a"> | 1474 | <scene sceneID="JBv-aR-w9a"> |
1475 | <objects> | 1475 | <objects> |
1476 | <viewController storyboardIdentifier="VCListCtruong" useStoryboardIdentifierAsRestorationIdentifier="YES" id="cie-hE-bCo" customClass="VCListCtruong" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> | 1476 | <viewController storyboardIdentifier="VCListCtruong" useStoryboardIdentifierAsRestorationIdentifier="YES" id="cie-hE-bCo" customClass="VCListCtruong" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> |
1477 | <layoutGuides> | 1477 | <layoutGuides> |
1478 | <viewControllerLayoutGuide type="top" id="a6U-zH-qXH"/> | 1478 | <viewControllerLayoutGuide type="top" id="a6U-zH-qXH"/> |
1479 | <viewControllerLayoutGuide type="bottom" id="Pjw-Dm-iMU"/> | 1479 | <viewControllerLayoutGuide type="bottom" id="Pjw-Dm-iMU"/> |
1480 | </layoutGuides> | 1480 | </layoutGuides> |
1481 | <view key="view" contentMode="scaleToFill" id="mzf-PY-EI6"> | 1481 | <view key="view" contentMode="scaleToFill" id="mzf-PY-EI6"> |
1482 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 1482 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
1483 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 1483 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
1484 | <subviews> | 1484 | <subviews> |
1485 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vdY-sr-wDU" customClass="VTopLogo" customModule="App" customModuleProvider="target"> | 1485 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vdY-sr-wDU" customClass="VTopLogo" customModule="App" customModuleProvider="target"> |
1486 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | 1486 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> |
1487 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 1487 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
1488 | <constraints> | 1488 | <constraints> |
1489 | <constraint firstAttribute="height" constant="50" id="Jxp-9k-gT7"/> | 1489 | <constraint firstAttribute="height" constant="50" id="Jxp-9k-gT7"/> |
1490 | </constraints> | 1490 | </constraints> |
1491 | </view> | 1491 | </view> |
1492 | <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="95" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="V6x-cE-E8d" customClass="UITableViewLoadDataFromUIThread" customModule="GeneralUtils"> | 1492 | <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="95" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="V6x-cE-E8d" customClass="UITableViewLoadDataFromUIThread" customModule="GeneralUtils"> |
1493 | <rect key="frame" x="8" y="58" width="359" height="601"/> | 1493 | <rect key="frame" x="8" y="58" width="359" height="601"/> |
1494 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 1494 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
1495 | <prototypes> | 1495 | <prototypes> |
1496 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="Cell" rowHeight="95" id="kuK-gD-GMp" customClass="CellCtruong" customModule="App" customModuleProvider="target"> | 1496 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="Cell" rowHeight="95" id="kuK-gD-GMp" customClass="CellCtruong" customModule="App" customModuleProvider="target"> |
1497 | <rect key="frame" x="0.0" y="28" width="359" height="95"/> | 1497 | <rect key="frame" x="0.0" y="28" width="359" height="95"/> |
1498 | <autoresizingMask key="autoresizingMask"/> | 1498 | <autoresizingMask key="autoresizingMask"/> |
1499 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="kuK-gD-GMp" id="I5B-Nz-L9y"> | 1499 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="kuK-gD-GMp" id="I5B-Nz-L9y"> |
1500 | <rect key="frame" x="0.0" y="0.0" width="359" height="95"/> | 1500 | <rect key="frame" x="0.0" y="0.0" width="359" height="94"/> |
1501 | <autoresizingMask key="autoresizingMask"/> | 1501 | <autoresizingMask key="autoresizingMask"/> |
1502 | <subviews> | 1502 | <subviews> |
1503 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="DL2-8a-uPN" customClass="UIViewCustom" customModule="GeneralUtils"> | 1503 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="DL2-8a-uPN" customClass="UIViewCustom" customModule="GeneralUtils"> |
1504 | <rect key="frame" x="0.0" y="0.0" width="359" height="94"/> | 1504 | <rect key="frame" x="0.0" y="0.0" width="359" height="94"/> |
1505 | <subviews> | 1505 | <subviews> |
1506 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Dxk-nP-5Gi"> | 1506 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Dxk-nP-5Gi"> |
1507 | <rect key="frame" x="6" y="0.0" width="353" height="94"/> | 1507 | <rect key="frame" x="6" y="0.0" width="353" height="94"/> |
1508 | <subviews> | 1508 | <subviews> |
1509 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6oz-wZ-SoS" customClass="UILabelCustom" customModule="GeneralUtils"> | 1509 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6oz-wZ-SoS" customClass="UILabelCustom" customModule="GeneralUtils"> |
1510 | <rect key="frame" x="0.0" y="0.0" width="182" height="94"/> | 1510 | <rect key="frame" x="0.0" y="0.0" width="182" height="94"/> |
1511 | <string key="text">山田 花子様 | 1511 | <string key="text">山田 花子様 |
1512 | </string> | 1512 | </string> |
1513 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 1513 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
1514 | <nil key="textColor"/> | 1514 | <nil key="textColor"/> |
1515 | <nil key="highlightedColor"/> | 1515 | <nil key="highlightedColor"/> |
1516 | <userDefinedRuntimeAttributes> | 1516 | <userDefinedRuntimeAttributes> |
1517 | <userDefinedRuntimeAttribute type="number" keyPath="rightInset"> | 1517 | <userDefinedRuntimeAttribute type="number" keyPath="rightInset"> |
1518 | <real key="value" value="3"/> | 1518 | <real key="value" value="3"/> |
1519 | </userDefinedRuntimeAttribute> | 1519 | </userDefinedRuntimeAttribute> |
1520 | <userDefinedRuntimeAttribute type="boolean" keyPath="isEnablePading" value="YES"/> | 1520 | <userDefinedRuntimeAttribute type="boolean" keyPath="isEnablePading" value="YES"/> |
1521 | </userDefinedRuntimeAttributes> | 1521 | </userDefinedRuntimeAttributes> |
1522 | </label> | 1522 | </label> |
1523 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bc6-er-CUt"> | 1523 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bc6-er-CUt"> |
1524 | <rect key="frame" x="182" y="0.0" width="1" height="94"/> | 1524 | <rect key="frame" x="182" y="0.0" width="1" height="94"/> |
1525 | <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> | 1525 | <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> |
1526 | <constraints> | 1526 | <constraints> |
1527 | <constraint firstAttribute="width" constant="1" id="gOm-vq-FI6"/> | 1527 | <constraint firstAttribute="width" constant="1" id="gOm-vq-FI6"/> |
1528 | </constraints> | 1528 | </constraints> |
1529 | </view> | 1529 | </view> |
1530 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="VHy-cQ-ASe"> | 1530 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="VHy-cQ-ASe"> |
1531 | <rect key="frame" x="183" y="0.0" width="170" height="94"/> | 1531 | <rect key="frame" x="183" y="0.0" width="170" height="94"/> |
1532 | <subviews> | 1532 | <subviews> |
1533 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uic-Oe-dIc"> | 1533 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uic-Oe-dIc"> |
1534 | <rect key="frame" x="0.0" y="0.0" width="170" height="40"/> | 1534 | <rect key="frame" x="0.0" y="0.0" width="170" height="40"/> |
1535 | <subviews> | 1535 | <subviews> |
1536 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5Wj-td-uEA"> | 1536 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5Wj-td-uEA"> |
1537 | <rect key="frame" x="0.0" y="0.0" width="84.5" height="40"/> | 1537 | <rect key="frame" x="0.0" y="0.0" width="84.5" height="40"/> |
1538 | <string key="text">撮影済み | 1538 | <string key="text">撮影済み |
1539 | </string> | 1539 | </string> |
1540 | <fontDescription key="fontDescription" type="system" pointSize="15"/> | 1540 | <fontDescription key="fontDescription" type="system" pointSize="15"/> |
1541 | <nil key="textColor"/> | 1541 | <nil key="textColor"/> |
1542 | <nil key="highlightedColor"/> | 1542 | <nil key="highlightedColor"/> |
1543 | </label> | 1543 | </label> |
1544 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ese-MN-IYX"> | 1544 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ese-MN-IYX"> |
1545 | <rect key="frame" x="84.5" y="0.0" width="1" height="40"/> | 1545 | <rect key="frame" x="84.5" y="0.0" width="1" height="40"/> |
1546 | <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> | 1546 | <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> |
1547 | <constraints> | 1547 | <constraints> |
1548 | <constraint firstAttribute="width" constant="1" id="UgI-LA-u9j"/> | 1548 | <constraint firstAttribute="width" constant="1" id="UgI-LA-u9j"/> |
1549 | </constraints> | 1549 | </constraints> |
1550 | </view> | 1550 | </view> |
1551 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PE4-1b-adY"> | 1551 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PE4-1b-adY"> |
1552 | <rect key="frame" x="85.5" y="0.0" width="84.5" height="40"/> | 1552 | <rect key="frame" x="85.5" y="0.0" width="84.5" height="40"/> |
1553 | <string key="text">残り | 1553 | <string key="text">残り |
1554 | </string> | 1554 | </string> |
1555 | <fontDescription key="fontDescription" type="system" pointSize="15"/> | 1555 | <fontDescription key="fontDescription" type="system" pointSize="15"/> |
1556 | <nil key="textColor"/> | 1556 | <nil key="textColor"/> |
1557 | <nil key="highlightedColor"/> | 1557 | <nil key="highlightedColor"/> |
1558 | </label> | 1558 | </label> |
1559 | </subviews> | 1559 | </subviews> |
1560 | <constraints> | 1560 | <constraints> |
1561 | <constraint firstAttribute="height" constant="40" id="7o3-NV-vIq"/> | 1561 | <constraint firstAttribute="height" constant="40" id="7o3-NV-vIq"/> |
1562 | <constraint firstItem="PE4-1b-adY" firstAttribute="width" secondItem="5Wj-td-uEA" secondAttribute="width" id="P9T-gZ-m8N"/> | 1562 | <constraint firstItem="PE4-1b-adY" firstAttribute="width" secondItem="5Wj-td-uEA" secondAttribute="width" id="P9T-gZ-m8N"/> |
1563 | </constraints> | 1563 | </constraints> |
1564 | </stackView> | 1564 | </stackView> |
1565 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AP9-Bx-ZE1"> | 1565 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AP9-Bx-ZE1"> |
1566 | <rect key="frame" x="0.0" y="40" width="170" height="1"/> | 1566 | <rect key="frame" x="0.0" y="40" width="170" height="1"/> |
1567 | <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> | 1567 | <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> |
1568 | <constraints> | 1568 | <constraints> |
1569 | <constraint firstAttribute="height" constant="1" id="OG5-6u-kXw"/> | 1569 | <constraint firstAttribute="height" constant="1" id="OG5-6u-kXw"/> |
1570 | </constraints> | 1570 | </constraints> |
1571 | </view> | 1571 | </view> |
1572 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GFH-vd-6yg"> | 1572 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GFH-vd-6yg"> |
1573 | <rect key="frame" x="0.0" y="41" width="170" height="53"/> | 1573 | <rect key="frame" x="0.0" y="41" width="170" height="53"/> |
1574 | <subviews> | 1574 | <subviews> |
1575 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="12" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bwF-Nb-qpS"> | 1575 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="12" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bwF-Nb-qpS"> |
1576 | <rect key="frame" x="0.0" y="0.0" width="84.5" height="53"/> | 1576 | <rect key="frame" x="0.0" y="0.0" width="84.5" height="53"/> |
1577 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 1577 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
1578 | <nil key="textColor"/> | 1578 | <nil key="textColor"/> |
1579 | <nil key="highlightedColor"/> | 1579 | <nil key="highlightedColor"/> |
1580 | </label> | 1580 | </label> |
1581 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Q32-uK-8nZ"> | 1581 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Q32-uK-8nZ"> |
1582 | <rect key="frame" x="84.5" y="0.0" width="1" height="53"/> | 1582 | <rect key="frame" x="84.5" y="0.0" width="1" height="53"/> |
1583 | <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> | 1583 | <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> |
1584 | <constraints> | 1584 | <constraints> |
1585 | <constraint firstAttribute="width" constant="1" id="cgd-JI-xF9"/> | 1585 | <constraint firstAttribute="width" constant="1" id="cgd-JI-xF9"/> |
1586 | </constraints> | 1586 | </constraints> |
1587 | </view> | 1587 | </view> |
1588 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Tdj-dJ-0hi"> | 1588 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Tdj-dJ-0hi"> |
1589 | <rect key="frame" x="85.5" y="0.0" width="84.5" height="53"/> | 1589 | <rect key="frame" x="85.5" y="0.0" width="84.5" height="53"/> |
1590 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 1590 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
1591 | <nil key="textColor"/> | 1591 | <nil key="textColor"/> |
1592 | <nil key="highlightedColor"/> | 1592 | <nil key="highlightedColor"/> |
1593 | </label> | 1593 | </label> |
1594 | </subviews> | 1594 | </subviews> |
1595 | <constraints> | 1595 | <constraints> |
1596 | <constraint firstItem="Tdj-dJ-0hi" firstAttribute="width" secondItem="bwF-Nb-qpS" secondAttribute="width" id="x1U-2u-hqR"/> | 1596 | <constraint firstItem="Tdj-dJ-0hi" firstAttribute="width" secondItem="bwF-Nb-qpS" secondAttribute="width" id="x1U-2u-hqR"/> |
1597 | </constraints> | 1597 | </constraints> |
1598 | </stackView> | 1598 | </stackView> |
1599 | </subviews> | 1599 | </subviews> |
1600 | <constraints> | 1600 | <constraints> |
1601 | <constraint firstAttribute="width" constant="170" id="7vW-Bx-scn"/> | 1601 | <constraint firstAttribute="width" constant="170" id="7vW-Bx-scn"/> |
1602 | </constraints> | 1602 | </constraints> |
1603 | </stackView> | 1603 | </stackView> |
1604 | </subviews> | 1604 | </subviews> |
1605 | </stackView> | 1605 | </stackView> |
1606 | </subviews> | 1606 | </subviews> |
1607 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 1607 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
1608 | <constraints> | 1608 | <constraints> |
1609 | <constraint firstItem="Dxk-nP-5Gi" firstAttribute="leading" secondItem="DL2-8a-uPN" secondAttribute="leading" constant="6" id="Fye-1Z-6kW"/> | 1609 | <constraint firstItem="Dxk-nP-5Gi" firstAttribute="leading" secondItem="DL2-8a-uPN" secondAttribute="leading" constant="6" id="Fye-1Z-6kW"/> |
1610 | <constraint firstAttribute="bottom" secondItem="Dxk-nP-5Gi" secondAttribute="bottom" id="J3e-at-Wfj"/> | 1610 | <constraint firstAttribute="bottom" secondItem="Dxk-nP-5Gi" secondAttribute="bottom" id="J3e-at-Wfj"/> |
1611 | <constraint firstItem="Dxk-nP-5Gi" firstAttribute="top" secondItem="DL2-8a-uPN" secondAttribute="top" id="LbD-LS-K7r"/> | 1611 | <constraint firstItem="Dxk-nP-5Gi" firstAttribute="top" secondItem="DL2-8a-uPN" secondAttribute="top" id="LbD-LS-K7r"/> |
1612 | <constraint firstAttribute="trailing" secondItem="Dxk-nP-5Gi" secondAttribute="trailing" id="Nxf-GC-j2F"/> | 1612 | <constraint firstAttribute="trailing" secondItem="Dxk-nP-5Gi" secondAttribute="trailing" id="Nxf-GC-j2F"/> |
1613 | </constraints> | 1613 | </constraints> |
1614 | <userDefinedRuntimeAttributes> | 1614 | <userDefinedRuntimeAttributes> |
1615 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 1615 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
1616 | <real key="value" value="1"/> | 1616 | <real key="value" value="1"/> |
1617 | </userDefinedRuntimeAttribute> | 1617 | </userDefinedRuntimeAttribute> |
1618 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 1618 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
1619 | <color key="value" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> | 1619 | <color key="value" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> |
1620 | </userDefinedRuntimeAttribute> | 1620 | </userDefinedRuntimeAttribute> |
1621 | </userDefinedRuntimeAttributes> | 1621 | </userDefinedRuntimeAttributes> |
1622 | </view> | 1622 | </view> |
1623 | </subviews> | 1623 | </subviews> |
1624 | <constraints> | 1624 | <constraints> |
1625 | <constraint firstItem="DL2-8a-uPN" firstAttribute="leading" secondItem="I5B-Nz-L9y" secondAttribute="leading" id="0Gd-cr-OgD"/> | 1625 | <constraint firstItem="DL2-8a-uPN" firstAttribute="leading" secondItem="I5B-Nz-L9y" secondAttribute="leading" id="0Gd-cr-OgD"/> |
1626 | <constraint firstAttribute="bottom" secondItem="DL2-8a-uPN" secondAttribute="bottom" id="8YB-JQ-01x"/> | 1626 | <constraint firstAttribute="bottom" secondItem="DL2-8a-uPN" secondAttribute="bottom" id="8YB-JQ-01x"/> |
1627 | <constraint firstAttribute="trailing" secondItem="DL2-8a-uPN" secondAttribute="trailing" id="KkW-Ot-skE"/> | 1627 | <constraint firstAttribute="trailing" secondItem="DL2-8a-uPN" secondAttribute="trailing" id="KkW-Ot-skE"/> |
1628 | <constraint firstItem="DL2-8a-uPN" firstAttribute="top" secondItem="I5B-Nz-L9y" secondAttribute="top" id="qO8-b1-nov"/> | 1628 | <constraint firstItem="DL2-8a-uPN" firstAttribute="top" secondItem="I5B-Nz-L9y" secondAttribute="top" id="qO8-b1-nov"/> |
1629 | </constraints> | 1629 | </constraints> |
1630 | </tableViewCellContentView> | 1630 | </tableViewCellContentView> |
1631 | <connections> | 1631 | <connections> |
1632 | <outlet property="tvCatured" destination="bwF-Nb-qpS" id="zLY-LK-BJz"/> | 1632 | <outlet property="tvCatured" destination="bwF-Nb-qpS" id="zLY-LK-BJz"/> |
1633 | <outlet property="tvRemaining" destination="Tdj-dJ-0hi" id="KkP-xO-6lF"/> | 1633 | <outlet property="tvRemaining" destination="Tdj-dJ-0hi" id="KkP-xO-6lF"/> |
1634 | <outlet property="tvTitle" destination="6oz-wZ-SoS" id="oyJ-3I-m31"/> | 1634 | <outlet property="tvTitle" destination="6oz-wZ-SoS" id="oyJ-3I-m31"/> |
1635 | </connections> | 1635 | </connections> |
1636 | </tableViewCell> | 1636 | </tableViewCell> |
1637 | </prototypes> | 1637 | </prototypes> |
1638 | </tableView> | 1638 | </tableView> |
1639 | </subviews> | 1639 | </subviews> |
1640 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 1640 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
1641 | <constraints> | 1641 | <constraints> |
1642 | <constraint firstItem="V6x-cE-E8d" firstAttribute="leading" secondItem="mzf-PY-EI6" secondAttribute="leading" constant="8" id="GnX-ox-VOh"/> | 1642 | <constraint firstItem="V6x-cE-E8d" firstAttribute="leading" secondItem="mzf-PY-EI6" secondAttribute="leading" constant="8" id="GnX-ox-VOh"/> |
1643 | <constraint firstAttribute="trailing" secondItem="V6x-cE-E8d" secondAttribute="trailing" constant="8" id="bjw-38-jgd"/> | 1643 | <constraint firstAttribute="trailing" secondItem="V6x-cE-E8d" secondAttribute="trailing" constant="8" id="bjw-38-jgd"/> |
1644 | <constraint firstItem="vdY-sr-wDU" firstAttribute="top" secondItem="mzf-PY-EI6" secondAttribute="top" id="ety-n3-yYE"/> | 1644 | <constraint firstItem="vdY-sr-wDU" firstAttribute="top" secondItem="mzf-PY-EI6" secondAttribute="top" id="ety-n3-yYE"/> |
1645 | <constraint firstItem="vdY-sr-wDU" firstAttribute="leading" secondItem="mzf-PY-EI6" secondAttribute="leading" id="gPn-X8-U9z"/> | 1645 | <constraint firstItem="vdY-sr-wDU" firstAttribute="leading" secondItem="mzf-PY-EI6" secondAttribute="leading" id="gPn-X8-U9z"/> |
1646 | <constraint firstAttribute="trailing" secondItem="vdY-sr-wDU" secondAttribute="trailing" id="oK3-it-hNf"/> | 1646 | <constraint firstAttribute="trailing" secondItem="vdY-sr-wDU" secondAttribute="trailing" id="oK3-it-hNf"/> |
1647 | <constraint firstItem="Pjw-Dm-iMU" firstAttribute="top" secondItem="V6x-cE-E8d" secondAttribute="bottom" constant="8" id="pDw-vm-yVi"/> | 1647 | <constraint firstItem="Pjw-Dm-iMU" firstAttribute="top" secondItem="V6x-cE-E8d" secondAttribute="bottom" constant="8" id="pDw-vm-yVi"/> |
1648 | <constraint firstItem="V6x-cE-E8d" firstAttribute="top" secondItem="vdY-sr-wDU" secondAttribute="bottom" constant="8" id="sjy-3T-OWp"/> | 1648 | <constraint firstItem="V6x-cE-E8d" firstAttribute="top" secondItem="vdY-sr-wDU" secondAttribute="bottom" constant="8" id="sjy-3T-OWp"/> |
1649 | </constraints> | 1649 | </constraints> |
1650 | </view> | 1650 | </view> |
1651 | <connections> | 1651 | <connections> |
1652 | <outlet property="tableView" destination="V6x-cE-E8d" id="0EO-F7-G0j"/> | 1652 | <outlet property="tableView" destination="V6x-cE-E8d" id="0EO-F7-G0j"/> |
1653 | <outlet property="vTopLogo" destination="vdY-sr-wDU" id="PGb-5V-Unc"/> | 1653 | <outlet property="vTopLogo" destination="vdY-sr-wDU" id="PGb-5V-Unc"/> |
1654 | </connections> | 1654 | </connections> |
1655 | </viewController> | 1655 | </viewController> |
1656 | <placeholder placeholderIdentifier="IBFirstResponder" id="fgd-2v-iUF" userLabel="First Responder" sceneMemberID="firstResponder"/> | 1656 | <placeholder placeholderIdentifier="IBFirstResponder" id="fgd-2v-iUF" userLabel="First Responder" sceneMemberID="firstResponder"/> |
1657 | </objects> | 1657 | </objects> |
1658 | <point key="canvasLocation" x="-972" y="1311.0944527736133"/> | 1658 | <point key="canvasLocation" x="-972" y="1311.0944527736133"/> |
1659 | </scene> | 1659 | </scene> |
1660 | <!--Shoot Item List--> | 1660 | <!--Shoot Item List--> |
1661 | <scene sceneID="sIi-HD-Jg2"> | 1661 | <scene sceneID="sIi-HD-Jg2"> |
1662 | <objects> | 1662 | <objects> |
1663 | <viewController storyboardIdentifier="VCShootItemList" useStoryboardIdentifierAsRestorationIdentifier="YES" id="SuZ-So-Icj" customClass="VCShootItemList" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> | 1663 | <viewController storyboardIdentifier="VCShootItemList" useStoryboardIdentifierAsRestorationIdentifier="YES" id="SuZ-So-Icj" customClass="VCShootItemList" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> |
1664 | <layoutGuides> | 1664 | <layoutGuides> |
1665 | <viewControllerLayoutGuide type="top" id="f7Z-rJ-qeW"/> | 1665 | <viewControllerLayoutGuide type="top" id="f7Z-rJ-qeW"/> |
1666 | <viewControllerLayoutGuide type="bottom" id="flu-0n-CCK"/> | 1666 | <viewControllerLayoutGuide type="bottom" id="flu-0n-CCK"/> |
1667 | </layoutGuides> | 1667 | </layoutGuides> |
1668 | <view key="view" contentMode="scaleToFill" id="Us0-1t-iV0"> | 1668 | <view key="view" contentMode="scaleToFill" id="Us0-1t-iV0"> |
1669 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 1669 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
1670 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 1670 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
1671 | <subviews> | 1671 | <subviews> |
1672 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qBB-6z-QB3"> | 1672 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qBB-6z-QB3"> |
1673 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | 1673 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> |
1674 | <subviews> | 1674 | <subviews> |
1675 | <imageView contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon" translatesAutoresizingMaskIntoConstraints="NO" id="TbY-ax-075"> | 1675 | <imageView contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon" translatesAutoresizingMaskIntoConstraints="NO" id="TbY-ax-075"> |
1676 | <rect key="frame" x="3" y="3" width="45" height="45"/> | 1676 | <rect key="frame" x="3" y="3" width="45" height="45"/> |
1677 | <constraints> | 1677 | <constraints> |
1678 | <constraint firstAttribute="width" constant="45" id="ONg-cb-Wk8"/> | 1678 | <constraint firstAttribute="width" constant="45" id="ONg-cb-Wk8"/> |
1679 | <constraint firstAttribute="height" constant="45" id="fFU-Bl-fhA"/> | 1679 | <constraint firstAttribute="height" constant="45" id="fFU-Bl-fhA"/> |
1680 | </constraints> | 1680 | </constraints> |
1681 | </imageView> | 1681 | </imageView> |
1682 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="MOROOKA" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gag-Ot-RcU"> | 1682 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="MOROOKA" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gag-Ot-RcU"> |
1683 | <rect key="frame" x="48" y="4" width="327" height="42"/> | 1683 | <rect key="frame" x="48" y="4" width="327" height="42"/> |
1684 | <fontDescription key="fontDescription" type="system" weight="black" pointSize="35"/> | 1684 | <fontDescription key="fontDescription" type="system" weight="black" pointSize="35"/> |
1685 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 1685 | <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
1686 | <nil key="highlightedColor"/> | 1686 | <nil key="highlightedColor"/> |
1687 | </label> | 1687 | </label> |
1688 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ZGf-PB-6Y9"> | 1688 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ZGf-PB-6Y9"> |
1689 | <rect key="frame" x="330" y="3" width="45" height="45"/> | 1689 | <rect key="frame" x="330" y="3" width="45" height="45"/> |
1690 | <constraints> | 1690 | <constraints> |
1691 | <constraint firstAttribute="width" constant="45" id="7fn-G0-v9s"/> | 1691 | <constraint firstAttribute="width" constant="45" id="7fn-G0-v9s"/> |
1692 | <constraint firstAttribute="height" constant="45" id="pa1-ey-AT1"/> | 1692 | <constraint firstAttribute="height" constant="45" id="pa1-ey-AT1"/> |
1693 | </constraints> | 1693 | </constraints> |
1694 | <state key="normal" image="edit_icon"/> | 1694 | <state key="normal" image="edit_icon"/> |
1695 | <connections> | 1695 | <connections> |
1696 | <action selector="btnEditClick:" destination="SuZ-So-Icj" eventType="touchUpInside" id="GVw-r8-MnA"/> | 1696 | <action selector="btnEditClick:" destination="SuZ-So-Icj" eventType="touchUpInside" id="GVw-r8-MnA"/> |
1697 | </connections> | 1697 | </connections> |
1698 | </button> | 1698 | </button> |
1699 | </subviews> | 1699 | </subviews> |
1700 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 1700 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
1701 | <constraints> | 1701 | <constraints> |
1702 | <constraint firstItem="ZGf-PB-6Y9" firstAttribute="centerY" secondItem="qBB-6z-QB3" secondAttribute="centerY" id="1p0-1v-PGy"/> | 1702 | <constraint firstItem="ZGf-PB-6Y9" firstAttribute="centerY" secondItem="qBB-6z-QB3" secondAttribute="centerY" id="1p0-1v-PGy"/> |
1703 | <constraint firstItem="TbY-ax-075" firstAttribute="leading" secondItem="qBB-6z-QB3" secondAttribute="leading" constant="3" id="Fn5-Ts-ET7"/> | 1703 | <constraint firstItem="TbY-ax-075" firstAttribute="leading" secondItem="qBB-6z-QB3" secondAttribute="leading" constant="3" id="Fn5-Ts-ET7"/> |
1704 | <constraint firstItem="gag-Ot-RcU" firstAttribute="leading" secondItem="TbY-ax-075" secondAttribute="trailing" id="KKj-My-RdO"/> | 1704 | <constraint firstItem="gag-Ot-RcU" firstAttribute="leading" secondItem="TbY-ax-075" secondAttribute="trailing" id="KKj-My-RdO"/> |
1705 | <constraint firstAttribute="trailing" secondItem="gag-Ot-RcU" secondAttribute="trailing" id="ODP-1Q-ahT"/> | 1705 | <constraint firstAttribute="trailing" secondItem="gag-Ot-RcU" secondAttribute="trailing" id="ODP-1Q-ahT"/> |
1706 | <constraint firstAttribute="height" constant="50" id="S7C-lh-aEC"/> | 1706 | <constraint firstAttribute="height" constant="50" id="S7C-lh-aEC"/> |
1707 | <constraint firstAttribute="trailing" secondItem="ZGf-PB-6Y9" secondAttribute="trailing" id="WhB-tc-iIy"/> | 1707 | <constraint firstAttribute="trailing" secondItem="ZGf-PB-6Y9" secondAttribute="trailing" id="WhB-tc-iIy"/> |
1708 | <constraint firstItem="gag-Ot-RcU" firstAttribute="centerY" secondItem="qBB-6z-QB3" secondAttribute="centerY" id="iCe-bl-gFL"/> | 1708 | <constraint firstItem="gag-Ot-RcU" firstAttribute="centerY" secondItem="qBB-6z-QB3" secondAttribute="centerY" id="iCe-bl-gFL"/> |
1709 | <constraint firstItem="TbY-ax-075" firstAttribute="centerY" secondItem="qBB-6z-QB3" secondAttribute="centerY" id="lbJ-S6-GLG"/> | 1709 | <constraint firstItem="TbY-ax-075" firstAttribute="centerY" secondItem="qBB-6z-QB3" secondAttribute="centerY" id="lbJ-S6-GLG"/> |
1710 | </constraints> | 1710 | </constraints> |
1711 | </view> | 1711 | </view> |
1712 | <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="cTl-cj-neT" customClass="UITableViewLoadDataFromUIThread" customModule="GeneralUtils"> | 1712 | <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="cTl-cj-neT" customClass="UITableViewLoadDataFromUIThread" customModule="GeneralUtils"> |
1713 | <rect key="frame" x="30" y="144" width="315" height="493"/> | 1713 | <rect key="frame" x="30" y="144" width="315" height="493"/> |
1714 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 1714 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
1715 | </tableView> | 1715 | </tableView> |
1716 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rOP-uk-cS2"> | 1716 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rOP-uk-cS2"> |
1717 | <rect key="frame" x="30" y="100" width="133" height="21"/> | 1717 | <rect key="frame" x="30" y="100" width="133" height="21"/> |
1718 | <string key="text">Hello Mr. Yamada | 1718 | <string key="text">Hello Mr. Yamada |
1719 | </string> | 1719 | </string> |
1720 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 1720 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
1721 | <nil key="textColor"/> | 1721 | <nil key="textColor"/> |
1722 | <nil key="highlightedColor"/> | 1722 | <nil key="highlightedColor"/> |
1723 | </label> | 1723 | </label> |
1724 | </subviews> | 1724 | </subviews> |
1725 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 1725 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
1726 | <constraints> | 1726 | <constraints> |
1727 | <constraint firstItem="qBB-6z-QB3" firstAttribute="leading" secondItem="Us0-1t-iV0" secondAttribute="leading" id="1rB-Yd-QrZ"/> | 1727 | <constraint firstItem="qBB-6z-QB3" firstAttribute="leading" secondItem="Us0-1t-iV0" secondAttribute="leading" id="1rB-Yd-QrZ"/> |
1728 | <constraint firstItem="cTl-cj-neT" firstAttribute="top" secondItem="rOP-uk-cS2" secondAttribute="bottom" constant="23" id="2mL-Ki-mdN"/> | 1728 | <constraint firstItem="cTl-cj-neT" firstAttribute="top" secondItem="rOP-uk-cS2" secondAttribute="bottom" constant="23" id="2mL-Ki-mdN"/> |
1729 | <constraint firstItem="qBB-6z-QB3" firstAttribute="top" secondItem="Us0-1t-iV0" secondAttribute="top" id="5aV-ZB-98t"/> | 1729 | <constraint firstItem="qBB-6z-QB3" firstAttribute="top" secondItem="Us0-1t-iV0" secondAttribute="top" id="5aV-ZB-98t"/> |
1730 | <constraint firstItem="flu-0n-CCK" firstAttribute="top" secondItem="cTl-cj-neT" secondAttribute="bottom" constant="30" id="7zH-hu-gPS"/> | 1730 | <constraint firstItem="flu-0n-CCK" firstAttribute="top" secondItem="cTl-cj-neT" secondAttribute="bottom" constant="30" id="7zH-hu-gPS"/> |
1731 | <constraint firstAttribute="trailing" secondItem="cTl-cj-neT" secondAttribute="trailing" constant="30" id="DqX-KU-Zsl"/> | 1731 | <constraint firstAttribute="trailing" secondItem="cTl-cj-neT" secondAttribute="trailing" constant="30" id="DqX-KU-Zsl"/> |
1732 | <constraint firstItem="rOP-uk-cS2" firstAttribute="top" secondItem="qBB-6z-QB3" secondAttribute="bottom" constant="50" id="MuU-Tu-ZXD"/> | 1732 | <constraint firstItem="rOP-uk-cS2" firstAttribute="top" secondItem="qBB-6z-QB3" secondAttribute="bottom" constant="50" id="MuU-Tu-ZXD"/> |
1733 | <constraint firstAttribute="trailing" secondItem="qBB-6z-QB3" secondAttribute="trailing" id="VCl-qH-tbk"/> | 1733 | <constraint firstAttribute="trailing" secondItem="qBB-6z-QB3" secondAttribute="trailing" id="VCl-qH-tbk"/> |
1734 | <constraint firstItem="rOP-uk-cS2" firstAttribute="leading" secondItem="Us0-1t-iV0" secondAttribute="leading" constant="30" id="fWw-tI-VD2"/> | 1734 | <constraint firstItem="rOP-uk-cS2" firstAttribute="leading" secondItem="Us0-1t-iV0" secondAttribute="leading" constant="30" id="fWw-tI-VD2"/> |
1735 | <constraint firstItem="cTl-cj-neT" firstAttribute="leading" secondItem="Us0-1t-iV0" secondAttribute="leading" constant="30" id="oFV-j8-D5Y"/> | 1735 | <constraint firstItem="cTl-cj-neT" firstAttribute="leading" secondItem="Us0-1t-iV0" secondAttribute="leading" constant="30" id="oFV-j8-D5Y"/> |
1736 | </constraints> | 1736 | </constraints> |
1737 | </view> | 1737 | </view> |
1738 | <connections> | 1738 | <connections> |
1739 | <outlet property="imvLogo" destination="TbY-ax-075" id="xGj-Ot-BKS"/> | 1739 | <outlet property="imvLogo" destination="TbY-ax-075" id="xGj-Ot-BKS"/> |
1740 | <outlet property="tableView" destination="cTl-cj-neT" id="ai4-Ey-dTj"/> | 1740 | <outlet property="tableView" destination="cTl-cj-neT" id="ai4-Ey-dTj"/> |
1741 | <outlet property="tvTitle" destination="rOP-uk-cS2" id="Jg0-PD-yN0"/> | 1741 | <outlet property="tvTitle" destination="rOP-uk-cS2" id="Jg0-PD-yN0"/> |
1742 | </connections> | 1742 | </connections> |
1743 | </viewController> | 1743 | </viewController> |
1744 | <placeholder placeholderIdentifier="IBFirstResponder" id="g3q-5M-v6D" userLabel="First Responder" sceneMemberID="firstResponder"/> | 1744 | <placeholder placeholderIdentifier="IBFirstResponder" id="g3q-5M-v6D" userLabel="First Responder" sceneMemberID="firstResponder"/> |
1745 | </objects> | 1745 | </objects> |
1746 | <point key="canvasLocation" x="-308" y="1311.0944527736133"/> | 1746 | <point key="canvasLocation" x="-308" y="1311.0944527736133"/> |
1747 | </scene> | 1747 | </scene> |
1748 | <!--Vc Edit--> | 1748 | <!--Vc Edit--> |
1749 | <scene sceneID="AMe-Ob-g5n"> | 1749 | <scene sceneID="AMe-Ob-g5n"> |
1750 | <objects> | 1750 | <objects> |
1751 | <viewController storyboardIdentifier="VcEdit" useStoryboardIdentifierAsRestorationIdentifier="YES" id="yZt-Wk-WwO" customClass="VcEdit" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> | 1751 | <viewController storyboardIdentifier="VcEdit" useStoryboardIdentifierAsRestorationIdentifier="YES" id="yZt-Wk-WwO" customClass="VcEdit" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> |
1752 | <layoutGuides> | 1752 | <layoutGuides> |
1753 | <viewControllerLayoutGuide type="top" id="nCH-F7-Qq7"/> | 1753 | <viewControllerLayoutGuide type="top" id="nCH-F7-Qq7"/> |
1754 | <viewControllerLayoutGuide type="bottom" id="van-mn-hoW"/> | 1754 | <viewControllerLayoutGuide type="bottom" id="van-mn-hoW"/> |
1755 | </layoutGuides> | 1755 | </layoutGuides> |
1756 | <view key="view" contentMode="scaleToFill" id="BWh-MX-R0M"> | 1756 | <view key="view" contentMode="scaleToFill" id="BWh-MX-R0M"> |
1757 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 1757 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
1758 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 1758 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
1759 | <subviews> | 1759 | <subviews> |
1760 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Pof-2r-x0X" customClass="UIViewCustom" customModule="GeneralUtils"> | 1760 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Pof-2r-x0X" customClass="UIViewCustom" customModule="GeneralUtils"> |
1761 | <rect key="frame" x="16" y="316" width="343" height="311"/> | 1761 | <rect key="frame" x="16" y="316" width="343" height="311"/> |
1762 | <subviews> | 1762 | <subviews> |
1763 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="Dgi-vG-dfX"> | 1763 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="Dgi-vG-dfX"> |
1764 | <rect key="frame" x="8" y="8" width="327" height="295"/> | 1764 | <rect key="frame" x="8" y="8" width="327" height="295"/> |
1765 | <subviews> | 1765 | <subviews> |
1766 | <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="jNc-zX-gBc"> | 1766 | <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="jNc-zX-gBc"> |
1767 | <rect key="frame" x="0.0" y="0.0" width="327" height="40"/> | 1767 | <rect key="frame" x="0.0" y="0.0" width="327" height="40"/> |
1768 | <subviews> | 1768 | <subviews> |
1769 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vhN-zQ-0gC"> | 1769 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vhN-zQ-0gC"> |
1770 | <rect key="frame" x="0.0" y="0.0" width="283" height="40"/> | 1770 | <rect key="frame" x="0.0" y="0.0" width="283" height="40"/> |
1771 | <string key="text">施工会社名 | 1771 | <string key="text">施工会社名 |
1772 | </string> | 1772 | </string> |
1773 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 1773 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
1774 | <nil key="textColor"/> | 1774 | <nil key="textColor"/> |
1775 | <nil key="highlightedColor"/> | 1775 | <nil key="highlightedColor"/> |
1776 | </label> | 1776 | </label> |
1777 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="cty" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AfF-k7-iZ5"> | 1777 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="cty" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AfF-k7-iZ5"> |
1778 | <rect key="frame" x="288" y="0.0" width="24" height="40"/> | 1778 | <rect key="frame" x="288" y="0.0" width="24" height="40"/> |
1779 | <constraints> | 1779 | <constraints> |
1780 | <constraint firstAttribute="width" relation="lessThanOrEqual" constant="100" id="xJh-Ho-SeF"/> | 1780 | <constraint firstAttribute="width" relation="lessThanOrEqual" constant="100" id="xJh-Ho-SeF"/> |
1781 | </constraints> | 1781 | </constraints> |
1782 | <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/> | 1782 | <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/> |
1783 | <color key="textColor" red="0.16078431372549018" green="0.39215686274509803" blue="0.90588235294117647" alpha="1" colorSpace="calibratedRGB"/> | 1783 | <color key="textColor" red="0.16078431372549018" green="0.39215686274509803" blue="0.90588235294117647" alpha="1" colorSpace="calibratedRGB"/> |
1784 | <nil key="highlightedColor"/> | 1784 | <nil key="highlightedColor"/> |
1785 | </label> | 1785 | </label> |
1786 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="arrow_right" translatesAutoresizingMaskIntoConstraints="NO" id="faa-um-yIv"> | 1786 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="arrow_right" translatesAutoresizingMaskIntoConstraints="NO" id="faa-um-yIv"> |
1787 | <rect key="frame" x="317" y="0.0" width="10" height="40"/> | 1787 | <rect key="frame" x="317" y="0.0" width="10" height="40"/> |
1788 | <constraints> | 1788 | <constraints> |
1789 | <constraint firstAttribute="width" constant="10" id="ovk-05-Bgp"/> | 1789 | <constraint firstAttribute="width" constant="10" id="ovk-05-Bgp"/> |
1790 | </constraints> | 1790 | </constraints> |
1791 | </imageView> | 1791 | </imageView> |
1792 | </subviews> | 1792 | </subviews> |
1793 | <gestureRecognizers/> | 1793 | <gestureRecognizers/> |
1794 | <constraints> | 1794 | <constraints> |
1795 | <constraint firstAttribute="height" constant="40" id="N56-2E-1Ty"/> | 1795 | <constraint firstAttribute="height" constant="40" id="N56-2E-1Ty"/> |
1796 | </constraints> | 1796 | </constraints> |
1797 | <connections> | 1797 | <connections> |
1798 | <outletCollection property="gestureRecognizers" destination="kRu-kF-xSt" appends="YES" id="Qzk-Lg-ciJ"/> | 1798 | <outletCollection property="gestureRecognizers" destination="kRu-kF-xSt" appends="YES" id="Qzk-Lg-ciJ"/> |
1799 | </connections> | 1799 | </connections> |
1800 | </stackView> | 1800 | </stackView> |
1801 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="F8B-OO-Z0f" userLabel="View separate"> | 1801 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="F8B-OO-Z0f" userLabel="View separate"> |
1802 | <rect key="frame" x="0.0" y="45" width="327" height="1"/> | 1802 | <rect key="frame" x="0.0" y="45" width="327" height="1"/> |
1803 | <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> | 1803 | <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> |
1804 | <constraints> | 1804 | <constraints> |
1805 | <constraint firstAttribute="height" constant="1" id="TWn-q6-Tao"/> | 1805 | <constraint firstAttribute="height" constant="1" id="TWn-q6-Tao"/> |
1806 | </constraints> | 1806 | </constraints> |
1807 | </view> | 1807 | </view> |
1808 | <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="jjd-ad-zoV"> | 1808 | <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="jjd-ad-zoV"> |
1809 | <rect key="frame" x="0.0" y="51" width="327" height="40"/> | 1809 | <rect key="frame" x="0.0" y="51" width="327" height="40"/> |
1810 | <subviews> | 1810 | <subviews> |
1811 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IlK-By-EjT"> | 1811 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IlK-By-EjT"> |
1812 | <rect key="frame" x="0.0" y="0.0" width="247" height="40"/> | 1812 | <rect key="frame" x="0.0" y="0.0" width="247" height="40"/> |
1813 | <string key="text">工事件名 | 1813 | <string key="text">工事件名 |
1814 | </string> | 1814 | </string> |
1815 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 1815 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
1816 | <nil key="textColor"/> | 1816 | <nil key="textColor"/> |
1817 | <nil key="highlightedColor"/> | 1817 | <nil key="highlightedColor"/> |
1818 | </label> | 1818 | </label> |
1819 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ctruong" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uBu-xb-dCc"> | 1819 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ctruong" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uBu-xb-dCc"> |
1820 | <rect key="frame" x="252" y="0.0" width="60" height="40"/> | 1820 | <rect key="frame" x="252" y="0.0" width="60" height="40"/> |
1821 | <constraints> | 1821 | <constraints> |
1822 | <constraint firstAttribute="width" relation="lessThanOrEqual" constant="100" id="XIf-rt-epT"/> | 1822 | <constraint firstAttribute="width" relation="lessThanOrEqual" constant="100" id="XIf-rt-epT"/> |
1823 | </constraints> | 1823 | </constraints> |
1824 | <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/> | 1824 | <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/> |
1825 | <color key="textColor" red="0.16078431369999999" green="0.3921568627" blue="0.90588235289999997" alpha="1" colorSpace="calibratedRGB"/> | 1825 | <color key="textColor" red="0.16078431369999999" green="0.3921568627" blue="0.90588235289999997" alpha="1" colorSpace="calibratedRGB"/> |
1826 | <nil key="highlightedColor"/> | 1826 | <nil key="highlightedColor"/> |
1827 | </label> | 1827 | </label> |
1828 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="arrow_right" translatesAutoresizingMaskIntoConstraints="NO" id="t23-Zq-t8L"> | 1828 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="arrow_right" translatesAutoresizingMaskIntoConstraints="NO" id="t23-Zq-t8L"> |
1829 | <rect key="frame" x="317" y="0.0" width="10" height="40"/> | 1829 | <rect key="frame" x="317" y="0.0" width="10" height="40"/> |
1830 | <constraints> | 1830 | <constraints> |
1831 | <constraint firstAttribute="width" constant="10" id="Dqf-yE-93N"/> | 1831 | <constraint firstAttribute="width" constant="10" id="Dqf-yE-93N"/> |
1832 | </constraints> | 1832 | </constraints> |
1833 | </imageView> | 1833 | </imageView> |
1834 | </subviews> | 1834 | </subviews> |
1835 | <constraints> | 1835 | <constraints> |
1836 | <constraint firstAttribute="height" constant="40" id="jLC-1P-ON9"/> | 1836 | <constraint firstAttribute="height" constant="40" id="jLC-1P-ON9"/> |
1837 | </constraints> | 1837 | </constraints> |
1838 | <connections> | 1838 | <connections> |
1839 | <outletCollection property="gestureRecognizers" destination="kdh-D1-Gj5" appends="YES" id="Zna-tH-YOb"/> | 1839 | <outletCollection property="gestureRecognizers" destination="kdh-D1-Gj5" appends="YES" id="Zna-tH-YOb"/> |
1840 | </connections> | 1840 | </connections> |
1841 | </stackView> | 1841 | </stackView> |
1842 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="VQV-ls-fhJ" userLabel="View separate"> | 1842 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="VQV-ls-fhJ" userLabel="View separate"> |
1843 | <rect key="frame" x="0.0" y="96" width="327" height="1"/> | 1843 | <rect key="frame" x="0.0" y="96" width="327" height="1"/> |
1844 | <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> | 1844 | <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> |
1845 | <constraints> | 1845 | <constraints> |
1846 | <constraint firstAttribute="height" constant="1" id="wGj-C8-AZi"/> | 1846 | <constraint firstAttribute="height" constant="1" id="wGj-C8-AZi"/> |
1847 | </constraints> | 1847 | </constraints> |
1848 | </view> | 1848 | </view> |
1849 | <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="Zy5-Mc-M4u"> | 1849 | <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="Zy5-Mc-M4u"> |
1850 | <rect key="frame" x="0.0" y="102" width="327" height="40"/> | 1850 | <rect key="frame" x="0.0" y="102" width="327" height="40"/> |
1851 | <subviews> | 1851 | <subviews> |
1852 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FTS-Cy-3ey"> | 1852 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FTS-Cy-3ey"> |
1853 | <rect key="frame" x="0.0" y="0.0" width="269" height="40"/> | 1853 | <rect key="frame" x="0.0" y="0.0" width="269" height="40"/> |
1854 | <string key="text">撮影項目リスト | 1854 | <string key="text">撮影項目リスト |
1855 | </string> | 1855 | </string> |
1856 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 1856 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
1857 | <nil key="textColor"/> | 1857 | <nil key="textColor"/> |
1858 | <nil key="highlightedColor"/> | 1858 | <nil key="highlightedColor"/> |
1859 | </label> | 1859 | </label> |
1860 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="chup" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mV8-2Y-tik"> | 1860 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="chup" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mV8-2Y-tik"> |
1861 | <rect key="frame" x="274" y="0.0" width="38" height="40"/> | 1861 | <rect key="frame" x="274" y="0.0" width="38" height="40"/> |
1862 | <constraints> | 1862 | <constraints> |
1863 | <constraint firstAttribute="width" relation="lessThanOrEqual" constant="100" id="Nn0-5m-ecR"/> | 1863 | <constraint firstAttribute="width" relation="lessThanOrEqual" constant="100" id="Nn0-5m-ecR"/> |
1864 | </constraints> | 1864 | </constraints> |
1865 | <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/> | 1865 | <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/> |
1866 | <color key="textColor" red="0.16078431369999999" green="0.3921568627" blue="0.90588235289999997" alpha="1" colorSpace="calibratedRGB"/> | 1866 | <color key="textColor" red="0.16078431369999999" green="0.3921568627" blue="0.90588235289999997" alpha="1" colorSpace="calibratedRGB"/> |
1867 | <nil key="highlightedColor"/> | 1867 | <nil key="highlightedColor"/> |
1868 | </label> | 1868 | </label> |
1869 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="arrow_right" translatesAutoresizingMaskIntoConstraints="NO" id="5lN-YO-HQl"> | 1869 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="arrow_right" translatesAutoresizingMaskIntoConstraints="NO" id="5lN-YO-HQl"> |
1870 | <rect key="frame" x="317" y="0.0" width="10" height="40"/> | 1870 | <rect key="frame" x="317" y="0.0" width="10" height="40"/> |
1871 | <constraints> | 1871 | <constraints> |
1872 | <constraint firstAttribute="width" constant="10" id="xkc-7j-7O7"/> | 1872 | <constraint firstAttribute="width" constant="10" id="xkc-7j-7O7"/> |
1873 | </constraints> | 1873 | </constraints> |
1874 | </imageView> | 1874 | </imageView> |
1875 | </subviews> | 1875 | </subviews> |
1876 | <constraints> | 1876 | <constraints> |
1877 | <constraint firstAttribute="height" constant="40" id="AID-UY-qxo"/> | 1877 | <constraint firstAttribute="height" constant="40" id="AID-UY-qxo"/> |
1878 | </constraints> | 1878 | </constraints> |
1879 | <connections> | 1879 | <connections> |
1880 | <outletCollection property="gestureRecognizers" destination="p36-Ww-PRj" appends="YES" id="8iV-Sc-0p3"/> | 1880 | <outletCollection property="gestureRecognizers" destination="p36-Ww-PRj" appends="YES" id="8iV-Sc-0p3"/> |
1881 | </connections> | 1881 | </connections> |
1882 | </stackView> | 1882 | </stackView> |
1883 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="e8l-Y1-cYu" userLabel="View separate"> | 1883 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="e8l-Y1-cYu" userLabel="View separate"> |
1884 | <rect key="frame" x="0.0" y="147" width="327" height="1"/> | 1884 | <rect key="frame" x="0.0" y="147" width="327" height="1"/> |
1885 | <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> | 1885 | <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> |
1886 | <constraints> | 1886 | <constraints> |
1887 | <constraint firstAttribute="height" constant="1" id="xIy-gM-TE8"/> | 1887 | <constraint firstAttribute="height" constant="1" id="xIy-gM-TE8"/> |
1888 | </constraints> | 1888 | </constraints> |
1889 | </view> | 1889 | </view> |
1890 | <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="xkV-jC-vUd"> | 1890 | <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="xkV-jC-vUd"> |
1891 | <rect key="frame" x="0.0" y="153" width="327" height="40"/> | 1891 | <rect key="frame" x="0.0" y="153" width="327" height="40"/> |
1892 | <subviews> | 1892 | <subviews> |
1893 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IHs-ic-OCW"> | 1893 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IHs-ic-OCW"> |
1894 | <rect key="frame" x="0.0" y="0.0" width="247.5" height="40"/> | 1894 | <rect key="frame" x="0.0" y="0.0" width="247.5" height="40"/> |
1895 | <string key="text">撮影する項目 | 1895 | <string key="text">撮影する項目 |
1896 | </string> | 1896 | </string> |
1897 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 1897 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
1898 | <nil key="textColor"/> | 1898 | <nil key="textColor"/> |
1899 | <nil key="highlightedColor"/> | 1899 | <nil key="highlightedColor"/> |
1900 | </label> | 1900 | </label> |
1901 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="se chup" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2uv-My-eRf"> | 1901 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="se chup" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2uv-My-eRf"> |
1902 | <rect key="frame" x="252.5" y="0.0" width="59.5" height="40"/> | 1902 | <rect key="frame" x="252.5" y="0.0" width="59.5" height="40"/> |
1903 | <constraints> | 1903 | <constraints> |
1904 | <constraint firstAttribute="width" relation="lessThanOrEqual" constant="100" id="3BG-UW-mpa"/> | 1904 | <constraint firstAttribute="width" relation="lessThanOrEqual" constant="100" id="3BG-UW-mpa"/> |
1905 | </constraints> | 1905 | </constraints> |
1906 | <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/> | 1906 | <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/> |
1907 | <color key="textColor" red="0.16078431369999999" green="0.3921568627" blue="0.90588235289999997" alpha="1" colorSpace="calibratedRGB"/> | 1907 | <color key="textColor" red="0.16078431369999999" green="0.3921568627" blue="0.90588235289999997" alpha="1" colorSpace="calibratedRGB"/> |
1908 | <nil key="highlightedColor"/> | 1908 | <nil key="highlightedColor"/> |
1909 | </label> | 1909 | </label> |
1910 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="arrow_right" translatesAutoresizingMaskIntoConstraints="NO" id="lql-7i-Hy2"> | 1910 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="arrow_right" translatesAutoresizingMaskIntoConstraints="NO" id="lql-7i-Hy2"> |
1911 | <rect key="frame" x="317" y="0.0" width="10" height="40"/> | 1911 | <rect key="frame" x="317" y="0.0" width="10" height="40"/> |
1912 | <constraints> | 1912 | <constraints> |
1913 | <constraint firstAttribute="width" constant="10" id="mwc-60-I69"/> | 1913 | <constraint firstAttribute="width" constant="10" id="mwc-60-I69"/> |
1914 | </constraints> | 1914 | </constraints> |
1915 | </imageView> | 1915 | </imageView> |
1916 | </subviews> | 1916 | </subviews> |
1917 | <constraints> | 1917 | <constraints> |
1918 | <constraint firstAttribute="height" constant="40" id="szp-9P-T2k"/> | 1918 | <constraint firstAttribute="height" constant="40" id="szp-9P-T2k"/> |
1919 | </constraints> | 1919 | </constraints> |
1920 | <connections> | 1920 | <connections> |
1921 | <outletCollection property="gestureRecognizers" destination="sjC-4a-S3p" appends="YES" id="vxT-bn-lN7"/> | 1921 | <outletCollection property="gestureRecognizers" destination="sjC-4a-S3p" appends="YES" id="vxT-bn-lN7"/> |
1922 | </connections> | 1922 | </connections> |
1923 | </stackView> | 1923 | </stackView> |
1924 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="dHs-tW-7UC" userLabel="View separate"> | 1924 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="dHs-tW-7UC" userLabel="View separate"> |
1925 | <rect key="frame" x="0.0" y="198" width="327" height="1"/> | 1925 | <rect key="frame" x="0.0" y="198" width="327" height="1"/> |
1926 | <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> | 1926 | <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> |
1927 | <constraints> | 1927 | <constraints> |
1928 | <constraint firstAttribute="height" constant="1" id="6ZW-Z7-gh6"/> | 1928 | <constraint firstAttribute="height" constant="1" id="6ZW-Z7-gh6"/> |
1929 | </constraints> | 1929 | </constraints> |
1930 | </view> | 1930 | </view> |
1931 | <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="z2J-Ye-1dW"> | 1931 | <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="z2J-Ye-1dW"> |
1932 | <rect key="frame" x="0.0" y="204" width="327" height="40"/> | 1932 | <rect key="frame" x="0.0" y="204" width="327" height="40"/> |
1933 | <subviews> | 1933 | <subviews> |
1934 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pId-LJ-v9Q"> | 1934 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pId-LJ-v9Q"> |
1935 | <rect key="frame" x="0.0" y="0.0" width="282.5" height="40"/> | 1935 | <rect key="frame" x="0.0" y="0.0" width="282.5" height="40"/> |
1936 | <string key="text">施工看板 | 1936 | <string key="text">施工看板 |
1937 | </string> | 1937 | </string> |
1938 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 1938 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
1939 | <nil key="textColor"/> | 1939 | <nil key="textColor"/> |
1940 | <nil key="highlightedColor"/> | 1940 | <nil key="highlightedColor"/> |
1941 | </label> | 1941 | </label> |
1942 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ON" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LsA-0L-mbU"> | 1942 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ON" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LsA-0L-mbU"> |
1943 | <rect key="frame" x="287.5" y="0.0" width="24.5" height="40"/> | 1943 | <rect key="frame" x="287.5" y="0.0" width="24.5" height="40"/> |
1944 | <constraints> | 1944 | <constraints> |
1945 | <constraint firstAttribute="width" relation="lessThanOrEqual" constant="100" id="bh9-WV-1SL"/> | 1945 | <constraint firstAttribute="width" relation="lessThanOrEqual" constant="100" id="bh9-WV-1SL"/> |
1946 | </constraints> | 1946 | </constraints> |
1947 | <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/> | 1947 | <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/> |
1948 | <color key="textColor" red="0.16078431369999999" green="0.3921568627" blue="0.90588235289999997" alpha="1" colorSpace="calibratedRGB"/> | 1948 | <color key="textColor" red="0.16078431369999999" green="0.3921568627" blue="0.90588235289999997" alpha="1" colorSpace="calibratedRGB"/> |
1949 | <nil key="highlightedColor"/> | 1949 | <nil key="highlightedColor"/> |
1950 | </label> | 1950 | </label> |
1951 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="arrow_right" translatesAutoresizingMaskIntoConstraints="NO" id="6ZA-NT-0O6"> | 1951 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="arrow_right" translatesAutoresizingMaskIntoConstraints="NO" id="6ZA-NT-0O6"> |
1952 | <rect key="frame" x="317" y="0.0" width="10" height="40"/> | 1952 | <rect key="frame" x="317" y="0.0" width="10" height="40"/> |
1953 | <constraints> | 1953 | <constraints> |
1954 | <constraint firstAttribute="width" constant="10" id="BYp-bC-sux"/> | 1954 | <constraint firstAttribute="width" constant="10" id="BYp-bC-sux"/> |
1955 | </constraints> | 1955 | </constraints> |
1956 | </imageView> | 1956 | </imageView> |
1957 | </subviews> | 1957 | </subviews> |
1958 | <constraints> | 1958 | <constraints> |
1959 | <constraint firstAttribute="height" constant="40" id="EGp-bS-6U9"/> | 1959 | <constraint firstAttribute="height" constant="40" id="EGp-bS-6U9"/> |
1960 | </constraints> | 1960 | </constraints> |
1961 | <connections> | 1961 | <connections> |
1962 | <outletCollection property="gestureRecognizers" destination="Wbw-Wy-W4s" appends="YES" id="cg1-Q6-MYt"/> | 1962 | <outletCollection property="gestureRecognizers" destination="Wbw-Wy-W4s" appends="YES" id="cg1-Q6-MYt"/> |
1963 | </connections> | 1963 | </connections> |
1964 | </stackView> | 1964 | </stackView> |
1965 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xc5-x1-UDL" userLabel="View separate"> | 1965 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xc5-x1-UDL" userLabel="View separate"> |
1966 | <rect key="frame" x="0.0" y="249" width="327" height="1"/> | 1966 | <rect key="frame" x="0.0" y="249" width="327" height="1"/> |
1967 | <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> | 1967 | <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> |
1968 | <constraints> | 1968 | <constraints> |
1969 | <constraint firstAttribute="height" constant="1" id="zWu-kd-tO7"/> | 1969 | <constraint firstAttribute="height" constant="1" id="zWu-kd-tO7"/> |
1970 | </constraints> | 1970 | </constraints> |
1971 | </view> | 1971 | </view> |
1972 | <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="AyI-tT-apS"> | 1972 | <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="AyI-tT-apS"> |
1973 | <rect key="frame" x="0.0" y="255" width="327" height="40"/> | 1973 | <rect key="frame" x="0.0" y="255" width="327" height="40"/> |
1974 | <subviews> | 1974 | <subviews> |
1975 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zaE-eI-bKs"> | 1975 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zaE-eI-bKs"> |
1976 | <rect key="frame" x="0.0" y="0.0" width="225" height="40"/> | 1976 | <rect key="frame" x="0.0" y="0.0" width="225" height="40"/> |
1977 | <string key="text">リスト消去 | 1977 | <string key="text">リスト消去 |
1978 | </string> | 1978 | </string> |
1979 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 1979 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
1980 | <nil key="textColor"/> | 1980 | <nil key="textColor"/> |
1981 | <nil key="highlightedColor"/> | 1981 | <nil key="highlightedColor"/> |
1982 | </label> | 1982 | </label> |
1983 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Zod-hg-4Iv"> | 1983 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Zod-hg-4Iv"> |
1984 | <rect key="frame" x="230" y="0.0" width="82" height="40"/> | 1984 | <rect key="frame" x="230" y="0.0" width="82" height="40"/> |
1985 | <constraints> | 1985 | <constraints> |
1986 | <constraint firstAttribute="width" relation="lessThanOrEqual" constant="100" id="i7C-GJ-h5n"/> | 1986 | <constraint firstAttribute="width" relation="lessThanOrEqual" constant="100" id="i7C-GJ-h5n"/> |
1987 | </constraints> | 1987 | </constraints> |
1988 | <string key="text">リスト消去 | 1988 | <string key="text">リスト消去 |
1989 | </string> | 1989 | </string> |
1990 | <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/> | 1990 | <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/> |
1991 | <color key="textColor" red="0.16078431369999999" green="0.3921568627" blue="0.90588235289999997" alpha="1" colorSpace="calibratedRGB"/> | 1991 | <color key="textColor" red="0.16078431369999999" green="0.3921568627" blue="0.90588235289999997" alpha="1" colorSpace="calibratedRGB"/> |
1992 | <nil key="highlightedColor"/> | 1992 | <nil key="highlightedColor"/> |
1993 | </label> | 1993 | </label> |
1994 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="arrow_right" translatesAutoresizingMaskIntoConstraints="NO" id="4Kh-6f-IEj"> | 1994 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="arrow_right" translatesAutoresizingMaskIntoConstraints="NO" id="4Kh-6f-IEj"> |
1995 | <rect key="frame" x="317" y="0.0" width="10" height="40"/> | 1995 | <rect key="frame" x="317" y="0.0" width="10" height="40"/> |
1996 | <constraints> | 1996 | <constraints> |
1997 | <constraint firstAttribute="width" constant="10" id="wyL-iI-Nhc"/> | 1997 | <constraint firstAttribute="width" constant="10" id="wyL-iI-Nhc"/> |
1998 | </constraints> | 1998 | </constraints> |
1999 | </imageView> | 1999 | </imageView> |
2000 | </subviews> | 2000 | </subviews> |
2001 | <constraints> | 2001 | <constraints> |
2002 | <constraint firstAttribute="height" constant="40" id="DdZ-GF-BR9"/> | 2002 | <constraint firstAttribute="height" constant="40" id="DdZ-GF-BR9"/> |
2003 | </constraints> | 2003 | </constraints> |
2004 | <connections> | 2004 | <connections> |
2005 | <outletCollection property="gestureRecognizers" destination="9JU-WE-W5s" appends="YES" id="Zvs-7k-jpK"/> | 2005 | <outletCollection property="gestureRecognizers" destination="9JU-WE-W5s" appends="YES" id="Zvs-7k-jpK"/> |
2006 | </connections> | 2006 | </connections> |
2007 | </stackView> | 2007 | </stackView> |
2008 | </subviews> | 2008 | </subviews> |
2009 | </stackView> | 2009 | </stackView> |
2010 | </subviews> | 2010 | </subviews> |
2011 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 2011 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
2012 | <constraints> | 2012 | <constraints> |
2013 | <constraint firstAttribute="trailing" secondItem="Dgi-vG-dfX" secondAttribute="trailing" constant="8" id="2TS-fi-cN3"/> | 2013 | <constraint firstAttribute="trailing" secondItem="Dgi-vG-dfX" secondAttribute="trailing" constant="8" id="2TS-fi-cN3"/> |
2014 | <constraint firstItem="Dgi-vG-dfX" firstAttribute="leading" secondItem="Pof-2r-x0X" secondAttribute="leading" constant="8" id="EPw-fX-iwp"/> | 2014 | <constraint firstItem="Dgi-vG-dfX" firstAttribute="leading" secondItem="Pof-2r-x0X" secondAttribute="leading" constant="8" id="EPw-fX-iwp"/> |
2015 | <constraint firstAttribute="bottom" secondItem="Dgi-vG-dfX" secondAttribute="bottom" constant="8" id="kCn-S0-4Ii"/> | 2015 | <constraint firstAttribute="bottom" secondItem="Dgi-vG-dfX" secondAttribute="bottom" constant="8" id="kCn-S0-4Ii"/> |
2016 | <constraint firstItem="Dgi-vG-dfX" firstAttribute="top" secondItem="Pof-2r-x0X" secondAttribute="top" constant="8" id="la3-I8-e6G"/> | 2016 | <constraint firstItem="Dgi-vG-dfX" firstAttribute="top" secondItem="Pof-2r-x0X" secondAttribute="top" constant="8" id="la3-I8-e6G"/> |
2017 | </constraints> | 2017 | </constraints> |
2018 | <userDefinedRuntimeAttributes> | 2018 | <userDefinedRuntimeAttributes> |
2019 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 2019 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
2020 | <real key="value" value="10"/> | 2020 | <real key="value" value="10"/> |
2021 | </userDefinedRuntimeAttribute> | 2021 | </userDefinedRuntimeAttribute> |
2022 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 2022 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
2023 | <real key="value" value="1"/> | 2023 | <real key="value" value="1"/> |
2024 | </userDefinedRuntimeAttribute> | 2024 | </userDefinedRuntimeAttribute> |
2025 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 2025 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
2026 | <color key="value" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> | 2026 | <color key="value" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/> |
2027 | </userDefinedRuntimeAttribute> | 2027 | </userDefinedRuntimeAttribute> |
2028 | </userDefinedRuntimeAttributes> | 2028 | </userDefinedRuntimeAttributes> |
2029 | <connections> | 2029 | <connections> |
2030 | <outletCollection property="gestureRecognizers" destination="Bwq-SD-LaA" appends="YES" id="mNJ-5m-W8V"/> | 2030 | <outletCollection property="gestureRecognizers" destination="Bwq-SD-LaA" appends="YES" id="mNJ-5m-W8V"/> |
2031 | </connections> | 2031 | </connections> |
2032 | </view> | 2032 | </view> |
2033 | </subviews> | 2033 | </subviews> |
2034 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 2034 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
2035 | <constraints> | 2035 | <constraints> |
2036 | <constraint firstItem="van-mn-hoW" firstAttribute="top" secondItem="Pof-2r-x0X" secondAttribute="bottom" constant="40" id="JEg-lc-3S2"/> | 2036 | <constraint firstItem="van-mn-hoW" firstAttribute="top" secondItem="Pof-2r-x0X" secondAttribute="bottom" constant="40" id="JEg-lc-3S2"/> |
2037 | <constraint firstItem="Pof-2r-x0X" firstAttribute="leading" secondItem="BWh-MX-R0M" secondAttribute="leading" constant="16" id="KRD-QS-5sF"/> | 2037 | <constraint firstItem="Pof-2r-x0X" firstAttribute="leading" secondItem="BWh-MX-R0M" secondAttribute="leading" constant="16" id="KRD-QS-5sF"/> |
2038 | <constraint firstAttribute="trailing" secondItem="Pof-2r-x0X" secondAttribute="trailing" constant="16" id="Vhc-JB-y9b"/> | 2038 | <constraint firstAttribute="trailing" secondItem="Pof-2r-x0X" secondAttribute="trailing" constant="16" id="Vhc-JB-y9b"/> |
2039 | </constraints> | 2039 | </constraints> |
2040 | </view> | 2040 | </view> |
2041 | <connections> | 2041 | <connections> |
2042 | <outlet property="root" destination="BWh-MX-R0M" id="eji-78-jYS"/> | 2042 | <outlet property="root" destination="BWh-MX-R0M" id="eji-78-jYS"/> |
2043 | <outlet property="tvListShootItem" destination="mV8-2Y-tik" id="2EJ-hQ-HZm"/> | 2043 | <outlet property="tvListShootItem" destination="mV8-2Y-tik" id="2EJ-hQ-HZm"/> |
2044 | <outlet property="tvListWillShoot" destination="2uv-My-eRf" id="be2-vj-CTX"/> | 2044 | <outlet property="tvListWillShoot" destination="2uv-My-eRf" id="be2-vj-CTX"/> |
2045 | <outlet property="tvSignboard" destination="LsA-0L-mbU" id="AW1-IF-ckf"/> | 2045 | <outlet property="tvSignboard" destination="LsA-0L-mbU" id="AW1-IF-ckf"/> |
2046 | <outlet property="tvTenCtruong" destination="uBu-xb-dCc" id="Q3S-4N-cAF"/> | 2046 | <outlet property="tvTenCtruong" destination="uBu-xb-dCc" id="Q3S-4N-cAF"/> |
2047 | <outlet property="tvTenCty" destination="AfF-k7-iZ5" id="KwT-h0-vnC"/> | 2047 | <outlet property="tvTenCty" destination="AfF-k7-iZ5" id="KwT-h0-vnC"/> |
2048 | </connections> | 2048 | </connections> |
2049 | </viewController> | 2049 | </viewController> |
2050 | <placeholder placeholderIdentifier="IBFirstResponder" id="FBh-aj-ACu" userLabel="First Responder" sceneMemberID="firstResponder"/> | 2050 | <placeholder placeholderIdentifier="IBFirstResponder" id="FBh-aj-ACu" userLabel="First Responder" sceneMemberID="firstResponder"/> |
2051 | <tapGestureRecognizer id="Bwq-SD-LaA" userLabel="bgWhite"> | 2051 | <tapGestureRecognizer id="Bwq-SD-LaA" userLabel="bgWhite"> |
2052 | <connections> | 2052 | <connections> |
2053 | <action selector="whiteClick:" destination="yZt-Wk-WwO" id="bfe-tc-JJw"/> | 2053 | <action selector="whiteClick:" destination="yZt-Wk-WwO" id="bfe-tc-JJw"/> |
2054 | </connections> | 2054 | </connections> |
2055 | </tapGestureRecognizer> | 2055 | </tapGestureRecognizer> |
2056 | <tapGestureRecognizer id="9JU-WE-W5s" userLabel="delete"> | 2056 | <tapGestureRecognizer id="9JU-WE-W5s" userLabel="delete"> |
2057 | <connections> | 2057 | <connections> |
2058 | <action selector="deleteClick:" destination="yZt-Wk-WwO" id="i0B-TB-HOY"/> | 2058 | <action selector="deleteClick:" destination="yZt-Wk-WwO" id="i0B-TB-HOY"/> |
2059 | </connections> | 2059 | </connections> |
2060 | </tapGestureRecognizer> | 2060 | </tapGestureRecognizer> |
2061 | <tapGestureRecognizer id="Wbw-Wy-W4s" userLabel="board"> | 2061 | <tapGestureRecognizer id="Wbw-Wy-W4s" userLabel="board"> |
2062 | <connections> | 2062 | <connections> |
2063 | <action selector="boardSettingClick:" destination="yZt-Wk-WwO" id="4lP-6g-Zm8"/> | 2063 | <action selector="boardSettingClick:" destination="yZt-Wk-WwO" id="4lP-6g-Zm8"/> |
2064 | </connections> | 2064 | </connections> |
2065 | </tapGestureRecognizer> | 2065 | </tapGestureRecognizer> |
2066 | <tapGestureRecognizer id="sjC-4a-S3p" userLabel="seChup"> | 2066 | <tapGestureRecognizer id="sjC-4a-S3p" userLabel="seChup"> |
2067 | <connections> | 2067 | <connections> |
2068 | <action selector="listWillShootClick:" destination="yZt-Wk-WwO" id="6PS-Qc-Ph1"/> | 2068 | <action selector="listWillShootClick:" destination="yZt-Wk-WwO" id="6PS-Qc-Ph1"/> |
2069 | </connections> | 2069 | </connections> |
2070 | </tapGestureRecognizer> | 2070 | </tapGestureRecognizer> |
2071 | <tapGestureRecognizer id="p36-Ww-PRj" userLabel="chup"> | 2071 | <tapGestureRecognizer id="p36-Ww-PRj" userLabel="chup"> |
2072 | <connections> | 2072 | <connections> |
2073 | <action selector="listShootClick:" destination="yZt-Wk-WwO" id="J9D-pc-7gq"/> | 2073 | <action selector="listShootClick:" destination="yZt-Wk-WwO" id="J9D-pc-7gq"/> |
2074 | </connections> | 2074 | </connections> |
2075 | </tapGestureRecognizer> | 2075 | </tapGestureRecognizer> |
2076 | <tapGestureRecognizer id="kdh-D1-Gj5" userLabel="ctruong"> | 2076 | <tapGestureRecognizer id="kdh-D1-Gj5" userLabel="ctruong"> |
2077 | <connections> | 2077 | <connections> |
2078 | <action selector="cTruongClick:" destination="yZt-Wk-WwO" id="a8e-DX-rES"/> | 2078 | <action selector="cTruongClick:" destination="yZt-Wk-WwO" id="a8e-DX-rES"/> |
2079 | </connections> | 2079 | </connections> |
2080 | </tapGestureRecognizer> | 2080 | </tapGestureRecognizer> |
2081 | <tapGestureRecognizer id="kRu-kF-xSt" userLabel="cty"> | 2081 | <tapGestureRecognizer id="kRu-kF-xSt" userLabel="cty"> |
2082 | <connections> | 2082 | <connections> |
2083 | <action selector="tvTenCtyClick:" destination="yZt-Wk-WwO" id="GfT-W1-9FL"/> | 2083 | <action selector="tvTenCtyClick:" destination="yZt-Wk-WwO" id="GfT-W1-9FL"/> |
2084 | </connections> | 2084 | </connections> |
2085 | </tapGestureRecognizer> | 2085 | </tapGestureRecognizer> |
2086 | </objects> | 2086 | </objects> |
2087 | <point key="canvasLocation" x="317.60000000000002" y="1312.8935532233884"/> | 2087 | <point key="canvasLocation" x="317.60000000000002" y="1312.8935532233884"/> |
2088 | </scene> | 2088 | </scene> |
2089 | <!--Page Imgs--> | 2089 | <!--Page Imgs--> |
2090 | <scene sceneID="IkJ-sX-BCI"> | 2090 | <scene sceneID="IkJ-sX-BCI"> |
2091 | <objects> | 2091 | <objects> |
2092 | <pageViewController storyboardIdentifier="VCPageImgs" autoresizesArchivedViewToFullSize="NO" useStoryboardIdentifierAsRestorationIdentifier="YES" transitionStyle="pageCurl" navigationOrientation="horizontal" spineLocation="min" id="Fgc-Uj-H4z" customClass="VCPageImgs" customModule="App" customModuleProvider="target" sceneMemberID="viewController"/> | 2092 | <pageViewController storyboardIdentifier="VCPageImgs" autoresizesArchivedViewToFullSize="NO" useStoryboardIdentifierAsRestorationIdentifier="YES" transitionStyle="pageCurl" navigationOrientation="horizontal" spineLocation="min" id="Fgc-Uj-H4z" customClass="VCPageImgs" customModule="App" customModuleProvider="target" sceneMemberID="viewController"/> |
2093 | <placeholder placeholderIdentifier="IBFirstResponder" id="gSk-hG-4qJ" userLabel="First Responder" sceneMemberID="firstResponder"/> | 2093 | <placeholder placeholderIdentifier="IBFirstResponder" id="gSk-hG-4qJ" userLabel="First Responder" sceneMemberID="firstResponder"/> |
2094 | </objects> | 2094 | </objects> |
2095 | <point key="canvasLocation" x="966" y="1313"/> | 2095 | <point key="canvasLocation" x="966" y="1313"/> |
2096 | </scene> | 2096 | </scene> |
2097 | <!--Img Item--> | 2097 | <!--Img Item--> |
2098 | <scene sceneID="mvU-B4-PAB"> | 2098 | <scene sceneID="mvU-B4-PAB"> |
2099 | <objects> | 2099 | <objects> |
2100 | <viewController storyboardIdentifier="VCImgItem" useStoryboardIdentifierAsRestorationIdentifier="YES" id="wEy-gO-NUw" customClass="VCImgItem" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> | 2100 | <viewController storyboardIdentifier="VCImgItem" useStoryboardIdentifierAsRestorationIdentifier="YES" id="wEy-gO-NUw" customClass="VCImgItem" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> |
2101 | <layoutGuides> | 2101 | <layoutGuides> |
2102 | <viewControllerLayoutGuide type="top" id="FeX-3m-Ce9"/> | 2102 | <viewControllerLayoutGuide type="top" id="FeX-3m-Ce9"/> |
2103 | <viewControllerLayoutGuide type="bottom" id="xWV-Cn-y2o"/> | 2103 | <viewControllerLayoutGuide type="bottom" id="xWV-Cn-y2o"/> |
2104 | </layoutGuides> | 2104 | </layoutGuides> |
2105 | <view key="view" contentMode="scaleToFill" id="NGI-9p-0vE"> | 2105 | <view key="view" contentMode="scaleToFill" id="NGI-9p-0vE"> |
2106 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 2106 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
2107 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 2107 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
2108 | <subviews> | 2108 | <subviews> |
2109 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="fFm-d5-FRw"> | 2109 | <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="fFm-d5-FRw"> |
2110 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 2110 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
2111 | </imageView> | 2111 | </imageView> |
2112 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ORm-9T-s97" customClass="UIButtonCustom" customModule="GeneralUtils"> | 2112 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ORm-9T-s97" customClass="UIButtonCustom" customModule="GeneralUtils"> |
2113 | <rect key="frame" x="325" y="0.0" width="50" height="50"/> | 2113 | <rect key="frame" x="325" y="0.0" width="50" height="50"/> |
2114 | <constraints> | 2114 | <constraints> |
2115 | <constraint firstAttribute="height" constant="50" id="Wyg-jK-SgC"/> | 2115 | <constraint firstAttribute="height" constant="50" id="Wyg-jK-SgC"/> |
2116 | <constraint firstAttribute="width" constant="50" id="oDz-vK-WXI"/> | 2116 | <constraint firstAttribute="width" constant="50" id="oDz-vK-WXI"/> |
2117 | </constraints> | 2117 | </constraints> |
2118 | <state key="normal" image="close"/> | 2118 | <state key="normal" image="close"/> |
2119 | <userDefinedRuntimeAttributes> | 2119 | <userDefinedRuntimeAttributes> |
2120 | <userDefinedRuntimeAttribute type="number" keyPath="padding"> | 2120 | <userDefinedRuntimeAttribute type="number" keyPath="padding"> |
2121 | <real key="value" value="5"/> | 2121 | <real key="value" value="5"/> |
2122 | </userDefinedRuntimeAttribute> | 2122 | </userDefinedRuntimeAttribute> |
2123 | </userDefinedRuntimeAttributes> | 2123 | </userDefinedRuntimeAttributes> |
2124 | <connections> | 2124 | <connections> |
2125 | <action selector="btnCloseClick:" destination="wEy-gO-NUw" eventType="touchUpInside" id="DZF-lb-KZp"/> | 2125 | <action selector="btnCloseClick:" destination="wEy-gO-NUw" eventType="touchUpInside" id="DZF-lb-KZp"/> |
2126 | </connections> | 2126 | </connections> |
2127 | </button> | 2127 | </button> |
2128 | </subviews> | 2128 | </subviews> |
2129 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 2129 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
2130 | <constraints> | 2130 | <constraints> |
2131 | <constraint firstItem="xWV-Cn-y2o" firstAttribute="top" secondItem="fFm-d5-FRw" secondAttribute="bottom" id="QZS-Ki-Qci"/> | 2131 | <constraint firstItem="xWV-Cn-y2o" firstAttribute="top" secondItem="fFm-d5-FRw" secondAttribute="bottom" id="QZS-Ki-Qci"/> |
2132 | <constraint firstItem="ORm-9T-s97" firstAttribute="top" secondItem="NGI-9p-0vE" secondAttribute="top" id="YM4-Wm-yh9"/> | 2132 | <constraint firstItem="ORm-9T-s97" firstAttribute="top" secondItem="NGI-9p-0vE" secondAttribute="top" id="YM4-Wm-yh9"/> |
2133 | <constraint firstAttribute="trailing" secondItem="ORm-9T-s97" secondAttribute="trailing" id="cMl-yq-Gj2"/> | 2133 | <constraint firstAttribute="trailing" secondItem="ORm-9T-s97" secondAttribute="trailing" id="cMl-yq-Gj2"/> |
2134 | <constraint firstItem="fFm-d5-FRw" firstAttribute="top" secondItem="NGI-9p-0vE" secondAttribute="top" id="h5T-2x-bvc"/> | 2134 | <constraint firstItem="fFm-d5-FRw" firstAttribute="top" secondItem="NGI-9p-0vE" secondAttribute="top" id="h5T-2x-bvc"/> |
2135 | <constraint firstItem="fFm-d5-FRw" firstAttribute="leading" secondItem="NGI-9p-0vE" secondAttribute="leading" id="jyK-pa-J02"/> | 2135 | <constraint firstItem="fFm-d5-FRw" firstAttribute="leading" secondItem="NGI-9p-0vE" secondAttribute="leading" id="jyK-pa-J02"/> |
2136 | <constraint firstAttribute="trailing" secondItem="fFm-d5-FRw" secondAttribute="trailing" id="o5A-AN-DIE"/> | 2136 | <constraint firstAttribute="trailing" secondItem="fFm-d5-FRw" secondAttribute="trailing" id="o5A-AN-DIE"/> |
2137 | </constraints> | 2137 | </constraints> |
2138 | </view> | 2138 | </view> |
2139 | <connections> | 2139 | <connections> |
2140 | <outlet property="imv" destination="fFm-d5-FRw" id="at1-tg-XdP"/> | 2140 | <outlet property="imv" destination="fFm-d5-FRw" id="at1-tg-XdP"/> |
2141 | </connections> | 2141 | </connections> |
2142 | </viewController> | 2142 | </viewController> |
2143 | <placeholder placeholderIdentifier="IBFirstResponder" id="KLi-Jf-zVj" userLabel="First Responder" sceneMemberID="firstResponder"/> | 2143 | <placeholder placeholderIdentifier="IBFirstResponder" id="KLi-Jf-zVj" userLabel="First Responder" sceneMemberID="firstResponder"/> |
2144 | </objects> | 2144 | </objects> |
2145 | <point key="canvasLocation" x="1596" y="1310.1949025487258"/> | 2145 | <point key="canvasLocation" x="1596" y="1310.1949025487258"/> |
2146 | </scene> | 2146 | </scene> |
2147 | <!--Vc List Person--> | 2147 | <!--Vc List Person--> |
2148 | <scene sceneID="7VX-Vh-sYJ"> | 2148 | <scene sceneID="7VX-Vh-sYJ"> |
2149 | <objects> | 2149 | <objects> |
2150 | <viewController storyboardIdentifier="VcListPerson" useStoryboardIdentifierAsRestorationIdentifier="YES" id="DMx-7y-MT4" customClass="VcListPerson" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> | 2150 | <viewController storyboardIdentifier="VcListPerson" useStoryboardIdentifierAsRestorationIdentifier="YES" id="DMx-7y-MT4" customClass="VcListPerson" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> |
2151 | <layoutGuides> | 2151 | <layoutGuides> |
2152 | <viewControllerLayoutGuide type="top" id="3yL-jh-44Y"/> | 2152 | <viewControllerLayoutGuide type="top" id="3yL-jh-44Y"/> |
2153 | <viewControllerLayoutGuide type="bottom" id="1eR-Cn-Wa2"/> | 2153 | <viewControllerLayoutGuide type="bottom" id="1eR-Cn-Wa2"/> |
2154 | </layoutGuides> | 2154 | </layoutGuides> |
2155 | <view key="view" contentMode="scaleToFill" id="woe-P0-vaC"> | 2155 | <view key="view" contentMode="scaleToFill" id="woe-P0-vaC"> |
2156 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 2156 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
2157 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 2157 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
2158 | <subviews> | 2158 | <subviews> |
2159 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kFY-3v-tIq" customClass="VTopLogo" customModule="App" customModuleProvider="target"> | 2159 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kFY-3v-tIq" customClass="VTopLogo" customModule="App" customModuleProvider="target"> |
2160 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | 2160 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> |
2161 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 2161 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
2162 | <constraints> | 2162 | <constraints> |
2163 | <constraint firstAttribute="height" constant="50" id="anJ-KS-xta"/> | 2163 | <constraint firstAttribute="height" constant="50" id="anJ-KS-xta"/> |
2164 | </constraints> | 2164 | </constraints> |
2165 | </view> | 2165 | </view> |
2166 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="z5H-fI-eXr"> | 2166 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="z5H-fI-eXr"> |
2167 | <rect key="frame" x="144" y="80" width="87" height="20.5"/> | 2167 | <rect key="frame" x="144" y="80" width="87" height="20.5"/> |
2168 | <string key="text">施工者一覧 | 2168 | <string key="text">施工者一覧 |
2169 | </string> | 2169 | </string> |
2170 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 2170 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
2171 | <nil key="textColor"/> | 2171 | <nil key="textColor"/> |
2172 | <nil key="highlightedColor"/> | 2172 | <nil key="highlightedColor"/> |
2173 | </label> | 2173 | </label> |
2174 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="wwZ-zq-bUh" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 2174 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="wwZ-zq-bUh" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
2175 | <rect key="frame" x="80" y="603" width="219" height="48"/> | 2175 | <rect key="frame" x="80" y="603" width="219" height="48"/> |
2176 | <constraints> | 2176 | <constraints> |
2177 | <constraint firstAttribute="width" constant="219" id="rcM-Cj-DSn"/> | 2177 | <constraint firstAttribute="width" constant="219" id="rcM-Cj-DSn"/> |
2178 | <constraint firstAttribute="height" constant="48" id="vhg-uL-Mlm"/> | 2178 | <constraint firstAttribute="height" constant="48" id="vhg-uL-Mlm"/> |
2179 | </constraints> | 2179 | </constraints> |
2180 | <state key="normal"> | 2180 | <state key="normal"> |
2181 | <string key="title">施工者を追加する | 2181 | <string key="title">施工者を追加する |
2182 | </string> | 2182 | </string> |
2183 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 2183 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
2184 | </state> | 2184 | </state> |
2185 | <userDefinedRuntimeAttributes> | 2185 | <userDefinedRuntimeAttributes> |
2186 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 2186 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
2187 | <real key="value" value="5"/> | 2187 | <real key="value" value="5"/> |
2188 | </userDefinedRuntimeAttribute> | 2188 | </userDefinedRuntimeAttribute> |
2189 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 2189 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
2190 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 2190 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
2191 | </userDefinedRuntimeAttribute> | 2191 | </userDefinedRuntimeAttribute> |
2192 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 2192 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
2193 | <real key="value" value="1"/> | 2193 | <real key="value" value="1"/> |
2194 | </userDefinedRuntimeAttribute> | 2194 | </userDefinedRuntimeAttribute> |
2195 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 2195 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
2196 | </userDefinedRuntimeAttributes> | 2196 | </userDefinedRuntimeAttributes> |
2197 | <connections> | 2197 | <connections> |
2198 | <action selector="btnAddClick:" destination="DMx-7y-MT4" eventType="touchUpInside" id="STi-o7-Zp4"/> | 2198 | <action selector="btnAddClick:" destination="DMx-7y-MT4" eventType="touchUpInside" id="STi-o7-Zp4"/> |
2199 | </connections> | 2199 | </connections> |
2200 | </button> | 2200 | </button> |
2201 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="qty-gf-8II"> | 2201 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="qty-gf-8II"> |
2202 | <rect key="frame" x="46" y="498" width="283" height="85"/> | 2202 | <rect key="frame" x="46" y="498" width="283" height="85"/> |
2203 | <subviews> | 2203 | <subviews> |
2204 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qS0-cv-Ga6"> | 2204 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qS0-cv-Ga6"> |
2205 | <rect key="frame" x="0.0" y="0.0" width="283" height="24"/> | 2205 | <rect key="frame" x="0.0" y="0.0" width="283" height="24"/> |
2206 | <subviews> | 2206 | <subviews> |
2207 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3Kr-ux-Sn0"> | 2207 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3Kr-ux-Sn0"> |
2208 | <rect key="frame" x="0.0" y="0.0" width="233" height="24"/> | 2208 | <rect key="frame" x="0.0" y="0.0" width="233" height="24"/> |
2209 | <string key="text">作業管理者 最大数 | 2209 | <string key="text">作業管理者 最大数 |
2210 | </string> | 2210 | </string> |
2211 | <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/> | 2211 | <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/> |
2212 | <nil key="textColor"/> | 2212 | <nil key="textColor"/> |
2213 | <nil key="highlightedColor"/> | 2213 | <nil key="highlightedColor"/> |
2214 | </label> | 2214 | </label> |
2215 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="5" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DAh-NQ-ebM"> | 2215 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="5" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DAh-NQ-ebM"> |
2216 | <rect key="frame" x="233" y="0.0" width="20" height="24"/> | 2216 | <rect key="frame" x="233" y="0.0" width="20" height="24"/> |
2217 | <constraints> | 2217 | <constraints> |
2218 | <constraint firstAttribute="width" constant="20" id="wp9-Yv-lEb"/> | 2218 | <constraint firstAttribute="width" constant="20" id="wp9-Yv-lEb"/> |
2219 | </constraints> | 2219 | </constraints> |
2220 | <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/> | 2220 | <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/> |
2221 | <nil key="textColor"/> | 2221 | <nil key="textColor"/> |
2222 | <nil key="highlightedColor"/> | 2222 | <nil key="highlightedColor"/> |
2223 | </label> | 2223 | </label> |
2224 | <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ozm-WD-JTO"> | 2224 | <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ozm-WD-JTO"> |
2225 | <rect key="frame" x="253" y="0.0" width="30" height="24"/> | 2225 | <rect key="frame" x="253" y="0.0" width="30" height="24"/> |
2226 | <constraints> | 2226 | <constraints> |
2227 | <constraint firstAttribute="width" constant="30" id="zXd-nh-N5a"/> | 2227 | <constraint firstAttribute="width" constant="30" id="zXd-nh-N5a"/> |
2228 | </constraints> | 2228 | </constraints> |
2229 | <state key="normal" image="add_icon"/> | 2229 | <state key="normal" image="add_icon"/> |
2230 | <connections> | 2230 | <connections> |
2231 | <segue destination="f8M-ZA-E6R" kind="show" id="dcs-Ih-hxs"/> | 2231 | <segue destination="f8M-ZA-E6R" kind="show" id="dcs-Ih-hxs"/> |
2232 | </connections> | 2232 | </connections> |
2233 | </button> | 2233 | </button> |
2234 | </subviews> | 2234 | </subviews> |
2235 | </stackView> | 2235 | </stackView> |
2236 | <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="4hr-7W-RNC"> | 2236 | <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="4hr-7W-RNC"> |
2237 | <rect key="frame" x="0.0" y="34" width="283" height="20.5"/> | 2237 | <rect key="frame" x="0.0" y="34" width="283" height="20.5"/> |
2238 | <subviews> | 2238 | <subviews> |
2239 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HDp-uz-Egn"> | 2239 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HDp-uz-Egn"> |
2240 | <rect key="frame" x="0.0" y="0.0" width="258" height="20.5"/> | 2240 | <rect key="frame" x="0.0" y="0.0" width="258" height="20.5"/> |
2241 | <string key="text">作業管理者 現在数 | 2241 | <string key="text">作業管理者 現在数 |
2242 | </string> | 2242 | </string> |
2243 | <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/> | 2243 | <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/> |
2244 | <nil key="textColor"/> | 2244 | <nil key="textColor"/> |
2245 | <nil key="highlightedColor"/> | 2245 | <nil key="highlightedColor"/> |
2246 | </label> | 2246 | </label> |
2247 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="4" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="j6i-sN-ZMd"> | 2247 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="4" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="j6i-sN-ZMd"> |
2248 | <rect key="frame" x="263" y="0.0" width="20" height="20.5"/> | 2248 | <rect key="frame" x="263" y="0.0" width="20" height="20.5"/> |
2249 | <constraints> | 2249 | <constraints> |
2250 | <constraint firstAttribute="width" constant="20" id="ofd-0s-uUH"/> | 2250 | <constraint firstAttribute="width" constant="20" id="ofd-0s-uUH"/> |
2251 | </constraints> | 2251 | </constraints> |
2252 | <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/> | 2252 | <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/> |
2253 | <nil key="textColor"/> | 2253 | <nil key="textColor"/> |
2254 | <nil key="highlightedColor"/> | 2254 | <nil key="highlightedColor"/> |
2255 | </label> | 2255 | </label> |
2256 | </subviews> | 2256 | </subviews> |
2257 | </stackView> | 2257 | </stackView> |
2258 | <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="zHA-pK-hTt"> | 2258 | <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="zHA-pK-hTt"> |
2259 | <rect key="frame" x="0.0" y="64.5" width="283" height="20.5"/> | 2259 | <rect key="frame" x="0.0" y="64.5" width="283" height="20.5"/> |
2260 | <subviews> | 2260 | <subviews> |
2261 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5Ju-3t-QYI"> | 2261 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5Ju-3t-QYI"> |
2262 | <rect key="frame" x="0.0" y="0.0" width="258" height="20.5"/> | 2262 | <rect key="frame" x="0.0" y="0.0" width="258" height="20.5"/> |
2263 | <string key="text">作業管理者 残り数 | 2263 | <string key="text">作業管理者 残り数 |
2264 | </string> | 2264 | </string> |
2265 | <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/> | 2265 | <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/> |
2266 | <nil key="textColor"/> | 2266 | <nil key="textColor"/> |
2267 | <nil key="highlightedColor"/> | 2267 | <nil key="highlightedColor"/> |
2268 | </label> | 2268 | </label> |
2269 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="N0J-Ic-xqH"> | 2269 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="N0J-Ic-xqH"> |
2270 | <rect key="frame" x="263" y="0.0" width="20" height="20.5"/> | 2270 | <rect key="frame" x="263" y="0.0" width="20" height="20.5"/> |
2271 | <constraints> | 2271 | <constraints> |
2272 | <constraint firstAttribute="width" constant="20" id="aiY-On-Axd"/> | 2272 | <constraint firstAttribute="width" constant="20" id="aiY-On-Axd"/> |
2273 | </constraints> | 2273 | </constraints> |
2274 | <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/> | 2274 | <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/> |
2275 | <nil key="textColor"/> | 2275 | <nil key="textColor"/> |
2276 | <nil key="highlightedColor"/> | 2276 | <nil key="highlightedColor"/> |
2277 | </label> | 2277 | </label> |
2278 | </subviews> | 2278 | </subviews> |
2279 | </stackView> | 2279 | </stackView> |
2280 | </subviews> | 2280 | </subviews> |
2281 | </stackView> | 2281 | </stackView> |
2282 | <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="7sn-LX-TPS" customClass="UITableViewLoadDataFromUIThread" customModule="GeneralUtils"> | 2282 | <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="7sn-LX-TPS" customClass="UITableViewLoadDataFromUIThread" customModule="GeneralUtils"> |
2283 | <rect key="frame" x="30" y="123.5" width="315" height="344.5"/> | 2283 | <rect key="frame" x="30" y="123.5" width="315" height="344.5"/> |
2284 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 2284 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
2285 | <prototypes> | 2285 | <prototypes> |
2286 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="CellPerson" id="nHp-pE-xAT" customClass="CellPerson" customModule="App" customModuleProvider="target"> | 2286 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="CellPerson" id="nHp-pE-xAT" customClass="CellPerson" customModule="App" customModuleProvider="target"> |
2287 | <rect key="frame" x="0.0" y="28" width="315" height="44"/> | 2287 | <rect key="frame" x="0.0" y="28" width="315" height="44"/> |
2288 | <autoresizingMask key="autoresizingMask"/> | 2288 | <autoresizingMask key="autoresizingMask"/> |
2289 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="nHp-pE-xAT" id="ONP-wK-o5X"> | 2289 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="nHp-pE-xAT" id="ONP-wK-o5X"> |
2290 | <rect key="frame" x="0.0" y="0.0" width="315" height="44"/> | 2290 | <rect key="frame" x="0.0" y="0.0" width="315" height="43"/> |
2291 | <autoresizingMask key="autoresizingMask"/> | 2291 | <autoresizingMask key="autoresizingMask"/> |
2292 | <subviews> | 2292 | <subviews> |
2293 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6eU-CX-rj2"> | 2293 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6eU-CX-rj2"> |
2294 | <rect key="frame" x="10" y="10" width="295" height="23"/> | 2294 | <rect key="frame" x="10" y="10" width="295" height="23"/> |
2295 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 2295 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
2296 | <nil key="textColor"/> | 2296 | <nil key="textColor"/> |
2297 | <nil key="highlightedColor"/> | 2297 | <nil key="highlightedColor"/> |
2298 | </label> | 2298 | </label> |
2299 | </subviews> | 2299 | </subviews> |
2300 | <constraints> | 2300 | <constraints> |
2301 | <constraint firstItem="6eU-CX-rj2" firstAttribute="leading" secondItem="ONP-wK-o5X" secondAttribute="leading" constant="10" id="beA-qD-ojc"/> | 2301 | <constraint firstItem="6eU-CX-rj2" firstAttribute="leading" secondItem="ONP-wK-o5X" secondAttribute="leading" constant="10" id="beA-qD-ojc"/> |
2302 | <constraint firstAttribute="bottom" secondItem="6eU-CX-rj2" secondAttribute="bottom" constant="10" id="ojS-Ly-c34"/> | 2302 | <constraint firstAttribute="bottom" secondItem="6eU-CX-rj2" secondAttribute="bottom" constant="10" id="ojS-Ly-c34"/> |
2303 | <constraint firstAttribute="trailing" secondItem="6eU-CX-rj2" secondAttribute="trailing" constant="10" id="qjZ-5m-p4F"/> | 2303 | <constraint firstAttribute="trailing" secondItem="6eU-CX-rj2" secondAttribute="trailing" constant="10" id="qjZ-5m-p4F"/> |
2304 | <constraint firstItem="6eU-CX-rj2" firstAttribute="top" secondItem="ONP-wK-o5X" secondAttribute="top" constant="10" id="r75-k7-Tzn"/> | 2304 | <constraint firstItem="6eU-CX-rj2" firstAttribute="top" secondItem="ONP-wK-o5X" secondAttribute="top" constant="10" id="r75-k7-Tzn"/> |
2305 | </constraints> | 2305 | </constraints> |
2306 | </tableViewCellContentView> | 2306 | </tableViewCellContentView> |
2307 | <connections> | 2307 | <connections> |
2308 | <outlet property="tvTitle" destination="6eU-CX-rj2" id="Iwr-ve-YrS"/> | 2308 | <outlet property="tvTitle" destination="6eU-CX-rj2" id="Iwr-ve-YrS"/> |
2309 | </connections> | 2309 | </connections> |
2310 | </tableViewCell> | 2310 | </tableViewCell> |
2311 | </prototypes> | 2311 | </prototypes> |
2312 | </tableView> | 2312 | </tableView> |
2313 | </subviews> | 2313 | </subviews> |
2314 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 2314 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
2315 | <constraints> | 2315 | <constraints> |
2316 | <constraint firstItem="z5H-fI-eXr" firstAttribute="centerX" secondItem="woe-P0-vaC" secondAttribute="centerX" id="BfF-rL-Tkb"/> | 2316 | <constraint firstItem="z5H-fI-eXr" firstAttribute="centerX" secondItem="woe-P0-vaC" secondAttribute="centerX" id="BfF-rL-Tkb"/> |
2317 | <constraint firstItem="wwZ-zq-bUh" firstAttribute="top" secondItem="qty-gf-8II" secondAttribute="bottom" constant="20" id="EXs-4D-Mq6"/> | 2317 | <constraint firstItem="wwZ-zq-bUh" firstAttribute="top" secondItem="qty-gf-8II" secondAttribute="bottom" constant="20" id="EXs-4D-Mq6"/> |
2318 | <constraint firstItem="wwZ-zq-bUh" firstAttribute="centerX" secondItem="woe-P0-vaC" secondAttribute="centerX" constant="2" id="FQO-4A-dMc"/> | 2318 | <constraint firstItem="wwZ-zq-bUh" firstAttribute="centerX" secondItem="woe-P0-vaC" secondAttribute="centerX" constant="2" id="FQO-4A-dMc"/> |
2319 | <constraint firstItem="1eR-Cn-Wa2" firstAttribute="top" secondItem="wwZ-zq-bUh" secondAttribute="bottom" constant="16" id="HK2-x3-z06"/> | 2319 | <constraint firstItem="1eR-Cn-Wa2" firstAttribute="top" secondItem="wwZ-zq-bUh" secondAttribute="bottom" constant="16" id="HK2-x3-z06"/> |
2320 | <constraint firstItem="kFY-3v-tIq" firstAttribute="top" secondItem="woe-P0-vaC" secondAttribute="top" id="HTi-xM-f1h"/> | 2320 | <constraint firstItem="kFY-3v-tIq" firstAttribute="top" secondItem="woe-P0-vaC" secondAttribute="top" id="HTi-xM-f1h"/> |
2321 | <constraint firstItem="7sn-LX-TPS" firstAttribute="leading" secondItem="woe-P0-vaC" secondAttribute="leading" constant="30" id="IZk-6G-qt1"/> | 2321 | <constraint firstItem="7sn-LX-TPS" firstAttribute="leading" secondItem="woe-P0-vaC" secondAttribute="leading" constant="30" id="IZk-6G-qt1"/> |
2322 | <constraint firstAttribute="trailing" secondItem="kFY-3v-tIq" secondAttribute="trailing" id="Pld-G0-7Bi"/> | 2322 | <constraint firstAttribute="trailing" secondItem="kFY-3v-tIq" secondAttribute="trailing" id="Pld-G0-7Bi"/> |
2323 | <constraint firstItem="z5H-fI-eXr" firstAttribute="top" secondItem="kFY-3v-tIq" secondAttribute="bottom" constant="30" id="Tdc-ea-qAw"/> | 2323 | <constraint firstItem="z5H-fI-eXr" firstAttribute="top" secondItem="kFY-3v-tIq" secondAttribute="bottom" constant="30" id="Tdc-ea-qAw"/> |
2324 | <constraint firstItem="qty-gf-8II" firstAttribute="top" secondItem="7sn-LX-TPS" secondAttribute="bottom" constant="30" id="UBp-v2-mN0"/> | 2324 | <constraint firstItem="qty-gf-8II" firstAttribute="top" secondItem="7sn-LX-TPS" secondAttribute="bottom" constant="30" id="UBp-v2-mN0"/> |
2325 | <constraint firstAttribute="trailing" secondItem="7sn-LX-TPS" secondAttribute="trailing" constant="30" id="VWf-Ui-Ucq"/> | 2325 | <constraint firstAttribute="trailing" secondItem="7sn-LX-TPS" secondAttribute="trailing" constant="30" id="VWf-Ui-Ucq"/> |
2326 | <constraint firstAttribute="trailingMargin" secondItem="qty-gf-8II" secondAttribute="trailing" constant="30" id="ghF-L2-gGF"/> | 2326 | <constraint firstAttribute="trailingMargin" secondItem="qty-gf-8II" secondAttribute="trailing" constant="30" id="ghF-L2-gGF"/> |
2327 | <constraint firstItem="7sn-LX-TPS" firstAttribute="top" secondItem="z5H-fI-eXr" secondAttribute="bottom" constant="23" id="vmp-Rh-AFr"/> | 2327 | <constraint firstItem="7sn-LX-TPS" firstAttribute="top" secondItem="z5H-fI-eXr" secondAttribute="bottom" constant="23" id="vmp-Rh-AFr"/> |
2328 | <constraint firstItem="kFY-3v-tIq" firstAttribute="leading" secondItem="woe-P0-vaC" secondAttribute="leading" id="xSM-rS-OtL"/> | 2328 | <constraint firstItem="kFY-3v-tIq" firstAttribute="leading" secondItem="woe-P0-vaC" secondAttribute="leading" id="xSM-rS-OtL"/> |
2329 | <constraint firstItem="qty-gf-8II" firstAttribute="leading" secondItem="woe-P0-vaC" secondAttribute="leadingMargin" constant="30" id="y1T-DS-5KH"/> | 2329 | <constraint firstItem="qty-gf-8II" firstAttribute="leading" secondItem="woe-P0-vaC" secondAttribute="leadingMargin" constant="30" id="y1T-DS-5KH"/> |
2330 | </constraints> | 2330 | </constraints> |
2331 | </view> | 2331 | </view> |
2332 | <connections> | 2332 | <connections> |
2333 | <outlet property="tableView" destination="7sn-LX-TPS" id="ztm-MG-Oqz"/> | 2333 | <outlet property="tableView" destination="7sn-LX-TPS" id="ztm-MG-Oqz"/> |
2334 | <outlet property="tvCurrent" destination="j6i-sN-ZMd" id="LCc-fu-IjH"/> | 2334 | <outlet property="tvCurrent" destination="j6i-sN-ZMd" id="LCc-fu-IjH"/> |
2335 | <outlet property="tvMax" destination="DAh-NQ-ebM" id="gcc-Rg-19g"/> | 2335 | <outlet property="tvMax" destination="DAh-NQ-ebM" id="gcc-Rg-19g"/> |
2336 | <outlet property="tvRemaining" destination="N0J-Ic-xqH" id="kCY-rO-t0O"/> | 2336 | <outlet property="tvRemaining" destination="N0J-Ic-xqH" id="kCY-rO-t0O"/> |
2337 | <outlet property="vTopLogo" destination="kFY-3v-tIq" id="H2m-p2-WdW"/> | 2337 | <outlet property="vTopLogo" destination="kFY-3v-tIq" id="H2m-p2-WdW"/> |
2338 | </connections> | 2338 | </connections> |
2339 | </viewController> | 2339 | </viewController> |
2340 | <placeholder placeholderIdentifier="IBFirstResponder" id="kYi-61-Jph" userLabel="First Responder" sceneMemberID="firstResponder"/> | 2340 | <placeholder placeholderIdentifier="IBFirstResponder" id="kYi-61-Jph" userLabel="First Responder" sceneMemberID="firstResponder"/> |
2341 | </objects> | 2341 | </objects> |
2342 | <point key="canvasLocation" x="-972" y="1965.9670164917543"/> | 2342 | <point key="canvasLocation" x="-972" y="1965.9670164917543"/> |
2343 | </scene> | 2343 | </scene> |
2344 | <!--Confirm Id--> | 2344 | <!--Confirm Id--> |
2345 | <scene sceneID="CtP-zK-9mo"> | 2345 | <scene sceneID="CtP-zK-9mo"> |
2346 | <objects> | 2346 | <objects> |
2347 | <viewController storyboardIdentifier="VCConfirmId" useStoryboardIdentifierAsRestorationIdentifier="YES" id="Kft-tp-0x6" customClass="VCConfirmId" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> | 2347 | <viewController storyboardIdentifier="VCConfirmId" useStoryboardIdentifierAsRestorationIdentifier="YES" id="Kft-tp-0x6" customClass="VCConfirmId" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> |
2348 | <layoutGuides> | 2348 | <layoutGuides> |
2349 | <viewControllerLayoutGuide type="top" id="diu-qH-kbN"/> | 2349 | <viewControllerLayoutGuide type="top" id="diu-qH-kbN"/> |
2350 | <viewControllerLayoutGuide type="bottom" id="AJe-Vd-XiX"/> | 2350 | <viewControllerLayoutGuide type="bottom" id="AJe-Vd-XiX"/> |
2351 | </layoutGuides> | 2351 | </layoutGuides> |
2352 | <view key="view" contentMode="scaleToFill" id="myn-ju-cmr"> | 2352 | <view key="view" contentMode="scaleToFill" id="myn-ju-cmr"> |
2353 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 2353 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
2354 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 2354 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
2355 | <subviews> | 2355 | <subviews> |
2356 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Wto-G7-pS1" customClass="VTopLogo" customModule="App" customModuleProvider="target"> | 2356 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Wto-G7-pS1" customClass="VTopLogo" customModule="App" customModuleProvider="target"> |
2357 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | 2357 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> |
2358 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 2358 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
2359 | <constraints> | 2359 | <constraints> |
2360 | <constraint firstAttribute="height" constant="50" id="Kvl-3W-ijp"/> | 2360 | <constraint firstAttribute="height" constant="50" id="Kvl-3W-ijp"/> |
2361 | </constraints> | 2361 | </constraints> |
2362 | </view> | 2362 | </view> |
2363 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="07l-lX-2sO"> | 2363 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="07l-lX-2sO"> |
2364 | <rect key="frame" x="160.5" y="100" width="55.5" height="20.5"/> | 2364 | <rect key="frame" x="160.5" y="100" width="55.5" height="20.5"/> |
2365 | <string key="text">ID 確認 | 2365 | <string key="text">ID 確認 |
2366 | </string> | 2366 | </string> |
2367 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 2367 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
2368 | <nil key="textColor"/> | 2368 | <nil key="textColor"/> |
2369 | <nil key="highlightedColor"/> | 2369 | <nil key="highlightedColor"/> |
2370 | </label> | 2370 | </label> |
2371 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="EZ0-4j-y0g"> | 2371 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="EZ0-4j-y0g"> |
2372 | <rect key="frame" x="46" y="210.5" width="283" height="73.5"/> | 2372 | <rect key="frame" x="46" y="210.5" width="283" height="73.5"/> |
2373 | <subviews> | 2373 | <subviews> |
2374 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ID" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BlA-nE-7ab"> | 2374 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ID" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BlA-nE-7ab"> |
2375 | <rect key="frame" x="0.0" y="0.0" width="283" height="20.5"/> | 2375 | <rect key="frame" x="0.0" y="0.0" width="283" height="20.5"/> |
2376 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 2376 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
2377 | <nil key="textColor"/> | 2377 | <nil key="textColor"/> |
2378 | <nil key="highlightedColor"/> | 2378 | <nil key="highlightedColor"/> |
2379 | </label> | 2379 | </label> |
2380 | <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="bezel" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="lNd-tt-tBz"> | 2380 | <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="bezel" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="lNd-tt-tBz"> |
2381 | <rect key="frame" x="0.0" y="28.5" width="283" height="45"/> | 2381 | <rect key="frame" x="0.0" y="28.5" width="283" height="45"/> |
2382 | <constraints> | 2382 | <constraints> |
2383 | <constraint firstAttribute="height" constant="45" id="mgH-8b-lJR"/> | 2383 | <constraint firstAttribute="height" constant="45" id="mgH-8b-lJR"/> |
2384 | </constraints> | 2384 | </constraints> |
2385 | <nil key="textColor"/> | 2385 | <nil key="textColor"/> |
2386 | <fontDescription key="fontDescription" type="system" pointSize="14"/> | 2386 | <fontDescription key="fontDescription" type="system" pointSize="14"/> |
2387 | <textInputTraits key="textInputTraits" returnKeyType="done"/> | 2387 | <textInputTraits key="textInputTraits" returnKeyType="done"/> |
2388 | <connections> | 2388 | <connections> |
2389 | <action selector="edtActionTrigerClick:" destination="Kft-tp-0x6" eventType="primaryActionTriggered" id="WQm-Cg-WCJ"/> | 2389 | <action selector="edtActionTrigerClick:" destination="Kft-tp-0x6" eventType="primaryActionTriggered" id="WQm-Cg-WCJ"/> |
2390 | </connections> | 2390 | </connections> |
2391 | </textField> | 2391 | </textField> |
2392 | </subviews> | 2392 | </subviews> |
2393 | </stackView> | 2393 | </stackView> |
2394 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yHY-tn-cHS"> | 2394 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yHY-tn-cHS"> |
2395 | <rect key="frame" x="46" y="597" width="283" height="40"/> | 2395 | <rect key="frame" x="46" y="597" width="283" height="40"/> |
2396 | <subviews> | 2396 | <subviews> |
2397 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bUs-eD-HUc" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 2397 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bUs-eD-HUc" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
2398 | <rect key="frame" x="0.0" y="0.0" width="110" height="40"/> | 2398 | <rect key="frame" x="0.0" y="0.0" width="110" height="40"/> |
2399 | <constraints> | 2399 | <constraints> |
2400 | <constraint firstAttribute="height" constant="40" id="h7w-9b-gr5"/> | 2400 | <constraint firstAttribute="height" constant="40" id="h7w-9b-gr5"/> |
2401 | <constraint firstAttribute="width" constant="110" id="mZZ-mW-ePJ"/> | 2401 | <constraint firstAttribute="width" constant="110" id="mZZ-mW-ePJ"/> |
2402 | </constraints> | 2402 | </constraints> |
2403 | <state key="normal"> | 2403 | <state key="normal"> |
2404 | <string key="title">戻る | 2404 | <string key="title">戻る |
2405 | </string> | 2405 | </string> |
2406 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 2406 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
2407 | </state> | 2407 | </state> |
2408 | <userDefinedRuntimeAttributes> | 2408 | <userDefinedRuntimeAttributes> |
2409 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 2409 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
2410 | <real key="value" value="5"/> | 2410 | <real key="value" value="5"/> |
2411 | </userDefinedRuntimeAttribute> | 2411 | </userDefinedRuntimeAttribute> |
2412 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 2412 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
2413 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 2413 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
2414 | </userDefinedRuntimeAttribute> | 2414 | </userDefinedRuntimeAttribute> |
2415 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 2415 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
2416 | <real key="value" value="1"/> | 2416 | <real key="value" value="1"/> |
2417 | </userDefinedRuntimeAttribute> | 2417 | </userDefinedRuntimeAttribute> |
2418 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 2418 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
2419 | </userDefinedRuntimeAttributes> | 2419 | </userDefinedRuntimeAttributes> |
2420 | <connections> | 2420 | <connections> |
2421 | <action selector="btnLeftClick:" destination="Kft-tp-0x6" eventType="touchUpInside" id="CO7-qQ-52F"/> | 2421 | <action selector="btnLeftClick:" destination="Kft-tp-0x6" eventType="touchUpInside" id="CO7-qQ-52F"/> |
2422 | </connections> | 2422 | </connections> |
2423 | </button> | 2423 | </button> |
2424 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="N91-zD-Mo1"> | 2424 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="N91-zD-Mo1"> |
2425 | <rect key="frame" x="110" y="0.0" width="63" height="40"/> | 2425 | <rect key="frame" x="110" y="0.0" width="63" height="40"/> |
2426 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 2426 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
2427 | </view> | 2427 | </view> |
2428 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9ed-tl-OZg" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 2428 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9ed-tl-OZg" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
2429 | <rect key="frame" x="173" y="0.0" width="110" height="40"/> | 2429 | <rect key="frame" x="173" y="0.0" width="110" height="40"/> |
2430 | <constraints> | 2430 | <constraints> |
2431 | <constraint firstAttribute="height" constant="40" id="asa-jY-XvL"/> | 2431 | <constraint firstAttribute="height" constant="40" id="asa-jY-XvL"/> |
2432 | <constraint firstAttribute="width" constant="110" id="dI5-02-rUJ"/> | 2432 | <constraint firstAttribute="width" constant="110" id="dI5-02-rUJ"/> |
2433 | </constraints> | 2433 | </constraints> |
2434 | <state key="normal" title="変化する"> | 2434 | <state key="normal" title="変化する"> |
2435 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 2435 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
2436 | </state> | 2436 | </state> |
2437 | <userDefinedRuntimeAttributes> | 2437 | <userDefinedRuntimeAttributes> |
2438 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 2438 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
2439 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 2439 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
2440 | <real key="value" value="5"/> | 2440 | <real key="value" value="5"/> |
2441 | </userDefinedRuntimeAttribute> | 2441 | </userDefinedRuntimeAttribute> |
2442 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 2442 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
2443 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 2443 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
2444 | </userDefinedRuntimeAttribute> | 2444 | </userDefinedRuntimeAttribute> |
2445 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 2445 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
2446 | <real key="value" value="1"/> | 2446 | <real key="value" value="1"/> |
2447 | </userDefinedRuntimeAttribute> | 2447 | </userDefinedRuntimeAttribute> |
2448 | </userDefinedRuntimeAttributes> | 2448 | </userDefinedRuntimeAttributes> |
2449 | <connections> | 2449 | <connections> |
2450 | <action selector="btnRightClick:" destination="Kft-tp-0x6" eventType="touchUpInside" id="TnI-FA-zmj"/> | 2450 | <action selector="btnRightClick:" destination="Kft-tp-0x6" eventType="touchUpInside" id="TnI-FA-zmj"/> |
2451 | </connections> | 2451 | </connections> |
2452 | </button> | 2452 | </button> |
2453 | </subviews> | 2453 | </subviews> |
2454 | </stackView> | 2454 | </stackView> |
2455 | </subviews> | 2455 | </subviews> |
2456 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 2456 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
2457 | <constraints> | 2457 | <constraints> |
2458 | <constraint firstItem="07l-lX-2sO" firstAttribute="centerX" secondItem="myn-ju-cmr" secondAttribute="centerX" id="2vN-d9-7Js"/> | 2458 | <constraint firstItem="07l-lX-2sO" firstAttribute="centerX" secondItem="myn-ju-cmr" secondAttribute="centerX" id="2vN-d9-7Js"/> |
2459 | <constraint firstItem="07l-lX-2sO" firstAttribute="top" secondItem="Wto-G7-pS1" secondAttribute="bottom" constant="50" id="5BI-XL-YNO"/> | 2459 | <constraint firstItem="07l-lX-2sO" firstAttribute="top" secondItem="Wto-G7-pS1" secondAttribute="bottom" constant="50" id="5BI-XL-YNO"/> |
2460 | <constraint firstItem="Wto-G7-pS1" firstAttribute="leading" secondItem="myn-ju-cmr" secondAttribute="leading" id="Abf-pT-tyU"/> | 2460 | <constraint firstItem="Wto-G7-pS1" firstAttribute="leading" secondItem="myn-ju-cmr" secondAttribute="leading" id="Abf-pT-tyU"/> |
2461 | <constraint firstItem="EZ0-4j-y0g" firstAttribute="leading" secondItem="myn-ju-cmr" secondAttribute="leadingMargin" constant="30" id="HcF-iI-gHx"/> | 2461 | <constraint firstItem="EZ0-4j-y0g" firstAttribute="leading" secondItem="myn-ju-cmr" secondAttribute="leadingMargin" constant="30" id="HcF-iI-gHx"/> |
2462 | <constraint firstAttribute="trailingMargin" secondItem="EZ0-4j-y0g" secondAttribute="trailing" constant="30" id="KbY-xM-YWS"/> | 2462 | <constraint firstAttribute="trailingMargin" secondItem="EZ0-4j-y0g" secondAttribute="trailing" constant="30" id="KbY-xM-YWS"/> |
2463 | <constraint firstItem="AJe-Vd-XiX" firstAttribute="top" secondItem="yHY-tn-cHS" secondAttribute="bottom" constant="30" id="Ke8-RL-dep"/> | 2463 | <constraint firstItem="AJe-Vd-XiX" firstAttribute="top" secondItem="yHY-tn-cHS" secondAttribute="bottom" constant="30" id="Ke8-RL-dep"/> |
2464 | <constraint firstAttribute="trailing" secondItem="Wto-G7-pS1" secondAttribute="trailing" id="Kjd-AV-ujb"/> | 2464 | <constraint firstAttribute="trailing" secondItem="Wto-G7-pS1" secondAttribute="trailing" id="Kjd-AV-ujb"/> |
2465 | <constraint firstItem="Wto-G7-pS1" firstAttribute="top" secondItem="myn-ju-cmr" secondAttribute="top" id="cRN-FM-wrd"/> | 2465 | <constraint firstItem="Wto-G7-pS1" firstAttribute="top" secondItem="myn-ju-cmr" secondAttribute="top" id="cRN-FM-wrd"/> |
2466 | <constraint firstItem="EZ0-4j-y0g" firstAttribute="top" secondItem="07l-lX-2sO" secondAttribute="bottom" constant="90" id="deU-QQ-HNa"/> | 2466 | <constraint firstItem="EZ0-4j-y0g" firstAttribute="top" secondItem="07l-lX-2sO" secondAttribute="bottom" constant="90" id="deU-QQ-HNa"/> |
2467 | <constraint firstAttribute="trailingMargin" secondItem="yHY-tn-cHS" secondAttribute="trailing" constant="30" id="uOa-vU-EkX"/> | 2467 | <constraint firstAttribute="trailingMargin" secondItem="yHY-tn-cHS" secondAttribute="trailing" constant="30" id="uOa-vU-EkX"/> |
2468 | <constraint firstItem="yHY-tn-cHS" firstAttribute="leading" secondItem="myn-ju-cmr" secondAttribute="leadingMargin" constant="30" id="xOU-Gf-hnl"/> | 2468 | <constraint firstItem="yHY-tn-cHS" firstAttribute="leading" secondItem="myn-ju-cmr" secondAttribute="leadingMargin" constant="30" id="xOU-Gf-hnl"/> |
2469 | </constraints> | 2469 | </constraints> |
2470 | </view> | 2470 | </view> |
2471 | <connections> | 2471 | <connections> |
2472 | <outlet property="edtTitle" destination="lNd-tt-tBz" id="B3n-Gd-9Hq"/> | 2472 | <outlet property="edtTitle" destination="lNd-tt-tBz" id="B3n-Gd-9Hq"/> |
2473 | <outlet property="topMargin" destination="cRN-FM-wrd" id="dye-E1-E27"/> | 2473 | <outlet property="topMargin" destination="cRN-FM-wrd" id="dye-E1-E27"/> |
2474 | <outlet property="vTopLogo" destination="Wto-G7-pS1" id="rvM-Wt-ACY"/> | 2474 | <outlet property="vTopLogo" destination="Wto-G7-pS1" id="rvM-Wt-ACY"/> |
2475 | </connections> | 2475 | </connections> |
2476 | </viewController> | 2476 | </viewController> |
2477 | <placeholder placeholderIdentifier="IBFirstResponder" id="Mwn-4s-PhX" userLabel="First Responder" sceneMemberID="firstResponder"/> | 2477 | <placeholder placeholderIdentifier="IBFirstResponder" id="Mwn-4s-PhX" userLabel="First Responder" sceneMemberID="firstResponder"/> |
2478 | </objects> | 2478 | </objects> |
2479 | <point key="canvasLocation" x="1551" y="1950"/> | 2479 | <point key="canvasLocation" x="1551" y="1950"/> |
2480 | </scene> | 2480 | </scene> |
2481 | <!--Buy Increase Person--> | 2481 | <!--Buy Increase Person--> |
2482 | <scene sceneID="Nqe-YS-dKK"> | 2482 | <scene sceneID="Nqe-YS-dKK"> |
2483 | <objects> | 2483 | <objects> |
2484 | <viewController storyboardIdentifier="VCBuyIncreasePerson" useStoryboardIdentifierAsRestorationIdentifier="YES" id="f8M-ZA-E6R" customClass="VCBuyIncreasePerson" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> | 2484 | <viewController storyboardIdentifier="VCBuyIncreasePerson" useStoryboardIdentifierAsRestorationIdentifier="YES" id="f8M-ZA-E6R" customClass="VCBuyIncreasePerson" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> |
2485 | <layoutGuides> | 2485 | <layoutGuides> |
2486 | <viewControllerLayoutGuide type="top" id="3oR-u0-SB4"/> | 2486 | <viewControllerLayoutGuide type="top" id="3oR-u0-SB4"/> |
2487 | <viewControllerLayoutGuide type="bottom" id="Qx2-1s-eN4"/> | 2487 | <viewControllerLayoutGuide type="bottom" id="Qx2-1s-eN4"/> |
2488 | </layoutGuides> | 2488 | </layoutGuides> |
2489 | <view key="view" contentMode="scaleToFill" id="INv-od-zxo"> | 2489 | <view key="view" contentMode="scaleToFill" id="INv-od-zxo"> |
2490 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 2490 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
2491 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 2491 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
2492 | <subviews> | 2492 | <subviews> |
2493 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1ID-ZT-Ewg" customClass="VTopLogo" customModule="App" customModuleProvider="target"> | 2493 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1ID-ZT-Ewg" customClass="VTopLogo" customModule="App" customModuleProvider="target"> |
2494 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | 2494 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> |
2495 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 2495 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
2496 | <constraints> | 2496 | <constraints> |
2497 | <constraint firstAttribute="height" constant="50" id="r5D-ZQ-AT8"/> | 2497 | <constraint firstAttribute="height" constant="50" id="r5D-ZQ-AT8"/> |
2498 | </constraints> | 2498 | </constraints> |
2499 | </view> | 2499 | </view> |
2500 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JlX-S7-qhi"> | 2500 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JlX-S7-qhi"> |
2501 | <rect key="frame" x="136" y="100" width="104" height="20.5"/> | 2501 | <rect key="frame" x="136" y="100" width="104" height="20.5"/> |
2502 | <string key="text">施工者の追加 | 2502 | <string key="text">施工者の追加 |
2503 | </string> | 2503 | </string> |
2504 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 2504 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
2505 | <nil key="textColor"/> | 2505 | <nil key="textColor"/> |
2506 | <nil key="highlightedColor"/> | 2506 | <nil key="highlightedColor"/> |
2507 | </label> | 2507 | </label> |
2508 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Dz2-QI-cpS" customClass="UIViewCustom" customModule="GeneralUtils"> | 2508 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Dz2-QI-cpS" customClass="UIViewCustom" customModule="GeneralUtils"> |
2509 | <rect key="frame" x="30" y="170.5" width="315" height="103"/> | 2509 | <rect key="frame" x="30" y="170.5" width="315" height="103"/> |
2510 | <subviews> | 2510 | <subviews> |
2511 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="Zb0-S8-gA1"> | 2511 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="Zb0-S8-gA1"> |
2512 | <rect key="frame" x="8" y="8" width="299" height="87"/> | 2512 | <rect key="frame" x="8" y="8" width="299" height="87"/> |
2513 | <subviews> | 2513 | <subviews> |
2514 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="MJK-7Z-ZTH"> | 2514 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="MJK-7Z-ZTH"> |
2515 | <rect key="frame" x="0.0" y="0.0" width="299" height="35"/> | 2515 | <rect key="frame" x="0.0" y="0.0" width="299" height="35"/> |
2516 | <subviews> | 2516 | <subviews> |
2517 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="CKC-Zd-TOb"> | 2517 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="CKC-Zd-TOb"> |
2518 | <rect key="frame" x="0.0" y="0.0" width="209" height="35"/> | 2518 | <rect key="frame" x="0.0" y="0.0" width="209" height="35"/> |
2519 | <string key="text">5名追加 | 2519 | <string key="text">5名追加 |
2520 | </string> | 2520 | </string> |
2521 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 2521 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
2522 | <nil key="textColor"/> | 2522 | <nil key="textColor"/> |
2523 | <nil key="highlightedColor"/> | 2523 | <nil key="highlightedColor"/> |
2524 | </label> | 2524 | </label> |
2525 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="06r-IP-TCt" customClass="UIButtonCustom" customModule="GeneralUtils"> | 2525 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="06r-IP-TCt" customClass="UIButtonCustom" customModule="GeneralUtils"> |
2526 | <rect key="frame" x="209" y="0.0" width="90" height="35"/> | 2526 | <rect key="frame" x="209" y="0.0" width="90" height="35"/> |
2527 | <color key="backgroundColor" red="0.29803921568627451" green="0.63137254901960782" blue="0.29019607843137252" alpha="1" colorSpace="calibratedRGB"/> | 2527 | <color key="backgroundColor" red="0.29803921568627451" green="0.63137254901960782" blue="0.29019607843137252" alpha="1" colorSpace="calibratedRGB"/> |
2528 | <constraints> | 2528 | <constraints> |
2529 | <constraint firstAttribute="height" constant="35" id="9wk-oB-dRk"/> | 2529 | <constraint firstAttribute="height" constant="35" id="9wk-oB-dRk"/> |
2530 | <constraint firstAttribute="width" constant="90" id="Dxg-WY-LPz"/> | 2530 | <constraint firstAttribute="width" constant="90" id="Dxg-WY-LPz"/> |
2531 | </constraints> | 2531 | </constraints> |
2532 | <state key="normal" title="3600円"> | 2532 | <state key="normal" title="3600円"> |
2533 | <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 2533 | <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
2534 | </state> | 2534 | </state> |
2535 | <userDefinedRuntimeAttributes> | 2535 | <userDefinedRuntimeAttributes> |
2536 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 2536 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
2537 | <real key="value" value="5"/> | 2537 | <real key="value" value="5"/> |
2538 | </userDefinedRuntimeAttribute> | 2538 | </userDefinedRuntimeAttribute> |
2539 | </userDefinedRuntimeAttributes> | 2539 | </userDefinedRuntimeAttributes> |
2540 | </button> | 2540 | </button> |
2541 | </subviews> | 2541 | </subviews> |
2542 | </stackView> | 2542 | </stackView> |
2543 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uhO-75-ght"> | 2543 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uhO-75-ght"> |
2544 | <rect key="frame" x="0.0" y="43" width="299" height="1"/> | 2544 | <rect key="frame" x="0.0" y="43" width="299" height="1"/> |
2545 | <color key="backgroundColor" red="0.14901960780000001" green="0.14901960780000001" blue="0.14901960780000001" alpha="1" colorSpace="calibratedRGB"/> | 2545 | <color key="backgroundColor" red="0.14901960780000001" green="0.14901960780000001" blue="0.14901960780000001" alpha="1" colorSpace="calibratedRGB"/> |
2546 | <constraints> | 2546 | <constraints> |
2547 | <constraint firstAttribute="height" constant="1" id="1TF-AD-D2C"/> | 2547 | <constraint firstAttribute="height" constant="1" id="1TF-AD-D2C"/> |
2548 | </constraints> | 2548 | </constraints> |
2549 | </view> | 2549 | </view> |
2550 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="JqM-Ko-RUA"> | 2550 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="JqM-Ko-RUA"> |
2551 | <rect key="frame" x="0.0" y="52" width="299" height="35"/> | 2551 | <rect key="frame" x="0.0" y="52" width="299" height="35"/> |
2552 | <subviews> | 2552 | <subviews> |
2553 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kTQ-0e-eyA"> | 2553 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kTQ-0e-eyA"> |
2554 | <rect key="frame" x="0.0" y="0.0" width="209" height="35"/> | 2554 | <rect key="frame" x="0.0" y="0.0" width="209" height="35"/> |
2555 | <string key="text">10名追加 | 2555 | <string key="text">10名追加 |
2556 | </string> | 2556 | </string> |
2557 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 2557 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
2558 | <nil key="textColor"/> | 2558 | <nil key="textColor"/> |
2559 | <nil key="highlightedColor"/> | 2559 | <nil key="highlightedColor"/> |
2560 | </label> | 2560 | </label> |
2561 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Tgm-uR-8LS" customClass="UIButtonCustom" customModule="GeneralUtils"> | 2561 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Tgm-uR-8LS" customClass="UIButtonCustom" customModule="GeneralUtils"> |
2562 | <rect key="frame" x="209" y="0.0" width="90" height="35"/> | 2562 | <rect key="frame" x="209" y="0.0" width="90" height="35"/> |
2563 | <color key="backgroundColor" red="0.29803921570000003" green="0.63137254899999995" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/> | 2563 | <color key="backgroundColor" red="0.29803921570000003" green="0.63137254899999995" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/> |
2564 | <constraints> | 2564 | <constraints> |
2565 | <constraint firstAttribute="height" constant="35" id="jnn-88-b2w"/> | 2565 | <constraint firstAttribute="height" constant="35" id="jnn-88-b2w"/> |
2566 | <constraint firstAttribute="width" constant="90" id="oRx-0X-aX2"/> | 2566 | <constraint firstAttribute="width" constant="90" id="oRx-0X-aX2"/> |
2567 | </constraints> | 2567 | </constraints> |
2568 | <state key="normal"> | 2568 | <state key="normal"> |
2569 | <string key="title">7000円 | 2569 | <string key="title">7000円 |
2570 | </string> | 2570 | </string> |
2571 | <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 2571 | <color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
2572 | </state> | 2572 | </state> |
2573 | <userDefinedRuntimeAttributes> | 2573 | <userDefinedRuntimeAttributes> |
2574 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 2574 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
2575 | <real key="value" value="5"/> | 2575 | <real key="value" value="5"/> |
2576 | </userDefinedRuntimeAttribute> | 2576 | </userDefinedRuntimeAttribute> |
2577 | </userDefinedRuntimeAttributes> | 2577 | </userDefinedRuntimeAttributes> |
2578 | </button> | 2578 | </button> |
2579 | </subviews> | 2579 | </subviews> |
2580 | </stackView> | 2580 | </stackView> |
2581 | </subviews> | 2581 | </subviews> |
2582 | </stackView> | 2582 | </stackView> |
2583 | </subviews> | 2583 | </subviews> |
2584 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 2584 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
2585 | <constraints> | 2585 | <constraints> |
2586 | <constraint firstItem="Zb0-S8-gA1" firstAttribute="leading" secondItem="Dz2-QI-cpS" secondAttribute="leading" constant="8" id="8y2-PU-mhH"/> | 2586 | <constraint firstItem="Zb0-S8-gA1" firstAttribute="leading" secondItem="Dz2-QI-cpS" secondAttribute="leading" constant="8" id="8y2-PU-mhH"/> |
2587 | <constraint firstAttribute="bottom" secondItem="Zb0-S8-gA1" secondAttribute="bottom" constant="8" id="co6-D5-3wZ"/> | 2587 | <constraint firstAttribute="bottom" secondItem="Zb0-S8-gA1" secondAttribute="bottom" constant="8" id="co6-D5-3wZ"/> |
2588 | <constraint firstItem="Zb0-S8-gA1" firstAttribute="top" secondItem="Dz2-QI-cpS" secondAttribute="top" constant="8" id="slr-Lm-nmc"/> | 2588 | <constraint firstItem="Zb0-S8-gA1" firstAttribute="top" secondItem="Dz2-QI-cpS" secondAttribute="top" constant="8" id="slr-Lm-nmc"/> |
2589 | <constraint firstAttribute="trailing" secondItem="Zb0-S8-gA1" secondAttribute="trailing" constant="8" id="vKW-2s-Nzd"/> | 2589 | <constraint firstAttribute="trailing" secondItem="Zb0-S8-gA1" secondAttribute="trailing" constant="8" id="vKW-2s-Nzd"/> |
2590 | </constraints> | 2590 | </constraints> |
2591 | <userDefinedRuntimeAttributes> | 2591 | <userDefinedRuntimeAttributes> |
2592 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 2592 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
2593 | <real key="value" value="2"/> | 2593 | <real key="value" value="2"/> |
2594 | </userDefinedRuntimeAttribute> | 2594 | </userDefinedRuntimeAttribute> |
2595 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 2595 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
2596 | <real key="value" value="1"/> | 2596 | <real key="value" value="1"/> |
2597 | </userDefinedRuntimeAttribute> | 2597 | </userDefinedRuntimeAttribute> |
2598 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 2598 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
2599 | <color key="value" red="0.14901960780000001" green="0.14901960780000001" blue="0.14901960780000001" alpha="1" colorSpace="calibratedRGB"/> | 2599 | <color key="value" red="0.14901960780000001" green="0.14901960780000001" blue="0.14901960780000001" alpha="1" colorSpace="calibratedRGB"/> |
2600 | </userDefinedRuntimeAttribute> | 2600 | </userDefinedRuntimeAttribute> |
2601 | </userDefinedRuntimeAttributes> | 2601 | </userDefinedRuntimeAttributes> |
2602 | </view> | 2602 | </view> |
2603 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="iq9-HV-HVW"> | 2603 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="iq9-HV-HVW"> |
2604 | <rect key="frame" x="30" y="293.5" width="315" height="31"/> | 2604 | <rect key="frame" x="30" y="293.5" width="315" height="31"/> |
2605 | <subviews> | 2605 | <subviews> |
2606 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bb0-aU-Z4w"> | 2606 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bb0-aU-Z4w"> |
2607 | <rect key="frame" x="0.0" y="0.0" width="266" height="31"/> | 2607 | <rect key="frame" x="0.0" y="0.0" width="266" height="31"/> |
2608 | <string key="text">月額自動申し込みする | 2608 | <string key="text">月額自動申し込みする |
2609 | </string> | 2609 | </string> |
2610 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 2610 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
2611 | <nil key="textColor"/> | 2611 | <nil key="textColor"/> |
2612 | <nil key="highlightedColor"/> | 2612 | <nil key="highlightedColor"/> |
2613 | </label> | 2613 | </label> |
2614 | <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6AG-eB-W1j"> | 2614 | <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6AG-eB-W1j"> |
2615 | <rect key="frame" x="266" y="0.0" width="51" height="31"/> | 2615 | <rect key="frame" x="266" y="0.0" width="51" height="31"/> |
2616 | </switch> | 2616 | </switch> |
2617 | </subviews> | 2617 | </subviews> |
2618 | </stackView> | 2618 | </stackView> |
2619 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="A6Q-VP-yd4"> | 2619 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="A6Q-VP-yd4"> |
2620 | <rect key="frame" x="30" y="344.5" width="315" height="20.5"/> | 2620 | <rect key="frame" x="30" y="344.5" width="315" height="20.5"/> |
2621 | <subviews> | 2621 | <subviews> |
2622 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="95Q-pS-E6L"> | 2622 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="95Q-pS-E6L"> |
2623 | <rect key="frame" x="0.0" y="0.0" width="287.5" height="20.5"/> | 2623 | <rect key="frame" x="0.0" y="0.0" width="287.5" height="20.5"/> |
2624 | <string key="text">現在の作業員数 | 2624 | <string key="text">現在の作業員数 |
2625 | </string> | 2625 | </string> |
2626 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 2626 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
2627 | <nil key="textColor"/> | 2627 | <nil key="textColor"/> |
2628 | <nil key="highlightedColor"/> | 2628 | <nil key="highlightedColor"/> |
2629 | </label> | 2629 | </label> |
2630 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1Jw-Hz-bFX"> | 2630 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1Jw-Hz-bFX"> |
2631 | <rect key="frame" x="287.5" y="0.0" width="27.5" height="20.5"/> | 2631 | <rect key="frame" x="287.5" y="0.0" width="27.5" height="20.5"/> |
2632 | <string key="text">5名 | 2632 | <string key="text">5名 |
2633 | </string> | 2633 | </string> |
2634 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 2634 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
2635 | <nil key="textColor"/> | 2635 | <nil key="textColor"/> |
2636 | <nil key="highlightedColor"/> | 2636 | <nil key="highlightedColor"/> |
2637 | </label> | 2637 | </label> |
2638 | </subviews> | 2638 | </subviews> |
2639 | </stackView> | 2639 | </stackView> |
2640 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="請求書支払いを希望される場合はこちら" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="smS-0H-xUk"> | 2640 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="請求書支払いを希望される場合はこちら" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="smS-0H-xUk"> |
2641 | <rect key="frame" x="30" y="607.5" width="315" height="19.5"/> | 2641 | <rect key="frame" x="30" y="607.5" width="315" height="19.5"/> |
2642 | <fontDescription key="fontDescription" type="system" pointSize="16"/> | 2642 | <fontDescription key="fontDescription" type="system" pointSize="16"/> |
2643 | <color key="textColor" red="0.0" green="0.0" blue="1" alpha="1" colorSpace="calibratedRGB"/> | 2643 | <color key="textColor" red="0.0" green="0.0" blue="1" alpha="1" colorSpace="calibratedRGB"/> |
2644 | <nil key="highlightedColor"/> | 2644 | <nil key="highlightedColor"/> |
2645 | </label> | 2645 | </label> |
2646 | </subviews> | 2646 | </subviews> |
2647 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 2647 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
2648 | <constraints> | 2648 | <constraints> |
2649 | <constraint firstAttribute="trailing" secondItem="smS-0H-xUk" secondAttribute="trailing" constant="30" id="4Qm-WV-ucF"/> | 2649 | <constraint firstAttribute="trailing" secondItem="smS-0H-xUk" secondAttribute="trailing" constant="30" id="4Qm-WV-ucF"/> |
2650 | <constraint firstItem="JlX-S7-qhi" firstAttribute="top" secondItem="1ID-ZT-Ewg" secondAttribute="bottom" constant="50" id="5Ee-Xr-xh8"/> | 2650 | <constraint firstItem="JlX-S7-qhi" firstAttribute="top" secondItem="1ID-ZT-Ewg" secondAttribute="bottom" constant="50" id="5Ee-Xr-xh8"/> |
2651 | <constraint firstItem="smS-0H-xUk" firstAttribute="leading" secondItem="INv-od-zxo" secondAttribute="leading" constant="30" id="IAn-tl-eSn"/> | 2651 | <constraint firstItem="smS-0H-xUk" firstAttribute="leading" secondItem="INv-od-zxo" secondAttribute="leading" constant="30" id="IAn-tl-eSn"/> |
2652 | <constraint firstItem="Qx2-1s-eN4" firstAttribute="top" secondItem="smS-0H-xUk" secondAttribute="bottom" constant="40" id="ITo-Xf-mtb"/> | 2652 | <constraint firstItem="Qx2-1s-eN4" firstAttribute="top" secondItem="smS-0H-xUk" secondAttribute="bottom" constant="40" id="ITo-Xf-mtb"/> |
2653 | <constraint firstItem="iq9-HV-HVW" firstAttribute="leading" secondItem="INv-od-zxo" secondAttribute="leading" constant="30" id="JkJ-1i-iKs"/> | 2653 | <constraint firstItem="iq9-HV-HVW" firstAttribute="leading" secondItem="INv-od-zxo" secondAttribute="leading" constant="30" id="JkJ-1i-iKs"/> |
2654 | <constraint firstItem="1ID-ZT-Ewg" firstAttribute="leading" secondItem="INv-od-zxo" secondAttribute="leading" id="K78-6S-kDE"/> | 2654 | <constraint firstItem="1ID-ZT-Ewg" firstAttribute="leading" secondItem="INv-od-zxo" secondAttribute="leading" id="K78-6S-kDE"/> |
2655 | <constraint firstItem="A6Q-VP-yd4" firstAttribute="top" secondItem="iq9-HV-HVW" secondAttribute="bottom" constant="20" id="MOD-pI-cSf"/> | 2655 | <constraint firstItem="A6Q-VP-yd4" firstAttribute="top" secondItem="iq9-HV-HVW" secondAttribute="bottom" constant="20" id="MOD-pI-cSf"/> |
2656 | <constraint firstAttribute="trailing" secondItem="1ID-ZT-Ewg" secondAttribute="trailing" id="Rlc-qR-NoI"/> | 2656 | <constraint firstAttribute="trailing" secondItem="1ID-ZT-Ewg" secondAttribute="trailing" id="Rlc-qR-NoI"/> |
2657 | <constraint firstItem="1ID-ZT-Ewg" firstAttribute="top" secondItem="INv-od-zxo" secondAttribute="top" id="Vba-g4-KJf"/> | 2657 | <constraint firstItem="1ID-ZT-Ewg" firstAttribute="top" secondItem="INv-od-zxo" secondAttribute="top" id="Vba-g4-KJf"/> |
2658 | <constraint firstAttribute="trailing" secondItem="A6Q-VP-yd4" secondAttribute="trailing" constant="30" id="XxR-nD-ILv"/> | 2658 | <constraint firstAttribute="trailing" secondItem="A6Q-VP-yd4" secondAttribute="trailing" constant="30" id="XxR-nD-ILv"/> |
2659 | <constraint firstItem="Dz2-QI-cpS" firstAttribute="top" secondItem="JlX-S7-qhi" secondAttribute="bottom" constant="50" id="Ycz-cr-fMc"/> | 2659 | <constraint firstItem="Dz2-QI-cpS" firstAttribute="top" secondItem="JlX-S7-qhi" secondAttribute="bottom" constant="50" id="Ycz-cr-fMc"/> |
2660 | <constraint firstItem="Dz2-QI-cpS" firstAttribute="leading" secondItem="INv-od-zxo" secondAttribute="leading" constant="30" id="aun-xC-E88"/> | 2660 | <constraint firstItem="Dz2-QI-cpS" firstAttribute="leading" secondItem="INv-od-zxo" secondAttribute="leading" constant="30" id="aun-xC-E88"/> |
2661 | <constraint firstItem="iq9-HV-HVW" firstAttribute="top" secondItem="Dz2-QI-cpS" secondAttribute="bottom" constant="20" id="bW7-BY-t8V"/> | 2661 | <constraint firstItem="iq9-HV-HVW" firstAttribute="top" secondItem="Dz2-QI-cpS" secondAttribute="bottom" constant="20" id="bW7-BY-t8V"/> |
2662 | <constraint firstAttribute="trailing" secondItem="iq9-HV-HVW" secondAttribute="trailing" constant="30" id="i9R-PJ-vFS"/> | 2662 | <constraint firstAttribute="trailing" secondItem="iq9-HV-HVW" secondAttribute="trailing" constant="30" id="i9R-PJ-vFS"/> |
2663 | <constraint firstItem="A6Q-VP-yd4" firstAttribute="leading" secondItem="INv-od-zxo" secondAttribute="leading" constant="30" id="q2E-ie-7v3"/> | 2663 | <constraint firstItem="A6Q-VP-yd4" firstAttribute="leading" secondItem="INv-od-zxo" secondAttribute="leading" constant="30" id="q2E-ie-7v3"/> |
2664 | <constraint firstAttribute="trailing" secondItem="Dz2-QI-cpS" secondAttribute="trailing" constant="30" id="uGZ-2e-EQb"/> | 2664 | <constraint firstAttribute="trailing" secondItem="Dz2-QI-cpS" secondAttribute="trailing" constant="30" id="uGZ-2e-EQb"/> |
2665 | <constraint firstItem="JlX-S7-qhi" firstAttribute="centerX" secondItem="INv-od-zxo" secondAttribute="centerX" id="vEG-5I-L4x"/> | 2665 | <constraint firstItem="JlX-S7-qhi" firstAttribute="centerX" secondItem="INv-od-zxo" secondAttribute="centerX" id="vEG-5I-L4x"/> |
2666 | </constraints> | 2666 | </constraints> |
2667 | </view> | 2667 | </view> |
2668 | <connections> | 2668 | <connections> |
2669 | <outlet property="topMargin" destination="Vba-g4-KJf" id="ydh-LF-Ick"/> | 2669 | <outlet property="topMargin" destination="Vba-g4-KJf" id="ydh-LF-Ick"/> |
2670 | <outlet property="vTopLogo" destination="1ID-ZT-Ewg" id="pDT-B1-B3T"/> | 2670 | <outlet property="vTopLogo" destination="1ID-ZT-Ewg" id="pDT-B1-B3T"/> |
2671 | </connections> | 2671 | </connections> |
2672 | </viewController> | 2672 | </viewController> |
2673 | <placeholder placeholderIdentifier="IBFirstResponder" id="S1Y-IU-PMx" userLabel="First Responder" sceneMemberID="firstResponder"/> | 2673 | <placeholder placeholderIdentifier="IBFirstResponder" id="S1Y-IU-PMx" userLabel="First Responder" sceneMemberID="firstResponder"/> |
2674 | </objects> | 2674 | </objects> |
2675 | <point key="canvasLocation" x="938.39999999999998" y="1949.7751124437782"/> | 2675 | <point key="canvasLocation" x="938.39999999999998" y="1949.7751124437782"/> |
2676 | </scene> | 2676 | </scene> |
2677 | <!--Add Person--> | 2677 | <!--Add Person--> |
2678 | <scene sceneID="O4p-Jn-66h"> | 2678 | <scene sceneID="O4p-Jn-66h"> |
2679 | <objects> | 2679 | <objects> |
2680 | <viewController storyboardIdentifier="VCAddPerson" useStoryboardIdentifierAsRestorationIdentifier="YES" id="11N-vo-Mt2" customClass="VCAddPerson" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> | 2680 | <viewController storyboardIdentifier="VCAddPerson" useStoryboardIdentifierAsRestorationIdentifier="YES" id="11N-vo-Mt2" customClass="VCAddPerson" customModule="App" customModuleProvider="target" sceneMemberID="viewController"> |
2681 | <layoutGuides> | 2681 | <layoutGuides> |
2682 | <viewControllerLayoutGuide type="top" id="CgH-oh-Oup"/> | 2682 | <viewControllerLayoutGuide type="top" id="CgH-oh-Oup"/> |
2683 | <viewControllerLayoutGuide type="bottom" id="DlE-Ff-ZFx"/> | 2683 | <viewControllerLayoutGuide type="bottom" id="DlE-Ff-ZFx"/> |
2684 | </layoutGuides> | 2684 | </layoutGuides> |
2685 | <view key="view" contentMode="scaleToFill" id="2hA-f8-pa6"> | 2685 | <view key="view" contentMode="scaleToFill" id="2hA-f8-pa6"> |
2686 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | 2686 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
2687 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 2687 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
2688 | <subviews> | 2688 | <subviews> |
2689 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="lqF-Z0-NMO" customClass="VTopLogo" customModule="App" customModuleProvider="target"> | 2689 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="lqF-Z0-NMO" customClass="VTopLogo" customModule="App" customModuleProvider="target"> |
2690 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> | 2690 | <rect key="frame" x="0.0" y="0.0" width="375" height="50"/> |
2691 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 2691 | <color key="backgroundColor" red="0.098039215690000001" green="0.098039215690000001" blue="0.098039215690000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
2692 | <constraints> | 2692 | <constraints> |
2693 | <constraint firstAttribute="height" constant="50" id="2hA-Ij-hDP"/> | 2693 | <constraint firstAttribute="height" constant="50" id="2hA-Ij-hDP"/> |
2694 | </constraints> | 2694 | </constraints> |
2695 | </view> | 2695 | </view> |
2696 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6VM-a2-Ac2"> | 2696 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6VM-a2-Ac2"> |
2697 | <rect key="frame" x="144" y="100" width="87" height="20.5"/> | 2697 | <rect key="frame" x="144" y="100" width="87" height="20.5"/> |
2698 | <string key="text">施工者追加 | 2698 | <string key="text">施工者追加 |
2699 | </string> | 2699 | </string> |
2700 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 2700 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
2701 | <nil key="textColor"/> | 2701 | <nil key="textColor"/> |
2702 | <nil key="highlightedColor"/> | 2702 | <nil key="highlightedColor"/> |
2703 | </label> | 2703 | </label> |
2704 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="Ep6-Gr-6FQ"> | 2704 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="Ep6-Gr-6FQ"> |
2705 | <rect key="frame" x="46" y="210.5" width="283" height="73.5"/> | 2705 | <rect key="frame" x="46" y="210.5" width="283" height="73.5"/> |
2706 | <subviews> | 2706 | <subviews> |
2707 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2c2-CW-QTP"> | 2707 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2c2-CW-QTP"> |
2708 | <rect key="frame" x="0.0" y="0.0" width="283" height="20.5"/> | 2708 | <rect key="frame" x="0.0" y="0.0" width="283" height="20.5"/> |
2709 | <string key="text">施工者ID | 2709 | <string key="text">施工者ID |
2710 | </string> | 2710 | </string> |
2711 | <fontDescription key="fontDescription" type="system" pointSize="17"/> | 2711 | <fontDescription key="fontDescription" type="system" pointSize="17"/> |
2712 | <nil key="textColor"/> | 2712 | <nil key="textColor"/> |
2713 | <nil key="highlightedColor"/> | 2713 | <nil key="highlightedColor"/> |
2714 | </label> | 2714 | </label> |
2715 | <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="bezel" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="KZ7-0o-vdV"> | 2715 | <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="bezel" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="KZ7-0o-vdV"> |
2716 | <rect key="frame" x="0.0" y="28.5" width="283" height="45"/> | 2716 | <rect key="frame" x="0.0" y="28.5" width="283" height="45"/> |
2717 | <constraints> | 2717 | <constraints> |
2718 | <constraint firstAttribute="height" constant="45" id="3u5-R1-byA"/> | 2718 | <constraint firstAttribute="height" constant="45" id="3u5-R1-byA"/> |
2719 | </constraints> | 2719 | </constraints> |
2720 | <nil key="textColor"/> | 2720 | <nil key="textColor"/> |
2721 | <fontDescription key="fontDescription" type="system" pointSize="14"/> | 2721 | <fontDescription key="fontDescription" type="system" pointSize="14"/> |
2722 | <textInputTraits key="textInputTraits" returnKeyType="done"/> | 2722 | <textInputTraits key="textInputTraits" returnKeyType="done"/> |
2723 | <connections> | 2723 | <connections> |
2724 | <action selector="edtActionTrigerClick:" destination="11N-vo-Mt2" eventType="primaryActionTriggered" id="PHo-hR-Zyf"/> | 2724 | <action selector="edtActionTrigerClick:" destination="11N-vo-Mt2" eventType="primaryActionTriggered" id="PHo-hR-Zyf"/> |
2725 | </connections> | 2725 | </connections> |
2726 | </textField> | 2726 | </textField> |
2727 | </subviews> | 2727 | </subviews> |
2728 | </stackView> | 2728 | </stackView> |
2729 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PVp-8X-pgA"> | 2729 | <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PVp-8X-pgA"> |
2730 | <rect key="frame" x="46" y="597" width="283" height="40"/> | 2730 | <rect key="frame" x="46" y="597" width="283" height="40"/> |
2731 | <subviews> | 2731 | <subviews> |
2732 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bp6-xS-Gnm" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 2732 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bp6-xS-Gnm" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
2733 | <rect key="frame" x="0.0" y="0.0" width="110" height="40"/> | 2733 | <rect key="frame" x="0.0" y="0.0" width="110" height="40"/> |
2734 | <constraints> | 2734 | <constraints> |
2735 | <constraint firstAttribute="width" constant="110" id="4Dq-6a-FXf"/> | 2735 | <constraint firstAttribute="width" constant="110" id="4Dq-6a-FXf"/> |
2736 | <constraint firstAttribute="height" constant="40" id="VjG-K9-iij"/> | 2736 | <constraint firstAttribute="height" constant="40" id="VjG-K9-iij"/> |
2737 | </constraints> | 2737 | </constraints> |
2738 | <state key="normal"> | 2738 | <state key="normal"> |
2739 | <string key="title">戻る | 2739 | <string key="title">戻る |
2740 | </string> | 2740 | </string> |
2741 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 2741 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
2742 | </state> | 2742 | </state> |
2743 | <userDefinedRuntimeAttributes> | 2743 | <userDefinedRuntimeAttributes> |
2744 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 2744 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
2745 | <real key="value" value="5"/> | 2745 | <real key="value" value="5"/> |
2746 | </userDefinedRuntimeAttribute> | 2746 | </userDefinedRuntimeAttribute> |
2747 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 2747 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
2748 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 2748 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
2749 | </userDefinedRuntimeAttribute> | 2749 | </userDefinedRuntimeAttribute> |
2750 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 2750 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
2751 | <real key="value" value="1"/> | 2751 | <real key="value" value="1"/> |
2752 | </userDefinedRuntimeAttribute> | 2752 | </userDefinedRuntimeAttribute> |
2753 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 2753 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
2754 | </userDefinedRuntimeAttributes> | 2754 | </userDefinedRuntimeAttributes> |
2755 | <connections> | 2755 | <connections> |
2756 | <action selector="btnLeftClick:" destination="11N-vo-Mt2" eventType="touchUpInside" id="HAg-ns-0b8"/> | 2756 | <action selector="btnLeftClick:" destination="11N-vo-Mt2" eventType="touchUpInside" id="HAg-ns-0b8"/> |
2757 | </connections> | 2757 | </connections> |
2758 | </button> | 2758 | </button> |
2759 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KS2-QE-Pd3"> | 2759 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KS2-QE-Pd3"> |
2760 | <rect key="frame" x="110" y="0.0" width="63" height="40"/> | 2760 | <rect key="frame" x="110" y="0.0" width="63" height="40"/> |
2761 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> | 2761 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> |
2762 | </view> | 2762 | </view> |
2763 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="blc-Ei-4AU" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> | 2763 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="blc-Ei-4AU" customClass="UIButtonCustomGradientBg" customModule="GeneralUtils"> |
2764 | <rect key="frame" x="173" y="0.0" width="110" height="40"/> | 2764 | <rect key="frame" x="173" y="0.0" width="110" height="40"/> |
2765 | <constraints> | 2765 | <constraints> |
2766 | <constraint firstAttribute="height" constant="40" id="4kY-UD-RR3"/> | 2766 | <constraint firstAttribute="height" constant="40" id="4kY-UD-RR3"/> |
2767 | <constraint firstAttribute="width" constant="110" id="qU8-Ho-hLL"/> | 2767 | <constraint firstAttribute="width" constant="110" id="qU8-Ho-hLL"/> |
2768 | </constraints> | 2768 | </constraints> |
2769 | <state key="normal"> | 2769 | <state key="normal"> |
2770 | <string key="title">追加 | 2770 | <string key="title">追加 |
2771 | </string> | 2771 | </string> |
2772 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> | 2772 | <color key="titleColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> |
2773 | </state> | 2773 | </state> |
2774 | <userDefinedRuntimeAttributes> | 2774 | <userDefinedRuntimeAttributes> |
2775 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> | 2775 | <userDefinedRuntimeAttribute type="boolean" keyPath="diagonalMode" value="YES"/> |
2776 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> | 2776 | <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius"> |
2777 | <real key="value" value="5"/> | 2777 | <real key="value" value="5"/> |
2778 | </userDefinedRuntimeAttribute> | 2778 | </userDefinedRuntimeAttribute> |
2779 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> | 2779 | <userDefinedRuntimeAttribute type="color" keyPath="borderColor"> |
2780 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 2780 | <color key="value" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
2781 | </userDefinedRuntimeAttribute> | 2781 | </userDefinedRuntimeAttribute> |
2782 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> | 2782 | <userDefinedRuntimeAttribute type="number" keyPath="borderWidth"> |
2783 | <real key="value" value="1"/> | 2783 | <real key="value" value="1"/> |
2784 | </userDefinedRuntimeAttribute> | 2784 | </userDefinedRuntimeAttribute> |
2785 | </userDefinedRuntimeAttributes> | 2785 | </userDefinedRuntimeAttributes> |
2786 | <connections> | 2786 | <connections> |
2787 | <action selector="btnRightClick:" destination="11N-vo-Mt2" eventType="touchUpInside" id="B9a-xL-3cn"/> | 2787 | <action selector="btnRightClick:" destination="11N-vo-Mt2" eventType="touchUpInside" id="B9a-xL-3cn"/> |
2788 | </connections> | 2788 | </connections> |
2789 | </button> | 2789 | </button> |
2790 | </subviews> | 2790 | </subviews> |
2791 | </stackView> | 2791 | </stackView> |
2792 | </subviews> | 2792 | </subviews> |
2793 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | 2793 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
2794 | <constraints> | 2794 | <constraints> |
2795 | <constraint firstItem="Ep6-Gr-6FQ" firstAttribute="leading" secondItem="2hA-f8-pa6" secondAttribute="leadingMargin" constant="30" id="4zY-vp-347"/> | 2795 | <constraint firstItem="Ep6-Gr-6FQ" firstAttribute="leading" secondItem="2hA-f8-pa6" secondAttribute="leadingMargin" constant="30" id="4zY-vp-347"/> |
2796 | <constraint firstAttribute="trailing" secondItem="lqF-Z0-NMO" secondAttribute="trailing" id="W4k-hQ-AEq"/> | 2796 | <constraint firstAttribute="trailing" secondItem="lqF-Z0-NMO" secondAttribute="trailing" id="W4k-hQ-AEq"/> |
2797 | <constraint firstItem="6VM-a2-Ac2" firstAttribute="centerX" secondItem="2hA-f8-pa6" secondAttribute="centerX" id="Zqm-Js-z9I"/> | 2797 | <constraint firstItem="6VM-a2-Ac2" firstAttribute="centerX" secondItem="2hA-f8-pa6" secondAttribute="centerX" id="Zqm-Js-z9I"/> |
2798 | <constraint firstItem="lqF-Z0-NMO" firstAttribute="top" secondItem="2hA-f8-pa6" secondAttribute="top" id="aY5-Ma-lUI"/> | 2798 | <constraint firstItem="lqF-Z0-NMO" firstAttribute="top" secondItem="2hA-f8-pa6" secondAttribute="top" id="aY5-Ma-lUI"/> |
2799 | <constraint firstAttribute="trailingMargin" secondItem="PVp-8X-pgA" secondAttribute="trailing" constant="30" id="efH-bo-hum"/> | 2799 | <constraint firstAttribute="trailingMargin" secondItem="PVp-8X-pgA" secondAttribute="trailing" constant="30" id="efH-bo-hum"/> |
2800 | <constraint firstItem="lqF-Z0-NMO" firstAttribute="leading" secondItem="2hA-f8-pa6" secondAttribute="leading" id="lr7-uP-jDq"/> | 2800 | <constraint firstItem="lqF-Z0-NMO" firstAttribute="leading" secondItem="2hA-f8-pa6" secondAttribute="leading" id="lr7-uP-jDq"/> |
2801 | <constraint firstAttribute="trailingMargin" secondItem="Ep6-Gr-6FQ" secondAttribute="trailing" constant="30" id="nGS-bg-NzL"/> | 2801 | <constraint firstAttribute="trailingMargin" secondItem="Ep6-Gr-6FQ" secondAttribute="trailing" constant="30" id="nGS-bg-NzL"/> |
2802 | <constraint firstItem="PVp-8X-pgA" firstAttribute="leading" secondItem="2hA-f8-pa6" secondAttribute="leadingMargin" constant="30" id="ng7-Gu-BAL"/> | 2802 | <constraint firstItem="PVp-8X-pgA" firstAttribute="leading" secondItem="2hA-f8-pa6" secondAttribute="leadingMargin" constant="30" id="ng7-Gu-BAL"/> |
2803 | <constraint firstItem="Ep6-Gr-6FQ" firstAttribute="top" secondItem="6VM-a2-Ac2" secondAttribute="bottom" constant="90" id="oat-US-D1u"/> | 2803 | <constraint firstItem="Ep6-Gr-6FQ" firstAttribute="top" secondItem="6VM-a2-Ac2" secondAttribute="bottom" constant="90" id="oat-US-D1u"/> |
2804 | <constraint firstItem="DlE-Ff-ZFx" firstAttribute="top" secondItem="PVp-8X-pgA" secondAttribute="bottom" constant="30" id="rRC-8n-IYh"/> | 2804 | <constraint firstItem="DlE-Ff-ZFx" firstAttribute="top" secondItem="PVp-8X-pgA" secondAttribute="bottom" constant="30" id="rRC-8n-IYh"/> |
2805 | <constraint firstItem="6VM-a2-Ac2" firstAttribute="top" secondItem="lqF-Z0-NMO" secondAttribute="bottom" constant="50" id="tzD-Vi-sss"/> | 2805 | <constraint firstItem="6VM-a2-Ac2" firstAttribute="top" secondItem="lqF-Z0-NMO" secondAttribute="bottom" constant="50" id="tzD-Vi-sss"/> |
2806 | </constraints> | 2806 | </constraints> |
2807 | </view> | 2807 | </view> |
2808 | <connections> | 2808 | <connections> |
2809 | <outlet property="edtTitle" destination="KZ7-0o-vdV" id="9r2-lZ-96I"/> | 2809 | <outlet property="edtTitle" destination="KZ7-0o-vdV" id="9r2-lZ-96I"/> |
2810 | <outlet property="topMargin" destination="aY5-Ma-lUI" id="s67-7O-Giz"/> | 2810 | <outlet property="topMargin" destination="aY5-Ma-lUI" id="s67-7O-Giz"/> |
2811 | <outlet property="vTopLogo" destination="lqF-Z0-NMO" id="v0v-BE-FsI"/> | 2811 | <outlet property="vTopLogo" destination="lqF-Z0-NMO" id="v0v-BE-FsI"/> |
2812 | </connections> | 2812 | </connections> |
2813 | </viewController> | 2813 | </viewController> |
2814 | <placeholder placeholderIdentifier="IBFirstResponder" id="7qa-5I-h01" userLabel="First Responder" sceneMemberID="firstResponder"/> | 2814 | <placeholder placeholderIdentifier="IBFirstResponder" id="7qa-5I-h01" userLabel="First Responder" sceneMemberID="firstResponder"/> |
2815 | </objects> | 2815 | </objects> |
2816 | <point key="canvasLocation" x="-274" y="1966"/> | 2816 | <point key="canvasLocation" x="-274" y="1966"/> |
2817 | </scene> | 2817 | </scene> |
2818 | </scenes> | 2818 | </scenes> |
2819 | <resources> | 2819 | <resources> |
2820 | <image name="add_icon" width="23" height="24"/> | 2820 | <image name="add_icon" width="23" height="24"/> |
2821 | <image name="arrow_right" width="8" height="14"/> | 2821 | <image name="arrow_right" width="8" height="14"/> |
2822 | <image name="close" width="32" height="32"/> | 2822 | <image name="close" width="32" height="32"/> |
2823 | <image name="edit_icon" width="25" height="19"/> | 2823 | <image name="edit_icon" width="25" height="19"/> |
2824 | <image name="icon" width="120" height="120"/> | 2824 | <image name="icon" width="120" height="120"/> |
2825 | </resources> | 2825 | </resources> |
2826 | </document> | 2826 | </document> |
2827 | 2827 |
App/camera/board/Board.swift
1 | import Foundation | 1 | import Foundation |
2 | import UIKit | 2 | import UIKit |
3 | import GeneralUtils | 3 | import GeneralUtils |
4 | 4 | ||
5 | @IBDesignable class Board: UIView { | 5 | @IBDesignable class Board: UIView { |
6 | @IBOutlet weak var vRoot: UIView! | 6 | @IBOutlet weak var vRoot: UIView! |
7 | @IBOutlet weak var tvDate: UILabel! | 7 | @IBOutlet weak var tvDate: UILabel! |
8 | @IBOutlet weak var tvNote: UILabel! | 8 | @IBOutlet weak var tvNote: UILabel! |
9 | @IBOutlet weak var tenCtruong: UILabel! | 9 | @IBOutlet weak var tenCtruong: UILabel! |
10 | @IBOutlet weak var tvShootItem: UILabel! | 10 | @IBOutlet weak var tvShootItem: UILabel! |
11 | @IBOutlet weak var tvCompanyName: UILabel! | 11 | @IBOutlet weak var tvCompanyName: UILabel! |
12 | 12 | ||
13 | var shootItem: ShootItem?; | 13 | var shootItem: ShootItem?; |
14 | var isReadOnly: Bool = false; | 14 | var isReadOnly: Bool = false; |
15 | override init(frame: CGRect) { | 15 | override init(frame: CGRect) { |
16 | super.init(frame: frame) | 16 | super.init(frame: frame) |
17 | xibSetup() | 17 | xibSetup() |
18 | } | 18 | } |
19 | 19 | ||
20 | required init?(coder aDecoder: NSCoder) { | 20 | required init?(coder aDecoder: NSCoder) { |
21 | super.init(coder: aDecoder) | 21 | super.init(coder: aDecoder) |
22 | xibSetup() | 22 | xibSetup() |
23 | } | 23 | } |
24 | 24 | ||
25 | func xibSetup() { | 25 | func xibSetup() { |
26 | let bundle = Bundle(for: type(of: self)) | 26 | let bundle = Bundle(for: type(of: self)) |
27 | let nib = UINib(nibName: "Board", bundle: bundle) | 27 | let nib = UINib(nibName: "Board", bundle: bundle) |
28 | if let view = nib.instantiate(withOwner: self, options: nil)[0] as? UIView { | 28 | if let view = nib.instantiate(withOwner: self, options: nil)[0] as? UIView { |
29 | view.frame = bounds | 29 | view.frame = bounds |
30 | view.autoresizingMask = [UIViewAutoresizing.flexibleWidth, UIViewAutoresizing.flexibleHeight] | 30 | view.autoresizingMask = [UIViewAutoresizing.flexibleWidth, UIViewAutoresizing.flexibleHeight] |
31 | addSubview(view) | 31 | addSubview(view) |
32 | } | 32 | } |
33 | } | 33 | } |
34 | 34 | ||
35 | func initData(ctruong: CongTruong, shootItem: ShootItem, imgObj: ImgObj? = nil) { | 35 | func initData(ctruong: CongTruong, shootItem: ShootItem, imgObj: ImgObj? = nil) { |
36 | self.shootItem = shootItem; | 36 | self.shootItem = shootItem; |
37 | if imgObj != nil { | 37 | if imgObj != nil { |
38 | isReadOnly = true; | 38 | isReadOnly = true; |
39 | } | 39 | } |
40 | var date: Date!; | 40 | var date: Date!; |
41 | if let dateSave = imgObj?.date, dateSave > 0 { | 41 | if let dateSave = imgObj?.date, dateSave > 0 { |
42 | date = DataTypeUtils.getDateFromTimeSecond(timeSeconds: Double(dateSave)); | 42 | date = DataTypeUtils.getDateFromTimeSecond(timeSeconds: Double(dateSave)); |
43 | } else { | 43 | } else { |
44 | date = Date() | 44 | date = Date() |
45 | } | 45 | } |
46 | setDate(date: date) | 46 | setDate(date: date) |
47 | 47 | ||
48 | tenCtruong.text = ctruong.constructionName | 48 | tenCtruong.text = ctruong.constructionName |
49 | tvCompanyName.text = ctruong.companyName; | 49 | tvCompanyName.text = ctruong.companyName; |
50 | tvShootItem.text = shootItem.name; | 50 | tvShootItem.text = shootItem.name; |
51 | if let note = imgObj?.note { | 51 | if let note = imgObj?.note { |
52 | tvNote.text = note; | 52 | tvNote.text = note; |
53 | } | 53 | } |
54 | } | 54 | } |
55 | 55 | ||
56 | private func setDate(date: Date) { | 56 | private func setDate(date: Date) { |
57 | let dateFormatter = DateFormatter() | 57 | let dateFormatter = DateFormatter() |
58 | dateFormatter.dateFormat = "MMM d, yyyy" | 58 | dateFormatter.dateFormat = "MMM d, yyyy" |
59 | dateFormatter.locale = Locale(identifier: "ja_JP") | 59 | dateFormatter.locale = Locale(identifier: "ja_JP") |
60 | tvDate.text = dateFormatter.string(from: date) | 60 | tvDate.text = dateFormatter.string(from: date) |
61 | self.shootItem?.date = DataTypeUtils.getCurrentTimeSecond(date: date); | 61 | self.shootItem?.date = DataTypeUtils.getCurrentTimeSecond(date: date); |
62 | } | 62 | } |
63 | 63 | ||
64 | @IBAction func noteClick(_ sender: Any) { | 64 | @IBAction func noteClick(_ sender: Any) { |
65 | if isReadOnly { | 65 | if isReadOnly { |
66 | return; | 66 | return; |
67 | } | 67 | } |
68 | let dialog = DialogUtils.builderDialog(showCloseButton: false, showTitle: false) | 68 | let dialog = DialogUtils.builderDialog(showCloseButton: false, showTitle: false) |
69 | let edt = dialog.addTextField() | 69 | let edt = dialog.addTextField() |
70 | dialog.addButton(LocalizedString("OK"), action: { | 70 | dialog.addButton(LocalizedString("OK"), action: { |
71 | let node = (edt.text ?? ""); | 71 | let node = (edt.text ?? ""); |
72 | self.shootItem?.note = node | 72 | self.shootItem?.note = node |
73 | self.tvNote.text = " " + node; | 73 | self.tvNote.text = " " + node; |
74 | }) | 74 | }) |
75 | dialog.showTitle("", subTitle: "備考", style: .edit) | 75 | dialog.showTitle("", subTitle: "備考", style: .edit) |
76 | //edt.becomeFirstResponder() | 76 | //edt.becomeFirstResponder() |
77 | } | 77 | } |
78 | 78 | ||
79 | @IBAction func dateClick(_ sender: Any) { | 79 | @IBAction func dateClick(_ sender: Any) { |
80 | if isReadOnly { | ||
81 | return; | ||
82 | } | ||
80 | DatePickerDialog().show("撮影日", datePickerMode: .date, callback: { date in | 83 | DatePickerDialog().show("撮影日", datePickerMode: .date, callback: { date in |
81 | if let date = date { | 84 | if let date = date { |
82 | self.setDate(date: date) | 85 | self.setDate(date: date) |
83 | } | 86 | } |
84 | }) | 87 | }) |
85 | } | 88 | } |
86 | 89 | ||
87 | func scale() { | 90 | func scale() { |
88 | delayExcute(1, block: { | 91 | delayExcute(1, block: { |
89 | print("Scale") | 92 | print("Scale") |
90 | UIView.animate(withDuration: 5, animations: { | 93 | UIView.animate(withDuration: 5, animations: { |
91 | self.vRoot.transform = CGAffineTransform.identity.scaledBy(x: 0.3, y: 0.3) | 94 | self.vRoot.transform = CGAffineTransform.identity.scaledBy(x: 0.3, y: 0.3) |
92 | self.vRoot.frame.origin.x = 0 | 95 | self.vRoot.frame.origin.x = 0 |
93 | self.vRoot.frame.origin.y = 0 | 96 | self.vRoot.frame.origin.y = 0 |
94 | }) | 97 | }) |
95 | }) | 98 | }) |
96 | } | 99 | } |
97 | 100 | ||
98 | func delayExcute(_ delay: TimeInterval, queueParam: DispatchQueue? = nil, block: @escaping () -> ()) { | 101 | func delayExcute(_ delay: TimeInterval, queueParam: DispatchQueue? = nil, block: @escaping () -> ()) { |
99 | var queue: DispatchQueue! | 102 | var queue: DispatchQueue! |
100 | if queueParam == nil { | 103 | if queueParam == nil { |
101 | queue = DispatchQueue.main | 104 | queue = DispatchQueue.main |
102 | } else { | 105 | } else { |
103 | queue = queueParam | 106 | queue = queueParam |
104 | } | 107 | } |
105 | let time = DispatchTime.now() + Double(Int64(delay * Double(NSEC_PER_SEC))) / Double(NSEC_PER_SEC) | 108 | let time = DispatchTime.now() + Double(Int64(delay * Double(NSEC_PER_SEC))) / Double(NSEC_PER_SEC) |
106 | queue.asyncAfter(deadline: time, execute: block) | 109 | queue.asyncAfter(deadline: time, execute: block) |
107 | } | 110 | } |
108 | } | 111 | } |
109 | 112 |
App/commons/CellMucChupWithCamera.swift
1 | import Foundation | 1 | import Foundation |
2 | import UIKit | 2 | import UIKit |
3 | import GeneralUtils | 3 | import GeneralUtils |
4 | import Alamofire | 4 | import Alamofire |
5 | 5 | ||
6 | class CellMucChupWithCamera: BaseTableViewCellUI { | 6 | class CellMucChupWithCamera: BaseTableViewCellUI { |
7 | var tvTitle: UILabel!, imv: UIImageView! | 7 | var tvTitle: UILabel!, imv: UIImageView! |
8 | var shootItem: ShootItem! | 8 | var shootItem: ShootItem! |
9 | 9 | ||
10 | static func registerClass(tableView: UITableView, forCellReuseIdentifier: String) { | 10 | static func registerClass(tableView: UITableView, forCellReuseIdentifier: String) { |
11 | tableView.register(CellMucChupWithCamera.self, forCellReuseIdentifier: forCellReuseIdentifier) | 11 | tableView.register(CellMucChupWithCamera.self, forCellReuseIdentifier: forCellReuseIdentifier) |
12 | } | 12 | } |
13 | 13 | ||
14 | override init(style: UITableViewCellStyle, reuseIdentifier: String?) { | 14 | override init(style: UITableViewCellStyle, reuseIdentifier: String?) { |
15 | super.init(style: style, reuseIdentifier: reuseIdentifier) | 15 | super.init(style: style, reuseIdentifier: reuseIdentifier) |
16 | initView() | 16 | initView() |
17 | } | 17 | } |
18 | 18 | ||
19 | required init?(coder aDecoder: NSCoder) { | 19 | required init?(coder aDecoder: NSCoder) { |
20 | super.init(coder: aDecoder) | 20 | super.init(coder: aDecoder) |
21 | initView() | 21 | initView() |
22 | } | 22 | } |
23 | 23 | ||
24 | private func initView() { | 24 | private func initView() { |
25 | let stackView = UIStackView() | 25 | let stackView = UIStackView() |
26 | stackView.axis = UILayoutConstraintAxis.horizontal | 26 | stackView.axis = UILayoutConstraintAxis.horizontal |
27 | stackView.translatesAutoresizingMaskIntoConstraints = false | 27 | stackView.translatesAutoresizingMaskIntoConstraints = false |
28 | self.contentView.addSubview(stackView) | 28 | self.contentView.addSubview(stackView) |
29 | NSLayoutConstraint.activate([stackView.topAnchor.constraint(equalTo: contentView.topAnchor, constant: 8), | 29 | NSLayoutConstraint.activate([stackView.topAnchor.constraint(equalTo: contentView.topAnchor, constant: 8), |
30 | stackView.leftAnchor.constraint(equalTo: contentView.leftAnchor, constant: 8), | 30 | stackView.leftAnchor.constraint(equalTo: contentView.leftAnchor, constant: 8), |
31 | stackView.rightAnchor.constraint(equalTo: contentView.rightAnchor, constant: -8), | 31 | stackView.rightAnchor.constraint(equalTo: contentView.rightAnchor, constant: -8), |
32 | stackView.bottomAnchor.constraint(equalTo: contentView.bottomAnchor, constant: -8)]) | 32 | stackView.bottomAnchor.constraint(equalTo: contentView.bottomAnchor, constant: -8)]) |
33 | tvTitle = UILabel() | 33 | tvTitle = UILabel() |
34 | tvTitle.numberOfLines = 0 | 34 | tvTitle.numberOfLines = 0 |
35 | stackView.addArrangedSubview(tvTitle) | 35 | stackView.addArrangedSubview(tvTitle) |
36 | tvTitle.isUserInteractionEnabled = true | 36 | tvTitle.isUserInteractionEnabled = true |
37 | let tapTitle = UITapGestureRecognizer(target: self, action: #selector(CellMucChupWithCamera.titleClick)) | 37 | let tapTitle = UITapGestureRecognizer(target: self, action: #selector(CellMucChupWithCamera.titleClick)) |
38 | tvTitle.addGestureRecognizer(tapTitle) | 38 | tvTitle.addGestureRecognizer(tapTitle) |
39 | 39 | ||
40 | imv = UIImageView() | 40 | imv = UIImageView() |
41 | imv.contentMode = .scaleAspectFit | 41 | imv.contentMode = .scaleAspectFit |
42 | imv.isUserInteractionEnabled = true | 42 | imv.isUserInteractionEnabled = true |
43 | stackView.addArrangedSubview(imv) | 43 | stackView.addArrangedSubview(imv) |
44 | imv.widthAnchor.constraint(equalToConstant: 80).isActive = true | 44 | imv.widthAnchor.constraint(equalToConstant: 80).isActive = true |
45 | imv.heightAnchor.constraint(equalToConstant: 60).isActive = true | 45 | imv.heightAnchor.constraint(equalToConstant: 60).isActive = true |
46 | imv.image = #imageLiteral(resourceName:"camera_black_ic").imageWithInsets(insetDimen: 10) ?? #imageLiteral(resourceName:"camera_black_ic") | 46 | imv.image = #imageLiteral(resourceName:"camera_black_ic").imageWithInsets(insetDimen: 10) ?? #imageLiteral(resourceName:"camera_black_ic") |
47 | let tap = UITapGestureRecognizer(target: self, action: #selector(CellMucChupWithCamera.btnImvClick)) | 47 | let tap = UITapGestureRecognizer(target: self, action: #selector(CellMucChupWithCamera.btnImvClick)) |
48 | imv.addGestureRecognizer(tap) | 48 | imv.addGestureRecognizer(tap) |
49 | } | 49 | } |
50 | 50 | ||
51 | func titleClick() { | 51 | func titleClick() { |
52 | guard let viewController = self.viewController as? VCShootItemList else { return } | 52 | guard let viewController = self.viewController as? VCShootItemList else { return } |
53 | let cTruong = viewController.cTruong; | 53 | let cTruong = viewController.cTruong; |
54 | if let imgs = shootItem.imgs, imgs.count > 0 { | 54 | if let imgs = shootItem.imgs, imgs.count > 0 { |
55 | VCPageImgs.openController(viewController, imgObjs: imgs, cTruong: cTruong!, shootItem: self.shootItem); | 55 | VCPageImgs.openController(viewController, imgObjs: imgs, cTruong: cTruong!, shootItem: self.shootItem); |
56 | } | 56 | } |
57 | } | 57 | } |
58 | 58 | ||
59 | func btnImvClick() { | 59 | func btnImvClick() { |
60 | guard let viewController = self.viewController as? VCShootItemList else { return } | 60 | guard let viewController = self.viewController as? VCShootItemList else { return } |
61 | // if let imgs = shootItem.imgs, imgs.count > 0 { | 61 | // if let imgs = shootItem.imgs, imgs.count > 0 { |
62 | // DialogUtils.showQuestion(titleParam: <#T##String?##Swift.String?#>, messageParam: <#T##String?##Swift.String?#>, type: <#T##TypeDialog##GeneralUtils.TypeDialog#>, yesTitle: <#T##String##Swift.String#>, noTitle: <#T##String##Swift.String#>, yesAction: <#T##@escaping () -> Void##@escaping () -> Swift.Void#>) | 62 | // DialogUtils.showQuestion(titleParam: <#T##String?##Swift.String?#>, messageParam: <#T##String?##Swift.String?#>, type: <#T##TypeDialog##GeneralUtils.TypeDialog#>, yesTitle: <#T##String##Swift.String#>, noTitle: <#T##String##Swift.String#>, yesAction: <#T##@escaping () -> Void##@escaping () -> Swift.Void#>) |
63 | // } | 63 | // } |
64 | let cTruong = viewController.cTruong; | 64 | let cTruong = viewController.cTruong; |
65 | let userData = BoardObj(cTruong: cTruong, shootItem: self.shootItem); | 65 | let userData = BoardObj(cTruong: cTruong, shootItem: self.shootItem); |
66 | 66 | ||
67 | let cameraViewController = CameraViewController(croppingEnabled: false, allowsLibraryAccess: true, userData: userData) { image, asset in | 67 | let cameraViewController = CameraViewController(croppingEnabled: false, allowsLibraryAccess: true, userData: userData) { image, asset in |
68 | viewController.dismiss(animated: true, completion: nil) | 68 | viewController.dismiss(animated: true, completion: nil) |
69 | guard let image = image else { return } | 69 | guard let image = image else { return } |
70 | self.imv?.image = image | 70 | self.imv?.image = image |
71 | guard let id = self.shootItem.id, let data = UIImageJPEGRepresentation(image, 1.0) else { return } | 71 | guard let id = self.shootItem.id, let data = UIImageJPEGRepresentation(image, 1.0) else { return } |
72 | let signboard = self.shootItem?.signboard ?? 1 | 72 | let signboard = self.shootItem?.signboard ?? 1 |
73 | 73 | ||
74 | self.uploadImage(id: id, signboard: signboard, date: self.shootItem?.date, note: self.shootItem.note, data: data) | 74 | self.uploadImage(id: id, signboard: signboard, date: self.shootItem?.date, note: self.shootItem.note, data: data) |
75 | } | 75 | } |
76 | 76 | ||
77 | viewController.present(cameraViewController, animated: true, completion: nil) | 77 | viewController.present(cameraViewController, animated: true, completion: nil) |
78 | } | 78 | } |
79 | 79 | ||
80 | override func configCellWithData(baseObj: Any, index: Int) { | 80 | override func configCellWithData(baseObj: Any, index: Int) { |
81 | super.configCellWithData(baseObj: baseObj, index: index) | 81 | super.configCellWithData(baseObj: baseObj, index: index) |
82 | shootItem = baseObj as! ShootItem | 82 | shootItem = baseObj as! ShootItem |
83 | tvTitle.text = shootItem.name | 83 | tvTitle.text = shootItem.name |
84 | if let imgs = shootItem.imgs, imgs.count > 0, let imgUrl = imgs[0].url { | 84 | if let imgs = shootItem.imgs, imgs.count > 0, let imgUrl = imgs[0].url { |
85 | setImageUrl(imv: imv, imageUrl: imgUrl) | 85 | setImageUrl(imv: imv, imageUrl: imgUrl) |
86 | } else { | 86 | } else { |
87 | imv.image = #imageLiteral(resourceName:"camera_black_ic").imageWithInsets(insetDimen: 10) ?? #imageLiteral(resourceName:"camera_black_ic") | 87 | imv.image = #imageLiteral(resourceName:"camera_black_ic").imageWithInsets(insetDimen: 10) ?? #imageLiteral(resourceName:"camera_black_ic") |
88 | } | 88 | } |
89 | } | 89 | } |
90 | 90 | ||
91 | //region upload ======= | 91 | //region upload ======= |
92 | //TODO: Them 2 field date: String, note: String? | ||
93 | fileprivate func uploadImage(id: Int, signboard: Int, date: Double?, note: String?, data: Data) { | 92 | fileprivate func uploadImage(id: Int, signboard: Int, date: Double?, note: String?, data: Data) { |
94 | let tvProgress = SwiftOverlays.showBlockingWaitOverlayWithText(LocalizedString("Uploading") + ".....") | 93 | let tvProgress = SwiftOverlays.showBlockingWaitOverlayWithText(LocalizedString("Uploading") + ".....") |
95 | Alamofire.upload(multipartFormData: { (multipartFormData: MultipartFormData) in | 94 | Alamofire.upload(multipartFormData: { (multipartFormData: MultipartFormData) in |
96 | multipartFormData.append(data, withName: "file", fileName: "file_\(DataTypeUtils.getCurrentTimeSecond()).jpg", mimeType: "image/jpeg") | 95 | multipartFormData.append(data, withName: "file", fileName: "file_\(DataTypeUtils.getCurrentTimeSecond()).jpg", mimeType: "image/jpeg") |
97 | multipartFormData.append("\(id)".data(using: String.Encoding.utf8)!, withName: "idShooting") | 96 | multipartFormData.append("\(id)".data(using: String.Encoding.utf8)!, withName: "idShooting") |
98 | multipartFormData.append("\(signboard)".data(using: String.Encoding.utf8)!, withName: "signboard") | 97 | multipartFormData.append("\(signboard)".data(using: String.Encoding.utf8)!, withName: "signboard") |
99 | if let note = note { | 98 | if let note = note { |
100 | multipartFormData.append(note.data(using: String.Encoding.utf8)!, withName: "note") | 99 | multipartFormData.append(note.data(using: String.Encoding.utf8)!, withName: "note") |
101 | } | 100 | } |
102 | if let date = date { | 101 | if let date = date { |
103 | let dateInt = Int(date) | 102 | let dateInt = Int(date) |
104 | println("Upload: date: \(dateInt)") | 103 | println("Upload: date: \(dateInt)") |
105 | multipartFormData.append("\(dateInt)".data(using: String.Encoding.utf8)!, withName: "date") | 104 | multipartFormData.append("\(dateInt)".data(using: String.Encoding.utf8)!, withName: "date") |
106 | } | 105 | } |
107 | }, to: Constants.PathManager.ROOT_SERVER + "api/board/store", method: .post, encodingCompletion: { (encodingResult: SessionManager.MultipartFormDataEncodingResult) in | 106 | }, to: Constants.PathManager.ROOT_SERVER + "api/board/store", method: .post, encodingCompletion: { (encodingResult: SessionManager.MultipartFormDataEncodingResult) in |
108 | switch encodingResult { | 107 | switch encodingResult { |
109 | case .success(let upload, _, _): | 108 | case .success(let upload, _, _): |
110 | upload.uploadProgress(closure: { progress in | 109 | upload.uploadProgress(closure: { progress in |
111 | CommonUtils.excuteOnMainThread({ tvProgress.text = (LocalizedString("Uploading") + " \(Int(progress.fractionCompleted * 100))%") }) | 110 | CommonUtils.excuteOnMainThread({ tvProgress.text = (LocalizedString("Uploading") + " \(Int(progress.fractionCompleted * 100))%") }) |
112 | }) | 111 | }) |
113 | .responseString { response in | 112 | .responseString { response in |
114 | SwiftOverlays.removeAllBlockingOverlays() | 113 | SwiftOverlays.removeAllBlockingOverlays() |
115 | debugPrint("SUCCESS RESPONSE: \(response.result.value)") | 114 | debugPrint("SUCCESS RESPONSE: \(response.result.value)") |
116 | if let value = response.result.value { | 115 | if let value = response.result.value { |
117 | let json = JSON.parse(value) | 116 | let json = JSON.parse(value) |
118 | if let isSuccess = json["isSuccess"].bool, isSuccess, let url = json["url"].string { | 117 | if let isSuccess = json["isSuccess"].bool, isSuccess, let url = json["url"].string { |
119 | self.shootItem.addImg(img: ImgObj(url: url, signboard: signboard, date: nil, note: nil)) | 118 | var dateInt: Int?; |
119 | if let date = date { | ||
120 | dateInt = Int(date) | ||
121 | } else { | ||
122 | dateInt = nil; | ||
123 | } | ||
124 | self.shootItem.addImg(img: ImgObj(url: url, signboard: signboard, date: dateInt, note: note)) | ||
120 | CommonUtils.showToastLong(text: LocalizedString("successful")) | 125 | CommonUtils.showToastLong(text: LocalizedString("successful")) |
121 | return | 126 | return |
122 | } | 127 | } |
123 | } | 128 | } |
124 | self.handleError() | 129 | self.handleError() |
125 | } | 130 | } |
126 | case .failure(let encodingError): | 131 | case .failure(let encodingError): |
127 | SwiftOverlays.removeAllBlockingOverlays() | 132 | SwiftOverlays.removeAllBlockingOverlays() |
128 | self.handleError() | 133 | self.handleError() |
129 | print("ERROR RESPONSE: \(encodingError)") | 134 | print("ERROR RESPONSE: \(encodingError)") |
130 | } | 135 | } |
131 | }) | 136 | }) |
132 | } | 137 | } |
133 | 138 | ||
134 | fileprivate func handleError() { | 139 | fileprivate func handleError() { |
135 | //DialogUtils.showQuestion(messageParam: <#T##String?##Swift.String?#>, yesAction: <#T##@escaping () -> Void##@escaping () -> Swift.Void#>) | 140 | //DialogUtils.showQuestion(messageParam: <#T##String?##Swift.String?#>, yesAction: <#T##@escaping () -> Void##@escaping () -> Swift.Void#>) |
136 | } | 141 | } |
137 | //endregion | 142 | //endregion |
138 | } | 143 | } |
App/listCtruong/VCShootItemList.swift
1 | import UIKit | 1 | import UIKit |
2 | import GeneralUtils | 2 | import GeneralUtils |
3 | import Alamofire | 3 | import Alamofire |
4 | 4 | ||
5 | class VCShootItemList: UIViewController, IVCLoadDataTableViewUIThread { | 5 | class VCShootItemList: UIViewController, IVCLoadDataTableViewUIThread { |
6 | @IBOutlet weak var topMargin: NSLayoutConstraint! | 6 | @IBOutlet weak var topMargin: NSLayoutConstraint! |
7 | @IBOutlet weak var tableView: UITableViewLoadDataFromUIThread! | 7 | @IBOutlet weak var tableView: UITableViewLoadDataFromUIThread! |
8 | @IBOutlet weak var imvLogo: UIImageView! | 8 | @IBOutlet weak var imvLogo: UIImageView! |
9 | @IBOutlet weak var tvTitle: UILabel! | 9 | @IBOutlet weak var tvTitle: UILabel! |
10 | weak var tableViewListCtruong: UITableViewLoadDataFromUIThread? | 10 | weak var tableViewListCtruong: UITableViewLoadDataFromUIThread? |
11 | 11 | ||
12 | var cTruong: CongTruong! | 12 | var cTruong: CongTruong! |
13 | 13 | ||
14 | static func openController(_ viewController: UIViewController, cTruong: CongTruong, tableViewListCtruong: UITableViewLoadDataFromUIThread?) { | 14 | static func openController(_ viewController: UIViewController, cTruong: CongTruong, tableViewListCtruong: UITableViewLoadDataFromUIThread?) { |
15 | let storyboard: UIStoryboard = UIStoryboard(name: "Main", bundle: nil) | 15 | let storyboard: UIStoryboard = UIStoryboard(name: "Main", bundle: nil) |
16 | let vcOpen = storyboard.instantiateViewController(withIdentifier: "VCShootItemList") as! VCShootItemList | 16 | let vcOpen = storyboard.instantiateViewController(withIdentifier: "VCShootItemList") as! VCShootItemList |
17 | vcOpen.cTruong = cTruong | 17 | vcOpen.cTruong = cTruong |
18 | vcOpen.tableViewListCtruong = tableViewListCtruong; | 18 | vcOpen.tableViewListCtruong = tableViewListCtruong; |
19 | viewController.present(vcOpen, animated: true, completion: nil) | 19 | viewController.present(vcOpen, animated: true, completion: nil) |
20 | } | 20 | } |
21 | 21 | ||
22 | override func viewDidLoad() { | 22 | override func viewDidLoad() { |
23 | super.viewDidLoad() | 23 | super.viewDidLoad() |
24 | tableView.emptyText = LocalizedString("empty_muc_chup") | 24 | tableView.emptyText = LocalizedString("empty_muc_chup") |
25 | CellMucChupWithCamera.registerClass(tableView: tableView, forCellReuseIdentifier: "CellMucChupWithCamera") | 25 | CellMucChupWithCamera.registerClass(tableView: tableView, forCellReuseIdentifier: "CellMucChupWithCamera") |
26 | self.tableView.separatorStyle = UITableViewCellSeparatorStyle.singleLine | 26 | self.tableView.separatorStyle = UITableViewCellSeparatorStyle.singleLine |
27 | self.tableView.rowHeight = UITableViewAutomaticDimension | 27 | self.tableView.rowHeight = UITableViewAutomaticDimension |
28 | self.tableView.estimatedRowHeight = 150 | 28 | self.tableView.estimatedRowHeight = 150 |
29 | let tap = UITapGestureRecognizer.init(target: self, action: #selector(VCShootItemList.logoClick)) | 29 | let tap = UITapGestureRecognizer.init(target: self, action: #selector(VCShootItemList.logoClick)) |
30 | imvLogo.addGestureRecognizer(tap) | 30 | imvLogo.addGestureRecognizer(tap) |
31 | tableView.initAndLoadData(self) | 31 | tableView.initAndLoadData(self) |
32 | tvTitle.text = cTruong.constructionName | 32 | tvTitle.text = cTruong.constructionName |
33 | } | 33 | } |
34 | 34 | ||
35 | @IBAction func btnEditClick(_ sender: Any) { | 35 | @IBAction func btnEditClick(_ sender: Any) { |
36 | VcEdit.openController(self, cTruong: self.cTruong, tableViewListCtruong: self.tableViewListCtruong, vcShootItemList: self) | 36 | VcEdit.openController(self, cTruong: self.cTruong, tableViewListCtruong: self.tableViewListCtruong, vcShootItemList: self) |
37 | } | 37 | } |
38 | 38 | ||
39 | //region ============== TableView Data ========= | 39 | //region ============== TableView Data ========= |
40 | 40 | ||
41 | func loadDataOnUI(complete: @escaping ([Any]?) -> ()) { | 41 | func loadDataOnUI(complete: @escaping ([Any]?) -> ()) { |
42 | guard let shootItems = cTruong.shootItems else { | 42 | guard let shootItems = cTruong.shootItems else { |
43 | complete(nil) | 43 | complete(nil) |
44 | return | 44 | return |
45 | } | 45 | } |
46 | var shootItemsWillShoot = [ShootItem]() | 46 | var shootItemsWillShoot = [ShootItem]() |
47 | for item in shootItems { | 47 | for item in shootItems { |
48 | if let willShoot = item.willShoot, willShoot > 0 { | 48 | if let willShoot = item.willShoot, willShoot > 0 { |
49 | shootItemsWillShoot.append(item) | 49 | shootItemsWillShoot.append(item) |
50 | } | 50 | } |
51 | } | 51 | } |
52 | complete(shootItemsWillShoot) | 52 | complete(shootItemsWillShoot) |
53 | } | 53 | } |
54 | 54 | ||
55 | func getAllCell() -> [BaseCell] { | 55 | func getAllCell() -> [BaseCell] { |
56 | var baseCells: [BaseCell] = [BaseCell](); | 56 | var baseCells: [BaseCell] = [BaseCell](); |
57 | baseCells.append(BaseCell(type: 0, identifier: "CellMucChupWithCamera")) | 57 | baseCells.append(BaseCell(type: 0, identifier: "CellMucChupWithCamera")) |
58 | return baseCells | 58 | return baseCells |
59 | } | 59 | } |
60 | 60 | ||
61 | func getTypeOfData(baseobj: Any) -> Int { | 61 | func getTypeOfData(baseobj: Any) -> Int { |
62 | return 0 | 62 | return 0 |
63 | } | 63 | } |
64 | 64 | ||
65 | func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { | 65 | func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { |
66 | } | 66 | } |
67 | //endregion | 67 | //endregion |
68 | |||
68 | override var prefersStatusBarHidden: Bool { | 69 | override var prefersStatusBarHidden: Bool { |
69 | return true | 70 | return true |
70 | } | 71 | } |
71 | override open var supportedInterfaceOrientations: UIInterfaceOrientationMask { | 72 | override open var supportedInterfaceOrientations: UIInterfaceOrientationMask { |
72 | return UIInterfaceOrientationMask.portrait | 73 | return UIInterfaceOrientationMask.portrait |
73 | } | 74 | } |
74 | func logoClick() { | 75 | func logoClick() { |
75 | dismiss(animated: true) | 76 | dismiss(animated: true) |
76 | } | 77 | } |
77 | 78 | ||
78 | } | 79 | } |
79 | 80 | ||
80 | 81 |
GeneralUtils/GeneralUtils.xcodeproj/project.xcworkspace/xcuserdata/ptran.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
GeneralUtils/GeneralUtils/libs/SCLAlertView/SCLAlertView.swift
1 | // | 1 | // |
2 | // SCLAlertView.swift | 2 | // SCLAlertView.swift |
3 | // SCLAlertView Example | 3 | // SCLAlertView Example |
4 | // | 4 | // |
5 | // Created by Viktor Radchenko on 6/5/14. | 5 | // Created by Viktor Radchenko on 6/5/14. |
6 | // Copyright (c) 2014 Viktor Radchenko. All rights reserved. | 6 | // Copyright (c) 2014 Viktor Radchenko. All rights reserved. |
7 | // | 7 | // |
8 | 8 | ||
9 | import Foundation | 9 | import Foundation |
10 | import UIKit | 10 | import UIKit |
11 | fileprivate func < <T : Comparable>(lhs: T?, rhs: T?) -> Bool { | 11 | fileprivate func < <T : Comparable>(lhs: T?, rhs: T?) -> Bool { |
12 | switch (lhs, rhs) { | 12 | switch (lhs, rhs) { |
13 | case let (l?, r?): | 13 | case let (l?, r?): |
14 | return l < r | 14 | return l < r |
15 | case (nil, _?): | 15 | case (nil, _?): |
16 | return true | 16 | return true |
17 | default: | 17 | default: |
18 | return false | 18 | return false |
19 | } | 19 | } |
20 | } | 20 | } |
21 | 21 | ||
22 | fileprivate func > <T : Comparable>(lhs: T?, rhs: T?) -> Bool { | 22 | fileprivate func > <T : Comparable>(lhs: T?, rhs: T?) -> Bool { |
23 | switch (lhs, rhs) { | 23 | switch (lhs, rhs) { |
24 | case let (l?, r?): | 24 | case let (l?, r?): |
25 | return l > r | 25 | return l > r |
26 | default: | 26 | default: |
27 | return rhs < lhs | 27 | return rhs < lhs |
28 | } | 28 | } |
29 | } | 29 | } |
30 | 30 | ||
31 | 31 | ||
32 | // Pop Up Styles | 32 | // Pop Up Styles |
33 | public enum SCLAlertViewStyle { | 33 | public enum SCLAlertViewStyle { |
34 | case success, error, notice, warning, info, edit, wait | 34 | case success, error, notice, warning, info, edit, wait, question |
35 | 35 | ||
36 | var defaultColorInt: UInt { | 36 | var defaultColorInt: UInt { |
37 | switch self { | 37 | switch self { |
38 | case .success: | 38 | case .success: |
39 | return 0x22B573 | 39 | return 0x22B573 |
40 | case .error: | 40 | case .error: |
41 | return 0xC1272D | 41 | return 0xC1272D |
42 | case .notice: | 42 | case .notice: |
43 | return 0x727375 | 43 | return 0x727375 |
44 | case .warning: | 44 | case .warning: |
45 | return 0xFFD110 | 45 | return 0xFFD110 |
46 | case .info: | 46 | case .info: |
47 | return 0x2866BF | 47 | return 0x2866BF |
48 | case .edit: | 48 | case .edit: |
49 | return 0xA429FF | 49 | return 0xA429FF |
50 | case .wait: | 50 | case .wait: |
51 | return 0xD62DA5 | 51 | return 0xD62DA5 |
52 | case .question: | ||
53 | return 0x727375 | ||
52 | } | 54 | } |
53 | 55 | ||
54 | } | 56 | } |
55 | 57 | ||
56 | } | 58 | } |
57 | 59 | ||
58 | // Animation Styles | 60 | // Animation Styles |
59 | public enum SCLAnimationStyle { | 61 | public enum SCLAnimationStyle { |
60 | case noAnimation, topToBottom, bottomToTop, leftToRight, rightToLeft | 62 | case noAnimation, topToBottom, bottomToTop, leftToRight, rightToLeft |
61 | } | 63 | } |
62 | 64 | ||
63 | // Action Types | 65 | // Action Types |
64 | public enum SCLActionType { | 66 | public enum SCLActionType { |
65 | case none, selector, closure | 67 | case none, selector, closure |
66 | } | 68 | } |
67 | 69 | ||
68 | // Button sub-class | 70 | // Button sub-class |
69 | open class SCLButton: UIButton { | 71 | open class SCLButton: UIButton { |
70 | var actionType = SCLActionType.none | 72 | var actionType = SCLActionType.none |
71 | var target:AnyObject! | 73 | var target:AnyObject! |
72 | var selector:Selector! | 74 | var selector:Selector! |
73 | var action:(()->Void)! | 75 | var action:(()->Void)! |
74 | var customBackgroundColor:UIColor? | 76 | var customBackgroundColor:UIColor? |
75 | var customTextColor:UIColor? | 77 | var customTextColor:UIColor? |
76 | var initialTitle:String! | 78 | var initialTitle:String! |
77 | var showDurationStatus:Bool=false | 79 | var showTimeout:ShowTimeoutConfiguration? |
78 | 80 | ||
81 | public struct ShowTimeoutConfiguration { | ||
82 | let prefix: String | ||
83 | let suffix: String | ||
84 | |||
85 | public init(prefix: String = "", suffix: String = "") { | ||
86 | self.prefix = prefix | ||
87 | self.suffix = suffix | ||
88 | } | ||
89 | } | ||
90 | |||
79 | public init() { | 91 | public init() { |
80 | super.init(frame: CGRect.zero) | 92 | super.init(frame: CGRect.zero) |
81 | } | 93 | } |
82 | 94 | ||
83 | required public init?(coder aDecoder: NSCoder) { | 95 | required public init?(coder aDecoder: NSCoder) { |
84 | super.init(coder:aDecoder) | 96 | super.init(coder:aDecoder) |
85 | } | 97 | } |
86 | 98 | ||
87 | override public init(frame:CGRect) { | 99 | override public init(frame:CGRect) { |
88 | super.init(frame:frame) | 100 | super.init(frame:frame) |
89 | } | 101 | } |
90 | } | 102 | } |
91 | 103 | ||
92 | // Allow alerts to be closed/renamed in a chainable manner | 104 | // Allow alerts to be closed/renamed in a chainable manner |
93 | // Example: SCLAlertView().showSuccess(self, title: "Test", subTitle: "Value").close() | 105 | // Example: SCLAlertView().showSuccess(self, title: "Test", subTitle: "Value").close() |
94 | open class SCLAlertViewResponder { | 106 | open class SCLAlertViewResponder { |
95 | let alertview: SCLAlertView | 107 | let alertview: SCLAlertView |
96 | 108 | ||
97 | // Initialisation and Title/Subtitle/Close functions | 109 | // Initialisation and Title/Subtitle/Close functions |
98 | public init(alertview: SCLAlertView) { | 110 | public init(alertview: SCLAlertView) { |
99 | self.alertview = alertview | 111 | self.alertview = alertview |
100 | } | 112 | } |
101 | 113 | ||
102 | open func setTitle(_ title: String) { | 114 | open func setTitle(_ title: String) { |
103 | self.alertview.labelTitle.text = title | 115 | self.alertview.labelTitle.text = title |
104 | } | 116 | } |
105 | 117 | ||
106 | open func setSubTitle(_ subTitle: String) { | 118 | open func setSubTitle(_ subTitle: String) { |
107 | self.alertview.viewText.text = subTitle | 119 | self.alertview.viewText.text = subTitle |
108 | } | 120 | } |
109 | 121 | ||
110 | open func close() { | 122 | open func close() { |
111 | self.alertview.hideView() | 123 | self.alertview.hideView() |
112 | } | 124 | } |
113 | 125 | ||
114 | open func setDismissBlock(_ dismissBlock: @escaping DismissBlock) { | 126 | open func setDismissBlock(_ dismissBlock: @escaping DismissBlock) { |
115 | self.alertview.dismissBlock = dismissBlock | 127 | self.alertview.dismissBlock = dismissBlock |
116 | } | 128 | } |
117 | } | 129 | } |
118 | 130 | ||
119 | let kCircleHeightBackground: CGFloat = 62.0 | 131 | let kCircleHeightBackground: CGFloat = 62.0 |
132 | let uniqueTag: Int = Int(arc4random()) | ||
133 | let uniqueAccessibilityIdentifier: String = "SCLAlertView" | ||
120 | 134 | ||
121 | public typealias DismissBlock = () -> Void | 135 | public typealias DismissBlock = () -> Void |
122 | 136 | ||
123 | // The Main Class | 137 | // The Main Class |
124 | open class SCLAlertView: UIViewController { | 138 | open class SCLAlertView: UIViewController { |
125 | 139 | ||
126 | public struct SCLAppearance { | 140 | public struct SCLAppearance { |
127 | let kDefaultShadowOpacity: CGFloat | 141 | let kDefaultShadowOpacity: CGFloat |
128 | let kCircleTopPosition: CGFloat | 142 | let kCircleTopPosition: CGFloat |
129 | let kCircleBackgroundTopPosition: CGFloat | 143 | let kCircleBackgroundTopPosition: CGFloat |
130 | let kCircleHeight: CGFloat | 144 | let kCircleHeight: CGFloat |
131 | let kCircleIconHeight: CGFloat | 145 | let kCircleIconHeight: CGFloat |
132 | let kTitleTop:CGFloat | 146 | let kTitleTop:CGFloat |
133 | let kTitleHeight:CGFloat | 147 | let kTitleHeight:CGFloat |
148 | let kTitleMinimumScaleFactor: CGFloat | ||
134 | let kWindowWidth: CGFloat | 149 | let kWindowWidth: CGFloat |
135 | var kWindowHeight: CGFloat | 150 | var kWindowHeight: CGFloat |
136 | var kTextHeight: CGFloat | 151 | var kTextHeight: CGFloat |
137 | let kTextFieldHeight: CGFloat | 152 | let kTextFieldHeight: CGFloat |
138 | let kTextViewdHeight: CGFloat | 153 | let kTextViewdHeight: CGFloat |
139 | let kButtonHeight: CGFloat | 154 | let kButtonHeight: CGFloat |
155 | let circleBackgroundColor: UIColor | ||
140 | let contentViewColor: UIColor | 156 | let contentViewColor: UIColor |
141 | let contentViewBorderColor: UIColor | 157 | let contentViewBorderColor: UIColor |
142 | let titleColor: UIColor | 158 | let titleColor: UIColor |
143 | 159 | ||
144 | // Fonts | 160 | // Fonts |
145 | let kTitleFont: UIFont | 161 | let kTitleFont: UIFont |
146 | let kTextFont: UIFont | 162 | let kTextFont: UIFont |
147 | let kButtonFont: UIFont | 163 | let kButtonFont: UIFont |
148 | 164 | ||
149 | // UI Options | 165 | // UI Options |
166 | var disableTapGesture: Bool | ||
150 | var showCloseButton: Bool | 167 | var showCloseButton: Bool |
151 | var showCircularIcon: Bool | 168 | var showCircularIcon: Bool |
152 | var shouldAutoDismiss: Bool // Set this false to 'Disable' Auto hideView when SCLButton is tapped | 169 | var shouldAutoDismiss: Bool // Set this false to 'Disable' Auto hideView when SCLButton is tapped |
153 | var contentViewCornerRadius : CGFloat | 170 | var contentViewCornerRadius : CGFloat |
154 | var fieldCornerRadius : CGFloat | 171 | var fieldCornerRadius : CGFloat |
155 | var buttonCornerRadius : CGFloat | 172 | var buttonCornerRadius : CGFloat |
156 | 173 | var dynamicAnimatorActive : Bool | |
174 | |||
157 | // Actions | 175 | // Actions |
158 | var hideWhenBackgroundViewIsTapped: Bool | 176 | var hideWhenBackgroundViewIsTapped: Bool |
159 | 177 | ||
160 | public init(kDefaultShadowOpacity: CGFloat = 0.7, kCircleTopPosition: CGFloat = -12.0, kCircleBackgroundTopPosition: CGFloat = -15.0, kCircleHeight: CGFloat = 56.0, kCircleIconHeight: CGFloat = 20.0, kTitleTop:CGFloat = 30.0, kTitleHeight:CGFloat = 25.0, kWindowWidth: CGFloat = 240.0, kWindowHeight: CGFloat = 178.0, kTextHeight: CGFloat = 90.0, kTextFieldHeight: CGFloat = 45.0, kTextViewdHeight: CGFloat = 80.0, kButtonHeight: CGFloat = 45.0, kTitleFont: UIFont = UIFont.systemFont(ofSize: 20), kTextFont: UIFont = UIFont.systemFont(ofSize: 14), kButtonFont: UIFont = UIFont.boldSystemFont(ofSize: 14), showCloseButton: Bool = true, showCircularIcon: Bool = true, shouldAutoDismiss: Bool = true, contentViewCornerRadius: CGFloat = 5.0, fieldCornerRadius: CGFloat = 3.0, buttonCornerRadius: CGFloat = 3.0, hideWhenBackgroundViewIsTapped: Bool = false, contentViewColor: UIColor = UIColorFromRGB(0xFFFFFF), contentViewBorderColor: UIColor = UIColorFromRGB(0xCCCCCC), titleColor: UIColor = UIColorFromRGB(0x4D4D4D)) { | 178 | public init(kDefaultShadowOpacity: CGFloat = 0.7, kCircleTopPosition: CGFloat = 0.0, kCircleBackgroundTopPosition: CGFloat = 6.0, kCircleHeight: CGFloat = 56.0, kCircleIconHeight: CGFloat = 20.0, kTitleTop:CGFloat = 30.0, kTitleHeight:CGFloat = 25.0, kWindowWidth: CGFloat = 240.0, kWindowHeight: CGFloat = 178.0, kTextHeight: CGFloat = 90.0, kTextFieldHeight: CGFloat = 45.0, kTextViewdHeight: CGFloat = 80.0, kButtonHeight: CGFloat = 45.0, kTitleFont: UIFont = UIFont.systemFont(ofSize: 20), kTitleMinimumScaleFactor: CGFloat = 1.0, kTextFont: UIFont = UIFont.systemFont(ofSize: 14), kButtonFont: UIFont = UIFont.boldSystemFont(ofSize: 14), showCloseButton: Bool = true, showCircularIcon: Bool = true, shouldAutoDismiss: Bool = true, contentViewCornerRadius: CGFloat = 5.0, fieldCornerRadius: CGFloat = 3.0, buttonCornerRadius: CGFloat = 3.0, hideWhenBackgroundViewIsTapped: Bool = false, circleBackgroundColor: UIColor = UIColor.white, contentViewColor: UIColor = UIColorFromRGB(0xFFFFFF), contentViewBorderColor: UIColor = UIColorFromRGB(0xCCCCCC), titleColor: UIColor = UIColorFromRGB(0x4D4D4D), dynamicAnimatorActive: Bool = false, disableTapGesture: Bool = false ) { |
161 | 179 | ||
162 | self.kDefaultShadowOpacity = kDefaultShadowOpacity | 180 | self.kDefaultShadowOpacity = kDefaultShadowOpacity |
163 | self.kCircleTopPosition = kCircleTopPosition | 181 | self.kCircleTopPosition = kCircleTopPosition |
164 | self.kCircleBackgroundTopPosition = kCircleBackgroundTopPosition | 182 | self.kCircleBackgroundTopPosition = kCircleBackgroundTopPosition |
165 | self.kCircleHeight = kCircleHeight | 183 | self.kCircleHeight = kCircleHeight |
166 | self.kCircleIconHeight = kCircleIconHeight | 184 | self.kCircleIconHeight = kCircleIconHeight |
167 | self.kTitleTop = kTitleTop | 185 | self.kTitleTop = kTitleTop |
168 | self.kTitleHeight = kTitleHeight | 186 | self.kTitleHeight = kTitleHeight |
169 | self.kWindowWidth = kWindowWidth | 187 | self.kWindowWidth = kWindowWidth |
170 | self.kWindowHeight = kWindowHeight | 188 | self.kWindowHeight = kWindowHeight |
171 | self.kTextHeight = kTextHeight | 189 | self.kTextHeight = kTextHeight |
172 | self.kTextFieldHeight = kTextFieldHeight | 190 | self.kTextFieldHeight = kTextFieldHeight |
173 | self.kTextViewdHeight = kTextViewdHeight | 191 | self.kTextViewdHeight = kTextViewdHeight |
174 | self.kButtonHeight = kButtonHeight | 192 | self.kButtonHeight = kButtonHeight |
193 | self.circleBackgroundColor = circleBackgroundColor | ||
175 | self.contentViewColor = contentViewColor | 194 | self.contentViewColor = contentViewColor |
176 | self.contentViewBorderColor = contentViewBorderColor | 195 | self.contentViewBorderColor = contentViewBorderColor |
177 | self.titleColor = titleColor | 196 | self.titleColor = titleColor |
178 | 197 | ||
179 | self.kTitleFont = kTitleFont | 198 | self.kTitleFont = kTitleFont |
199 | self.kTitleMinimumScaleFactor = kTitleMinimumScaleFactor | ||
180 | self.kTextFont = kTextFont | 200 | self.kTextFont = kTextFont |
181 | self.kButtonFont = kButtonFont | 201 | self.kButtonFont = kButtonFont |
182 | 202 | ||
203 | self.disableTapGesture = disableTapGesture | ||
183 | self.showCloseButton = showCloseButton | 204 | self.showCloseButton = showCloseButton |
184 | self.showCircularIcon = showCircularIcon | 205 | self.showCircularIcon = showCircularIcon |
185 | self.shouldAutoDismiss = shouldAutoDismiss | 206 | self.shouldAutoDismiss = shouldAutoDismiss |
186 | self.contentViewCornerRadius = contentViewCornerRadius | 207 | self.contentViewCornerRadius = contentViewCornerRadius |
187 | self.fieldCornerRadius = fieldCornerRadius | 208 | self.fieldCornerRadius = fieldCornerRadius |
188 | self.buttonCornerRadius = buttonCornerRadius | 209 | self.buttonCornerRadius = buttonCornerRadius |
189 | 210 | ||
190 | self.hideWhenBackgroundViewIsTapped = hideWhenBackgroundViewIsTapped | 211 | self.hideWhenBackgroundViewIsTapped = hideWhenBackgroundViewIsTapped |
212 | self.dynamicAnimatorActive = dynamicAnimatorActive | ||
191 | } | 213 | } |
192 | 214 | ||
193 | mutating func setkWindowHeight(_ kWindowHeight:CGFloat) { | 215 | mutating func setkWindowHeight(_ kWindowHeight:CGFloat) { |
194 | self.kWindowHeight = kWindowHeight | 216 | self.kWindowHeight = kWindowHeight |
195 | } | 217 | } |
196 | 218 | ||
197 | mutating func setkTextHeight(_ kTextHeight:CGFloat) { | 219 | mutating func setkTextHeight(_ kTextHeight:CGFloat) { |
198 | self.kTextHeight = kTextHeight | 220 | self.kTextHeight = kTextHeight |
199 | } | 221 | } |
200 | } | 222 | } |
201 | 223 | ||
224 | public struct SCLTimeoutConfiguration { | ||
225 | |||
226 | public typealias ActionType = () -> Void | ||
227 | |||
228 | var value: TimeInterval | ||
229 | let action: ActionType | ||
230 | |||
231 | mutating func increaseValue(by: Double) { | ||
232 | self.value = value + by | ||
233 | } | ||
234 | |||
235 | public init(timeoutValue: TimeInterval, timeoutAction: @escaping ActionType) { | ||
236 | self.value = timeoutValue | ||
237 | self.action = timeoutAction | ||
238 | } | ||
239 | |||
240 | } | ||
241 | |||
202 | var appearance: SCLAppearance! | 242 | var appearance: SCLAppearance! |
203 | 243 | ||
204 | // UI Colour | 244 | // UI Colour |
205 | var viewColor = UIColor() | 245 | var viewColor = UIColor() |
206 | 246 | ||
207 | // UI Options | 247 | // UI Options |
208 | open var iconTintColor: UIColor? | 248 | open var iconTintColor: UIColor? |
209 | open var customSubview : UIView? | 249 | open var customSubview : UIView? |
210 | |||
211 | 250 | ||
212 | |||
213 | // Members declaration | 251 | // Members declaration |
214 | var baseView = UIView() | 252 | var baseView = UIView() |
215 | var labelTitle = UILabel() | 253 | var labelTitle = UILabel() |
216 | var viewText = UITextView() | 254 | var viewText = UITextView() |
217 | var contentView = UIView() | 255 | var contentView = UIView() |
218 | var circleBG = UIView(frame:CGRect(x:0, y:0, width:kCircleHeightBackground, height:kCircleHeightBackground)) | 256 | var circleBG = UIView(frame:CGRect(x:0, y:0, width:kCircleHeightBackground, height:kCircleHeightBackground)) |
219 | var circleView = UIView() | 257 | var circleView = UIView() |
220 | var circleIconView : UIView? | 258 | var circleIconView : UIView? |
221 | var duration: TimeInterval! | 259 | var timeout: SCLTimeoutConfiguration? |
222 | var durationStatusTimer: Timer! | 260 | var showTimeoutTimer: Timer? |
223 | var durationTimer: Timer! | 261 | var timeoutTimer: Timer? |
224 | var dismissBlock : DismissBlock? | 262 | var dismissBlock : DismissBlock? |
225 | fileprivate var inputs = [UITextField]() | 263 | fileprivate var inputs = [UITextField]() |
226 | fileprivate var input = [UITextView]() | 264 | fileprivate var input = [UITextView]() |
227 | internal var buttons = [SCLButton]() | 265 | internal var buttons = [SCLButton]() |
228 | fileprivate var selfReference: SCLAlertView? | 266 | fileprivate var selfReference: SCLAlertView? |
229 | 267 | ||
230 | public init(appearance: SCLAppearance) { | 268 | public init(appearance: SCLAppearance) { |
231 | self.appearance = appearance | 269 | self.appearance = appearance |
232 | super.init(nibName:nil, bundle:nil) | 270 | super.init(nibName:nil, bundle:nil) |
233 | setup() | 271 | setup() |
234 | } | 272 | } |
235 | 273 | ||
236 | required public init?(coder aDecoder: NSCoder) { | 274 | required public init?(coder aDecoder: NSCoder) { |
237 | fatalError("NSCoding not supported") | 275 | fatalError("NSCoding not supported") |
238 | } | 276 | } |
239 | 277 | ||
240 | required public init() { | 278 | required public init() { |
241 | appearance = SCLAppearance() | 279 | appearance = SCLAppearance() |
242 | super.init(nibName:nil, bundle:nil) | 280 | super.init(nibName:nil, bundle:nil) |
243 | setup() | 281 | setup() |
244 | } | 282 | } |
245 | 283 | ||
246 | override public init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) { | 284 | override public init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) { |
247 | appearance = SCLAppearance() | 285 | appearance = SCLAppearance() |
248 | super.init(nibName:nibNameOrNil, bundle:nibBundleOrNil) | 286 | super.init(nibName:nibNameOrNil, bundle:nibBundleOrNil) |
249 | } | 287 | } |
250 | 288 | ||
251 | fileprivate func setup() { | 289 | fileprivate func setup() { |
252 | // Set up main view | 290 | // Set up main view |
253 | view.frame = UIScreen.main.bounds | 291 | view.frame = UIScreen.main.bounds |
254 | view.autoresizingMask = [UIViewAutoresizing.flexibleHeight, UIViewAutoresizing.flexibleWidth] | 292 | view.autoresizingMask = [UIViewAutoresizing.flexibleHeight, UIViewAutoresizing.flexibleWidth] |
255 | view.backgroundColor = UIColor(red:0, green:0, blue:0, alpha:appearance.kDefaultShadowOpacity) | 293 | view.backgroundColor = UIColor(red:0, green:0, blue:0, alpha:appearance.kDefaultShadowOpacity) |
256 | view.addSubview(baseView) | 294 | view.addSubview(baseView) |
257 | // Base View | 295 | // Base View |
258 | baseView.frame = view.frame | 296 | baseView.frame = view.frame |
259 | baseView.addSubview(contentView) | 297 | baseView.addSubview(contentView) |
260 | // Content View | 298 | // Content View |
261 | contentView.layer.cornerRadius = appearance.contentViewCornerRadius | 299 | contentView.layer.cornerRadius = appearance.contentViewCornerRadius |
262 | contentView.layer.masksToBounds = true | 300 | contentView.layer.masksToBounds = true |
263 | contentView.layer.borderWidth = 0.5 | 301 | contentView.layer.borderWidth = 0.5 |
264 | contentView.addSubview(labelTitle) | 302 | contentView.addSubview(labelTitle) |
265 | contentView.addSubview(viewText) | 303 | contentView.addSubview(viewText) |
266 | // Circle View | 304 | // Circle View |
267 | circleBG.backgroundColor = UIColor.white | 305 | circleBG.backgroundColor = appearance.circleBackgroundColor |
268 | circleBG.layer.cornerRadius = circleBG.frame.size.height / 2 | 306 | circleBG.layer.cornerRadius = circleBG.frame.size.height / 2 |
269 | baseView.addSubview(circleBG) | 307 | baseView.addSubview(circleBG) |
270 | circleBG.addSubview(circleView) | 308 | circleBG.addSubview(circleView) |
271 | let x = (kCircleHeightBackground - appearance.kCircleHeight) / 2 | 309 | let x = (kCircleHeightBackground - appearance.kCircleHeight) / 2 |
272 | circleView.frame = CGRect(x:x, y:x, width:appearance.kCircleHeight, height:appearance.kCircleHeight) | 310 | circleView.frame = CGRect(x:x, y:x+appearance.kCircleTopPosition, width:appearance.kCircleHeight, height:appearance.kCircleHeight) |
273 | circleView.layer.cornerRadius = circleView.frame.size.height / 2 | 311 | circleView.layer.cornerRadius = circleView.frame.size.height / 2 |
274 | // Title | 312 | // Title |
275 | labelTitle.numberOfLines = 1 | 313 | labelTitle.numberOfLines = 0 |
276 | labelTitle.textAlignment = .center | 314 | labelTitle.textAlignment = .center |
277 | labelTitle.font = appearance.kTitleFont | 315 | labelTitle.font = appearance.kTitleFont |
316 | if(appearance.kTitleMinimumScaleFactor < 1){ | ||
317 | labelTitle.minimumScaleFactor = appearance.kTitleMinimumScaleFactor | ||
318 | labelTitle.adjustsFontSizeToFitWidth = true | ||
319 | } | ||
278 | labelTitle.frame = CGRect(x:12, y:appearance.kTitleTop, width: appearance.kWindowWidth - 24, height:appearance.kTitleHeight) | 320 | labelTitle.frame = CGRect(x:12, y:appearance.kTitleTop, width: appearance.kWindowWidth - 24, height:appearance.kTitleHeight) |
279 | // View text | 321 | // View text |
280 | viewText.isEditable = false | 322 | viewText.isEditable = false |
281 | viewText.textAlignment = .center | 323 | viewText.textAlignment = .center |
282 | viewText.textContainerInset = UIEdgeInsets.zero | 324 | viewText.textContainerInset = UIEdgeInsets.zero |
283 | viewText.textContainer.lineFragmentPadding = 0; | 325 | viewText.textContainer.lineFragmentPadding = 0; |
284 | viewText.font = appearance.kTextFont | 326 | viewText.font = appearance.kTextFont |
285 | // Colours | 327 | // Colours |
286 | contentView.backgroundColor = appearance.contentViewColor | 328 | contentView.backgroundColor = appearance.contentViewColor |
287 | viewText.backgroundColor = appearance.contentViewColor | 329 | viewText.backgroundColor = appearance.contentViewColor |
288 | labelTitle.textColor = appearance.titleColor | 330 | labelTitle.textColor = appearance.titleColor |
289 | viewText.textColor = appearance.titleColor | 331 | viewText.textColor = appearance.titleColor |
290 | contentView.layer.borderColor = appearance.contentViewBorderColor.cgColor | 332 | contentView.layer.borderColor = appearance.contentViewBorderColor.cgColor |
291 | //Gesture Recognizer for tapping outside the textinput | 333 | //Gesture Recognizer for tapping outside the textinput |
292 | let tapGesture = UITapGestureRecognizer(target: self, action: #selector(SCLAlertView.tapped(_:))) | 334 | if appearance.disableTapGesture == false { |
293 | tapGesture.numberOfTapsRequired = 1 | 335 | let tapGesture = UITapGestureRecognizer(target: self, action: #selector(SCLAlertView.tapped(_:))) |
294 | self.view.addGestureRecognizer(tapGesture) | 336 | tapGesture.numberOfTapsRequired = 1 |
337 | self.view.addGestureRecognizer(tapGesture) | ||
338 | } | ||
295 | } | 339 | } |
296 | 340 | ||
297 | override open func viewWillLayoutSubviews() { | 341 | override open func viewWillLayoutSubviews() { |
298 | super.viewWillLayoutSubviews() | 342 | super.viewWillLayoutSubviews() |
299 | let rv = UIApplication.shared.keyWindow! as UIWindow | 343 | let rv = UIApplication.shared.keyWindow! as UIWindow |
300 | let sz = rv.frame.size | 344 | let sz = rv.frame.size |
301 | 345 | ||
302 | // Set background frame | 346 | // Set background frame |
303 | view.frame.size = sz | 347 | view.frame.size = sz |
304 | 348 | ||
349 | let hMargin: CGFloat = 12 | ||
350 | |||
351 | // get actual height of title text | ||
352 | var titleActualHeight: CGFloat = 0 | ||
353 | if let title = labelTitle.text { | ||
354 | titleActualHeight = title.heightWithConstrainedWidth(width: appearance.kWindowWidth - hMargin * 2, font: labelTitle.font) + 10 | ||
355 | // get the larger height for the title text | ||
356 | titleActualHeight = (titleActualHeight > appearance.kTitleHeight ? titleActualHeight : appearance.kTitleHeight) | ||
357 | } | ||
358 | |||
305 | // computing the right size to use for the textView | 359 | // computing the right size to use for the textView |
306 | let maxHeight = sz.height - 100 // max overall height | 360 | let maxHeight = sz.height - 100 // max overall height |
307 | var consumedHeight = CGFloat(0) | 361 | var consumedHeight = CGFloat(0) |
308 | consumedHeight += appearance.kTitleTop + appearance.kTitleHeight | 362 | consumedHeight += (titleActualHeight > 0 ? appearance.kTitleTop + titleActualHeight : hMargin) |
309 | consumedHeight += 14 | 363 | consumedHeight += 14 |
310 | consumedHeight += appearance.kButtonHeight * CGFloat(buttons.count) | 364 | consumedHeight += appearance.kButtonHeight * CGFloat(buttons.count) |
311 | consumedHeight += appearance.kTextFieldHeight * CGFloat(inputs.count) | 365 | consumedHeight += appearance.kTextFieldHeight * CGFloat(inputs.count) |
312 | consumedHeight += appearance.kTextViewdHeight * CGFloat(input.count) | 366 | consumedHeight += appearance.kTextViewdHeight * CGFloat(input.count) |
313 | let maxViewTextHeight = maxHeight - consumedHeight | 367 | let maxViewTextHeight = maxHeight - consumedHeight |
314 | let viewTextWidth = appearance.kWindowWidth - 24 | 368 | let viewTextWidth = appearance.kWindowWidth - hMargin * 2 |
315 | var viewTextHeight = appearance.kTextHeight | 369 | var viewTextHeight = appearance.kTextHeight |
316 | 370 | ||
317 | // Check if there is a custom subview and add it over the textview | 371 | // Check if there is a custom subview and add it over the textview |
318 | if let customSubview = customSubview { | 372 | if let customSubview = customSubview { |
319 | viewTextHeight = min(customSubview.frame.height, maxViewTextHeight) | 373 | viewTextHeight = min(customSubview.frame.height, maxViewTextHeight) |
320 | viewText.text = "" | 374 | viewText.text = "" |
321 | viewText.addSubview(customSubview) | 375 | viewText.addSubview(customSubview) |
322 | } else { | 376 | } else { |
323 | // computing the right size to use for the textView | 377 | // computing the right size to use for the textView |
324 | let suggestedViewTextSize = viewText.sizeThatFits(CGSize(width: viewTextWidth, height: CGFloat.greatestFiniteMagnitude)) | 378 | let suggestedViewTextSize = viewText.sizeThatFits(CGSize(width: viewTextWidth, height: CGFloat.greatestFiniteMagnitude)) |
325 | viewTextHeight = min(suggestedViewTextSize.height, maxViewTextHeight) | 379 | viewTextHeight = min(suggestedViewTextSize.height, maxViewTextHeight) |
326 | 380 | ||
327 | // scroll management | 381 | // scroll management |
328 | if (suggestedViewTextSize.height > maxViewTextHeight) { | 382 | if (suggestedViewTextSize.height > maxViewTextHeight) { |
329 | viewText.isScrollEnabled = true | 383 | viewText.isScrollEnabled = true |
330 | } else { | 384 | } else { |
331 | viewText.isScrollEnabled = false | 385 | viewText.isScrollEnabled = false |
332 | } | 386 | } |
333 | } | 387 | } |
334 | 388 | ||
335 | let windowHeight = consumedHeight + viewTextHeight | 389 | let windowHeight = consumedHeight + viewTextHeight |
336 | // Set frames | 390 | // Set frames |
337 | var x = (sz.width - appearance.kWindowWidth) / 2 | 391 | var x = (sz.width - appearance.kWindowWidth) / 2 |
338 | var y = (sz.height - windowHeight - (appearance.kCircleHeight / 8)) / 2 | 392 | var y = (sz.height - windowHeight - (appearance.kCircleHeight / 8)) / 2 |
339 | contentView.frame = CGRect(x:x, y:y, width:appearance.kWindowWidth, height:windowHeight) | 393 | contentView.frame = CGRect(x:x, y:y, width:appearance.kWindowWidth, height:windowHeight) |
340 | contentView.layer.cornerRadius = appearance.contentViewCornerRadius | 394 | contentView.layer.cornerRadius = appearance.contentViewCornerRadius |
341 | y -= kCircleHeightBackground * 0.6 | 395 | y -= kCircleHeightBackground * 0.6 |
342 | x = (sz.width - kCircleHeightBackground) / 2 | 396 | x = (sz.width - kCircleHeightBackground) / 2 |
343 | circleBG.frame = CGRect(x:x, y:y+6, width:kCircleHeightBackground, height:kCircleHeightBackground) | 397 | circleBG.frame = CGRect(x:x, y:y+appearance.kCircleBackgroundTopPosition, width:kCircleHeightBackground, height:kCircleHeightBackground) |
344 | 398 | ||
345 | //adjust Title frame based on circularIcon show/hide flag | 399 | //adjust Title frame based on circularIcon show/hide flag |
346 | let titleOffset : CGFloat = appearance.showCircularIcon ? 0.0 : -12.0 | 400 | let titleOffset : CGFloat = appearance.showCircularIcon ? 0.0 : -12.0 |
347 | labelTitle.frame = labelTitle.frame.offsetBy(dx: 0, dy: titleOffset) | 401 | labelTitle.frame = labelTitle.frame.offsetBy(dx: 0, dy: titleOffset) |
348 | 402 | ||
349 | // Subtitle | 403 | // Subtitle |
350 | y = appearance.kTitleTop + appearance.kTitleHeight + titleOffset | 404 | y = titleActualHeight > 0 ? appearance.kTitleTop + titleActualHeight + titleOffset : hMargin |
351 | viewText.frame = CGRect(x:12, y:y, width: appearance.kWindowWidth - 24, height:appearance.kTextHeight) | 405 | viewText.frame = CGRect(x:hMargin, y:y, width: appearance.kWindowWidth - hMargin * 2, height:appearance.kTextHeight) |
352 | viewText.frame = CGRect(x:12, y:y, width: viewTextWidth, height:viewTextHeight) | 406 | viewText.frame = CGRect(x:hMargin, y:y, width: viewTextWidth, height:viewTextHeight) |
353 | // Text fields | 407 | // Text fields |
354 | y += viewTextHeight + 14.0 | 408 | y += viewTextHeight + 14.0 |
355 | for txt in inputs { | 409 | for txt in inputs { |
356 | txt.frame = CGRect(x:12, y:y, width:appearance.kWindowWidth - 24, height:30) | 410 | txt.frame = CGRect(x:hMargin, y:y, width:appearance.kWindowWidth - hMargin * 2, height:30) |
357 | txt.layer.cornerRadius = appearance.fieldCornerRadius | 411 | txt.layer.cornerRadius = appearance.fieldCornerRadius |
358 | y += appearance.kTextFieldHeight | 412 | y += appearance.kTextFieldHeight |
359 | } | 413 | } |
360 | for txt in input { | 414 | for txt in input { |
361 | txt.frame = CGRect(x:12, y:y, width:appearance.kWindowWidth - 24, height:70) | 415 | txt.frame = CGRect(x:hMargin, y:y, width:appearance.kWindowWidth - hMargin * 2, height:70) |
362 | //txt.layer.cornerRadius = fieldCornerRadius | 416 | //txt.layer.cornerRadius = fieldCornerRadius |
363 | y += appearance.kTextViewdHeight | 417 | y += appearance.kTextViewdHeight |
364 | } | 418 | } |
365 | // Buttons | 419 | // Buttons |
366 | for btn in buttons { | 420 | for btn in buttons { |
367 | btn.frame = CGRect(x:12, y:y, width:appearance.kWindowWidth - 24, height:35) | 421 | btn.frame = CGRect(x:hMargin, y:y, width:appearance.kWindowWidth - hMargin * 2, height:35) |
368 | btn.layer.cornerRadius = appearance.buttonCornerRadius | 422 | btn.layer.cornerRadius = appearance.buttonCornerRadius |
369 | y += appearance.kButtonHeight | 423 | y += appearance.kButtonHeight |
370 | } | 424 | } |
371 | } | 425 | } |
372 | 426 | ||
373 | override open func viewDidAppear(_ animated: Bool) { | 427 | override open func viewDidAppear(_ animated: Bool) { |
374 | super.viewDidAppear(animated) | 428 | super.viewDidAppear(animated) |
375 | NotificationCenter.default.addObserver(self, selector: #selector(SCLAlertView.keyboardWillShow(_:)), name:NSNotification.Name.UIKeyboardWillShow, object: nil); | 429 | NotificationCenter.default.addObserver(self, selector: #selector(SCLAlertView.keyboardWillShow(_:)), name:NSNotification.Name.UIKeyboardWillShow, object: nil); |
376 | NotificationCenter.default.addObserver(self, selector: #selector(SCLAlertView.keyboardWillHide(_:)), name:NSNotification.Name.UIKeyboardWillHide, object: nil); | 430 | NotificationCenter.default.addObserver(self, selector: #selector(SCLAlertView.keyboardWillHide(_:)), name:NSNotification.Name.UIKeyboardWillHide, object: nil); |
377 | } | 431 | } |
378 | 432 | ||
379 | open override func viewDidDisappear(_ animated: Bool) { | 433 | open override func viewDidDisappear(_ animated: Bool) { |
380 | super.viewDidDisappear(animated) | 434 | super.viewDidDisappear(animated) |
381 | NotificationCenter.default.removeObserver(self, name: NSNotification.Name.UIKeyboardWillShow, object: nil) | 435 | NotificationCenter.default.removeObserver(self, name: NSNotification.Name.UIKeyboardWillShow, object: nil) |
382 | NotificationCenter.default.removeObserver(self, name: NSNotification.Name.UIKeyboardWillHide, object: nil) | 436 | NotificationCenter.default.removeObserver(self, name: NSNotification.Name.UIKeyboardWillHide, object: nil) |
383 | } | 437 | } |
384 | 438 | ||
385 | override open func touchesEnded(_ touches:Set<UITouch>, with event:UIEvent?) { | 439 | override open func touchesEnded(_ touches:Set<UITouch>, with event:UIEvent?) { |
386 | if event?.touches(for: view)?.count > 0 { | 440 | if event?.touches(for: view)?.count > 0 { |
387 | view.endEditing(true) | 441 | view.endEditing(true) |
388 | } | 442 | } |
389 | } | 443 | } |
390 | 444 | ||
391 | open func addTextField(_ title:String?=nil)->UITextField { | 445 | open func addTextField(_ title:String?=nil)->UITextField { |
392 | // Update view height | 446 | // Update view height |
393 | appearance.setkWindowHeight(appearance.kWindowHeight + appearance.kTextFieldHeight) | 447 | appearance.setkWindowHeight(appearance.kWindowHeight + appearance.kTextFieldHeight) |
394 | // Add text field | 448 | // Add text field |
395 | let txt = UITextField() | 449 | let txt = UITextField() |
396 | txt.borderStyle = UITextBorderStyle.roundedRect | 450 | txt.borderStyle = UITextBorderStyle.roundedRect |
397 | txt.font = appearance.kTextFont | 451 | txt.font = appearance.kTextFont |
398 | txt.autocapitalizationType = UITextAutocapitalizationType.words | 452 | txt.autocapitalizationType = UITextAutocapitalizationType.words |
399 | txt.clearButtonMode = UITextFieldViewMode.whileEditing | 453 | txt.clearButtonMode = UITextFieldViewMode.whileEditing |
400 | txt.layer.masksToBounds = true | 454 | txt.layer.masksToBounds = true |
401 | txt.layer.borderWidth = 1.0 | 455 | txt.layer.borderWidth = 1.0 |
402 | if title != nil { | 456 | if title != nil { |
403 | txt.placeholder = title! | 457 | txt.placeholder = title! |
404 | } | 458 | } |
405 | contentView.addSubview(txt) | 459 | contentView.addSubview(txt) |
406 | inputs.append(txt) | 460 | inputs.append(txt) |
407 | return txt | 461 | return txt |
408 | } | 462 | } |
409 | 463 | ||
410 | open func addTextView()->UITextView { | 464 | open func addTextView()->UITextView { |
411 | // Update view height | 465 | // Update view height |
412 | appearance.setkWindowHeight(appearance.kWindowHeight + appearance.kTextViewdHeight) | 466 | appearance.setkWindowHeight(appearance.kWindowHeight + appearance.kTextViewdHeight) |
413 | // Add text view | 467 | // Add text view |
414 | let txt = UITextView() | 468 | let txt = UITextView() |
415 | // No placeholder with UITextView but you can use KMPlaceholderTextView library | 469 | // No placeholder with UITextView but you can use KMPlaceholderTextView library |
416 | txt.font = appearance.kTextFont | 470 | txt.font = appearance.kTextFont |
417 | //txt.autocapitalizationType = UITextAutocapitalizationType.Words | 471 | //txt.autocapitalizationType = UITextAutocapitalizationType.Words |
418 | //txt.clearButtonMode = UITextFieldViewMode.WhileEditing | 472 | //txt.clearButtonMode = UITextFieldViewMode.WhileEditing |
419 | txt.layer.masksToBounds = true | 473 | txt.layer.masksToBounds = true |
420 | txt.layer.borderWidth = 1.0 | 474 | txt.layer.borderWidth = 1.0 |
421 | contentView.addSubview(txt) | 475 | contentView.addSubview(txt) |
422 | input.append(txt) | 476 | input.append(txt) |
423 | return txt | 477 | return txt |
424 | } | 478 | } |
425 | 479 | ||
426 | @discardableResult | 480 | @discardableResult |
427 | open func addButton(_ title:String, backgroundColor:UIColor? = nil, textColor:UIColor? = nil, showDurationStatus:Bool=false, action:@escaping ()->Void)->SCLButton { | 481 | open func addButton(_ title:String, backgroundColor:UIColor? = nil, textColor:UIColor? = nil, showTimeout:SCLButton.ShowTimeoutConfiguration? = nil, action:@escaping ()->Void)->SCLButton { |
428 | let btn = addButton(title, backgroundColor: backgroundColor, textColor: textColor, showDurationStatus: showDurationStatus) | 482 | let btn = addButton(title, backgroundColor: backgroundColor, textColor: textColor, showTimeout: showTimeout) |
429 | btn.actionType = SCLActionType.closure | 483 | btn.actionType = SCLActionType.closure |
430 | btn.action = action | 484 | btn.action = action |
431 | btn.addTarget(self, action:#selector(SCLAlertView.buttonTapped(_:)), for:.touchUpInside) | 485 | btn.addTarget(self, action:#selector(SCLAlertView.buttonTapped(_:)), for:.touchUpInside) |
432 | btn.addTarget(self, action:#selector(SCLAlertView.buttonTapDown(_:)), for:[.touchDown, .touchDragEnter]) | 486 | btn.addTarget(self, action:#selector(SCLAlertView.buttonTapDown(_:)), for:[.touchDown, .touchDragEnter]) |
433 | btn.addTarget(self, action:#selector(SCLAlertView.buttonRelease(_:)), for:[.touchUpInside, .touchUpOutside, .touchCancel, .touchDragOutside] ) | 487 | btn.addTarget(self, action:#selector(SCLAlertView.buttonRelease(_:)), for:[.touchUpInside, .touchUpOutside, .touchCancel, .touchDragOutside] ) |
434 | return btn | 488 | return btn |
435 | } | 489 | } |
436 | 490 | ||
437 | @discardableResult | 491 | @discardableResult |
438 | open func addButton(_ title:String, backgroundColor:UIColor? = nil, textColor:UIColor? = nil, showDurationStatus:Bool = false, target:AnyObject, selector:Selector)->SCLButton { | 492 | open func addButton(_ title:String, backgroundColor:UIColor? = nil, textColor:UIColor? = nil, showTimeout:SCLButton.ShowTimeoutConfiguration? = nil, target:AnyObject, selector:Selector)->SCLButton { |
439 | let btn = addButton(title, backgroundColor: backgroundColor, textColor: textColor, showDurationStatus: showDurationStatus) | 493 | let btn = addButton(title, backgroundColor: backgroundColor, textColor: textColor, showTimeout: showTimeout) |
440 | btn.actionType = SCLActionType.selector | 494 | btn.actionType = SCLActionType.selector |
441 | btn.target = target | 495 | btn.target = target |
442 | btn.selector = selector | 496 | btn.selector = selector |
443 | btn.addTarget(self, action:#selector(SCLAlertView.buttonTapped(_:)), for:.touchUpInside) | 497 | btn.addTarget(self, action:#selector(SCLAlertView.buttonTapped(_:)), for:.touchUpInside) |
444 | btn.addTarget(self, action:#selector(SCLAlertView.buttonTapDown(_:)), for:[.touchDown, .touchDragEnter]) | 498 | btn.addTarget(self, action:#selector(SCLAlertView.buttonTapDown(_:)), for:[.touchDown, .touchDragEnter]) |
445 | btn.addTarget(self, action:#selector(SCLAlertView.buttonRelease(_:)), for:[.touchUpInside, .touchUpOutside, .touchCancel, .touchDragOutside] ) | 499 | btn.addTarget(self, action:#selector(SCLAlertView.buttonRelease(_:)), for:[.touchUpInside, .touchUpOutside, .touchCancel, .touchDragOutside] ) |
446 | return btn | 500 | return btn |
447 | } | 501 | } |
448 | 502 | ||
449 | @discardableResult | 503 | @discardableResult |
450 | fileprivate func addButton(_ title:String, backgroundColor:UIColor? = nil, textColor:UIColor? = nil, showDurationStatus:Bool=false)->SCLButton { | 504 | fileprivate func addButton(_ title:String, backgroundColor:UIColor? = nil, textColor:UIColor? = nil, showTimeout:SCLButton.ShowTimeoutConfiguration? = nil)->SCLButton { |
451 | // Update view height | 505 | // Update view height |
452 | appearance.setkWindowHeight(appearance.kWindowHeight + appearance.kButtonHeight) | 506 | appearance.setkWindowHeight(appearance.kWindowHeight + appearance.kButtonHeight) |
453 | // Add button | 507 | // Add button |
454 | let btn = SCLButton() | 508 | let btn = SCLButton() |
455 | btn.layer.masksToBounds = true | 509 | btn.layer.masksToBounds = true |
456 | btn.setTitle(title, for: UIControlState()) | 510 | btn.setTitle(title, for: UIControlState()) |
457 | btn.titleLabel?.font = appearance.kButtonFont | 511 | btn.titleLabel?.font = appearance.kButtonFont |
458 | btn.customBackgroundColor = backgroundColor | 512 | btn.customBackgroundColor = backgroundColor |
459 | btn.customTextColor = textColor | 513 | btn.customTextColor = textColor |
460 | btn.initialTitle = title | 514 | btn.initialTitle = title |
461 | btn.showDurationStatus = showDurationStatus | 515 | btn.showTimeout = showTimeout |
462 | contentView.addSubview(btn) | 516 | contentView.addSubview(btn) |
463 | buttons.append(btn) | 517 | buttons.append(btn) |
464 | return btn | 518 | return btn |
465 | } | 519 | } |
466 | 520 | ||
467 | func buttonTapped(_ btn:SCLButton) { | 521 | func buttonTapped(_ btn:SCLButton) { |
468 | if btn.actionType == SCLActionType.closure { | 522 | if btn.actionType == SCLActionType.closure { |
469 | btn.action() | 523 | btn.action() |
470 | } else if btn.actionType == SCLActionType.selector { | 524 | } else if btn.actionType == SCLActionType.selector { |
471 | let ctrl = UIControl() | 525 | let ctrl = UIControl() |
472 | ctrl.sendAction(btn.selector, to:btn.target, for:nil) | 526 | ctrl.sendAction(btn.selector, to:btn.target, for:nil) |
473 | } else { | 527 | } else { |
474 | print("Unknow action type for button") | 528 | print("Unknow action type for button") |
475 | } | 529 | } |
476 | 530 | ||
477 | if(self.view.alpha != 0.0 && appearance.shouldAutoDismiss){ hideView() } | 531 | if(self.view.alpha != 0.0 && appearance.shouldAutoDismiss){ hideView() } |
478 | } | 532 | } |
479 | 533 | ||
480 | 534 | ||
481 | func buttonTapDown(_ btn:SCLButton) { | 535 | func buttonTapDown(_ btn:SCLButton) { |
482 | var hue : CGFloat = 0 | 536 | var hue : CGFloat = 0 |
483 | var saturation : CGFloat = 0 | 537 | var saturation : CGFloat = 0 |
484 | var brightness : CGFloat = 0 | 538 | var brightness : CGFloat = 0 |
485 | var alpha : CGFloat = 0 | 539 | var alpha : CGFloat = 0 |
486 | let pressBrightnessFactor = 0.85 | 540 | let pressBrightnessFactor = 0.85 |
487 | btn.backgroundColor?.getHue(&hue, saturation: &saturation, brightness: &brightness, alpha: &alpha) | 541 | btn.backgroundColor?.getHue(&hue, saturation: &saturation, brightness: &brightness, alpha: &alpha) |
488 | brightness = brightness * CGFloat(pressBrightnessFactor) | 542 | brightness = brightness * CGFloat(pressBrightnessFactor) |
489 | btn.backgroundColor = UIColor(hue: hue, saturation: saturation, brightness: brightness, alpha: alpha) | 543 | btn.backgroundColor = UIColor(hue: hue, saturation: saturation, brightness: brightness, alpha: alpha) |
490 | } | 544 | } |
491 | 545 | ||
492 | func buttonRelease(_ btn:SCLButton) { | 546 | func buttonRelease(_ btn:SCLButton) { |
493 | btn.backgroundColor = btn.customBackgroundColor ?? viewColor | 547 | btn.backgroundColor = btn.customBackgroundColor ?? viewColor |
494 | } | 548 | } |
495 | 549 | ||
496 | var tmpContentViewFrameOrigin: CGPoint? | 550 | var tmpContentViewFrameOrigin: CGPoint? |
497 | var tmpCircleViewFrameOrigin: CGPoint? | 551 | var tmpCircleViewFrameOrigin: CGPoint? |
498 | var keyboardHasBeenShown:Bool = false | 552 | var keyboardHasBeenShown:Bool = false |
499 | 553 | ||
500 | func keyboardWillShow(_ notification: Notification) { | 554 | func keyboardWillShow(_ notification: Notification) { |
501 | keyboardHasBeenShown = true | 555 | keyboardHasBeenShown = true |
502 | 556 | ||
503 | guard let userInfo = (notification as NSNotification).userInfo else {return} | 557 | guard let userInfo = (notification as NSNotification).userInfo else {return} |
504 | guard let endKeyBoardFrame = (userInfo[UIKeyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue.minY else {return} | 558 | guard let endKeyBoardFrame = (userInfo[UIKeyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue.minY else {return} |
505 | 559 | ||
506 | if tmpContentViewFrameOrigin == nil { | 560 | if tmpContentViewFrameOrigin == nil { |
507 | tmpContentViewFrameOrigin = self.contentView.frame.origin | 561 | tmpContentViewFrameOrigin = self.contentView.frame.origin |
508 | } | 562 | } |
509 | 563 | ||
510 | if tmpCircleViewFrameOrigin == nil { | 564 | if tmpCircleViewFrameOrigin == nil { |
511 | tmpCircleViewFrameOrigin = self.circleBG.frame.origin | 565 | tmpCircleViewFrameOrigin = self.circleBG.frame.origin |
512 | } | 566 | } |
513 | 567 | ||
514 | var newContentViewFrameY = self.contentView.frame.maxY - endKeyBoardFrame | 568 | var newContentViewFrameY = self.contentView.frame.maxY - endKeyBoardFrame |
515 | if newContentViewFrameY < 0 { | 569 | if newContentViewFrameY < 0 { |
516 | newContentViewFrameY = 0 | 570 | newContentViewFrameY = 0 |
517 | } | 571 | } |
518 | let newBallViewFrameY = self.circleBG.frame.origin.y - newContentViewFrameY | 572 | let newBallViewFrameY = self.circleBG.frame.origin.y - newContentViewFrameY |
519 | self.contentView.frame.origin.y -= newContentViewFrameY | 573 | self.contentView.frame.origin.y -= newContentViewFrameY |
520 | self.circleBG.frame.origin.y = newBallViewFrameY | 574 | self.circleBG.frame.origin.y = newBallViewFrameY |
521 | } | 575 | } |
522 | 576 | ||
523 | func keyboardWillHide(_ notification: Notification) { | 577 | func keyboardWillHide(_ notification: Notification) { |
524 | if(keyboardHasBeenShown){//This could happen on the simulator (keyboard will be hidden) | 578 | if(keyboardHasBeenShown){//This could happen on the simulator (keyboard will be hidden) |
525 | if(self.tmpContentViewFrameOrigin != nil){ | 579 | if(self.tmpContentViewFrameOrigin != nil){ |
526 | self.contentView.frame.origin.y = self.tmpContentViewFrameOrigin!.y | 580 | self.contentView.frame.origin.y = self.tmpContentViewFrameOrigin!.y |
527 | self.tmpContentViewFrameOrigin = nil | 581 | self.tmpContentViewFrameOrigin = nil |
528 | } | 582 | } |
529 | if(self.tmpCircleViewFrameOrigin != nil){ | 583 | if(self.tmpCircleViewFrameOrigin != nil){ |
530 | self.circleBG.frame.origin.y = self.tmpCircleViewFrameOrigin!.y | 584 | self.circleBG.frame.origin.y = self.tmpCircleViewFrameOrigin!.y |
531 | self.tmpCircleViewFrameOrigin = nil | 585 | self.tmpCircleViewFrameOrigin = nil |
532 | } | 586 | } |
533 | 587 | ||
534 | keyboardHasBeenShown = false | 588 | keyboardHasBeenShown = false |
535 | } | 589 | } |
536 | } | 590 | } |
537 | 591 | ||
538 | //Dismiss keyboard when tapped outside textfield & close SCLAlertView when hideWhenBackgroundViewIsTapped | 592 | //Dismiss keyboard when tapped outside textfield & close SCLAlertView when hideWhenBackgroundViewIsTapped |
539 | func tapped(_ gestureRecognizer: UITapGestureRecognizer) { | 593 | func tapped(_ gestureRecognizer: UITapGestureRecognizer) { |
540 | self.view.endEditing(true) | 594 | self.view.endEditing(true) |
541 | 595 | ||
542 | if let tappedView = gestureRecognizer.view , tappedView.hitTest(gestureRecognizer.location(in: tappedView), with: nil) == baseView && appearance.hideWhenBackgroundViewIsTapped { | 596 | if let tappedView = gestureRecognizer.view , tappedView.hitTest(gestureRecognizer.location(in: tappedView), with: nil) == baseView && appearance.hideWhenBackgroundViewIsTapped { |
543 | 597 | ||
544 | hideView() | 598 | hideView() |
545 | } | 599 | } |
546 | } | 600 | } |
547 | 601 | ||
548 | // showCustom(view, title, subTitle, UIColor, UIImage) | 602 | // showCustom(view, title, subTitle, UIColor, UIImage) |
549 | open func showCustom(_ title: String, subTitle: String, color: UIColor, icon: UIImage, closeButtonTitle:String?=nil, duration:TimeInterval=0.0, colorStyle: UInt=SCLAlertViewStyle.success.defaultColorInt, colorTextButton: UInt=0xFFFFFF, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { | 603 | @discardableResult |
550 | 604 | open func showCustom(_ title: String, subTitle: String, color: UIColor, icon: UIImage, closeButtonTitle:String?=nil, timeout:SCLTimeoutConfiguration?=nil, colorStyle: UInt=SCLAlertViewStyle.success.defaultColorInt, colorTextButton: UInt=0xFFFFFF, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { | |
551 | 605 | ||
606 | |||
552 | var red: CGFloat = 0, green: CGFloat = 0, blue: CGFloat = 0, alpha: CGFloat = 0 | 607 | var red: CGFloat = 0, green: CGFloat = 0, blue: CGFloat = 0, alpha: CGFloat = 0 |
553 | 608 | ||
554 | color.getRed(&red, green: &green, blue: &blue, alpha: &alpha) | 609 | color.getRed(&red, green: &green, blue: &blue, alpha: &alpha) |
555 | 610 | ||
556 | var colorAsUInt32 : UInt32 = 0 | 611 | var colorAsUInt32 : UInt32 = 0 |
557 | colorAsUInt32 += UInt32(red * 255.0) << 16 | 612 | colorAsUInt32 += UInt32(red * 255.0) << 16 |
558 | colorAsUInt32 += UInt32(green * 255.0) << 8 | 613 | colorAsUInt32 += UInt32(green * 255.0) << 8 |
559 | colorAsUInt32 += UInt32(blue * 255.0) | 614 | colorAsUInt32 += UInt32(blue * 255.0) |
560 | 615 | ||
561 | let colorAsUInt = UInt(colorAsUInt32) | 616 | let colorAsUInt = UInt(colorAsUInt32) |
562 | 617 | ||
563 | return showTitle(title, subTitle: subTitle, duration: duration, completeText:closeButtonTitle, style: .success, colorStyle: colorAsUInt, colorTextButton: colorTextButton, circleIconImage: icon, animationStyle: animationStyle) | 618 | return showTitle(title, subTitle: subTitle, timeout: timeout, completeText:closeButtonTitle, style: .success, colorStyle: colorAsUInt, colorTextButton: colorTextButton, circleIconImage: icon, animationStyle: animationStyle) |
564 | } | 619 | } |
565 | 620 | ||
566 | // showSuccess(view, title, subTitle) | 621 | // showSuccess(view, title, subTitle) |
567 | @discardableResult | 622 | @discardableResult |
568 | open func showSuccess(_ title: String, subTitle: String, closeButtonTitle:String?=nil, duration:TimeInterval=0.0, colorStyle: UInt=SCLAlertViewStyle.success.defaultColorInt, colorTextButton: UInt=0xFFFFFF, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { | 623 | open func showSuccess(_ title: String, subTitle: String, closeButtonTitle:String?=nil, timeout:SCLTimeoutConfiguration?=nil, colorStyle: UInt=SCLAlertViewStyle.success.defaultColorInt, colorTextButton: UInt=0xFFFFFF, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { |
569 | return showTitle(title, subTitle: subTitle, duration: duration, completeText:closeButtonTitle, style: .success, colorStyle: colorStyle, colorTextButton: colorTextButton, circleIconImage: circleIconImage, animationStyle: animationStyle) | 624 | return showTitle(title, subTitle: subTitle, timeout: timeout, completeText:closeButtonTitle, style: .success, colorStyle: colorStyle, colorTextButton: colorTextButton, circleIconImage: circleIconImage, animationStyle: animationStyle) |
570 | } | 625 | } |
571 | 626 | ||
572 | // showError(view, title, subTitle) | 627 | // showError(view, title, subTitle) |
573 | @discardableResult | 628 | @discardableResult |
574 | open func showError(_ title: String, subTitle: String, closeButtonTitle:String?=nil, duration:TimeInterval=0.0, colorStyle: UInt=SCLAlertViewStyle.error.defaultColorInt, colorTextButton: UInt=0xFFFFFF, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { | 629 | open func showError(_ title: String, subTitle: String, closeButtonTitle:String?=nil, timeout:SCLTimeoutConfiguration?=nil, colorStyle: UInt=SCLAlertViewStyle.error.defaultColorInt, colorTextButton: UInt=0xFFFFFF, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { |
575 | return showTitle(title, subTitle: subTitle, duration: duration, completeText:closeButtonTitle, style: .error, colorStyle: colorStyle, colorTextButton: colorTextButton, circleIconImage: circleIconImage, animationStyle: animationStyle) | 630 | return showTitle(title, subTitle: subTitle, timeout: timeout, completeText:closeButtonTitle, style: .error, colorStyle: colorStyle, colorTextButton: colorTextButton, circleIconImage: circleIconImage, animationStyle: animationStyle) |
576 | } | 631 | } |
577 | 632 | ||
578 | // showNotice(view, title, subTitle) | 633 | // showNotice(view, title, subTitle) |
579 | @discardableResult | 634 | @discardableResult |
580 | open func showNotice(_ title: String, subTitle: String, closeButtonTitle:String?=nil, duration:TimeInterval=0.0, colorStyle: UInt=SCLAlertViewStyle.notice.defaultColorInt, colorTextButton: UInt=0xFFFFFF, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { | 635 | open func showNotice(_ title: String, subTitle: String, closeButtonTitle:String?=nil, timeout:SCLTimeoutConfiguration?=nil, colorStyle: UInt=SCLAlertViewStyle.notice.defaultColorInt, colorTextButton: UInt=0xFFFFFF, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { |
581 | return showTitle(title, subTitle: subTitle, duration: duration, completeText:closeButtonTitle, style: .notice, colorStyle: colorStyle, colorTextButton: colorTextButton, circleIconImage: circleIconImage, animationStyle: animationStyle) | 636 | return showTitle(title, subTitle: subTitle, timeout: timeout, completeText:closeButtonTitle, style: .notice, colorStyle: colorStyle, colorTextButton: colorTextButton, circleIconImage: circleIconImage, animationStyle: animationStyle) |
582 | } | 637 | } |
583 | 638 | ||
584 | // showWarning(view, title, subTitle) | 639 | // showWarning(view, title, subTitle) |
585 | @discardableResult | 640 | @discardableResult |
586 | open func showWarning(_ title: String, subTitle: String, closeButtonTitle:String?=nil, duration:TimeInterval=0.0, colorStyle: UInt=SCLAlertViewStyle.warning.defaultColorInt, colorTextButton: UInt=0x000000, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { | 641 | open func showWarning(_ title: String, subTitle: String, closeButtonTitle:String?=nil, timeout:SCLTimeoutConfiguration?=nil, colorStyle: UInt=SCLAlertViewStyle.warning.defaultColorInt, colorTextButton: UInt=0x000000, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { |
587 | return showTitle(title, subTitle: subTitle, duration: duration, completeText:closeButtonTitle, style: .warning, colorStyle: colorStyle, colorTextButton: colorTextButton, circleIconImage: circleIconImage, animationStyle: animationStyle) | 642 | return showTitle(title, subTitle: subTitle, timeout: timeout, completeText:closeButtonTitle, style: .warning, colorStyle: colorStyle, colorTextButton: colorTextButton, circleIconImage: circleIconImage, animationStyle: animationStyle) |
588 | } | 643 | } |
589 | 644 | ||
590 | // showInfo(view, title, subTitle) | 645 | // showInfo(view, title, subTitle) |
591 | @discardableResult | 646 | @discardableResult |
592 | open func showInfo(_ title: String, subTitle: String, closeButtonTitle:String?=nil, duration:TimeInterval=0.0, colorStyle: UInt=SCLAlertViewStyle.info.defaultColorInt, colorTextButton: UInt=0xFFFFFF, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { | 647 | open func showInfo(_ title: String, subTitle: String, closeButtonTitle:String?=nil, timeout:SCLTimeoutConfiguration?=nil, colorStyle: UInt=SCLAlertViewStyle.info.defaultColorInt, colorTextButton: UInt=0xFFFFFF, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { |
593 | return showTitle(title, subTitle: subTitle, duration: duration, completeText:closeButtonTitle, style: .info, colorStyle: colorStyle, colorTextButton: colorTextButton, circleIconImage: circleIconImage, animationStyle: animationStyle) | 648 | return showTitle(title, subTitle: subTitle, timeout: timeout, completeText:closeButtonTitle, style: .info, colorStyle: colorStyle, colorTextButton: colorTextButton, circleIconImage: circleIconImage, animationStyle: animationStyle) |
594 | } | 649 | } |
595 | 650 | ||
596 | // showWait(view, title, subTitle) | 651 | // showWait(view, title, subTitle) |
597 | @discardableResult | 652 | @discardableResult |
598 | open func showWait(_ title: String, subTitle: String, closeButtonTitle:String?=nil, duration:TimeInterval=0.0, colorStyle: UInt?=SCLAlertViewStyle.wait.defaultColorInt, colorTextButton: UInt=0xFFFFFF, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { | 653 | open func showWait(_ title: String, subTitle: String, closeButtonTitle:String?=nil, timeout:SCLTimeoutConfiguration?=nil, colorStyle: UInt?=SCLAlertViewStyle.wait.defaultColorInt, colorTextButton: UInt=0xFFFFFF, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { |
599 | return showTitle(title, subTitle: subTitle, duration: duration, completeText:closeButtonTitle, style: .wait, colorStyle: colorStyle, colorTextButton: colorTextButton, circleIconImage: circleIconImage, animationStyle: animationStyle) | 654 | return showTitle(title, subTitle: subTitle, timeout: timeout, completeText:closeButtonTitle, style: .wait, colorStyle: colorStyle, colorTextButton: colorTextButton, circleIconImage: circleIconImage, animationStyle: animationStyle) |
600 | } | 655 | } |
601 | 656 | ||
602 | @discardableResult | 657 | @discardableResult |
603 | open func showEdit(_ title: String, subTitle: String, closeButtonTitle:String?=nil, duration:TimeInterval=0.0, colorStyle: UInt=SCLAlertViewStyle.edit.defaultColorInt, colorTextButton: UInt=0xFFFFFF, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { | 658 | open func showEdit(_ title: String, subTitle: String, closeButtonTitle:String?=nil, timeout:SCLTimeoutConfiguration?=nil, colorStyle: UInt=SCLAlertViewStyle.edit.defaultColorInt, colorTextButton: UInt=0xFFFFFF, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { |
604 | return showTitle(title, subTitle: subTitle, duration: duration, completeText:closeButtonTitle, style: .edit, colorStyle: colorStyle, colorTextButton: colorTextButton, circleIconImage: circleIconImage, animationStyle: animationStyle) | 659 | return showTitle(title, subTitle: subTitle, timeout: timeout, completeText:closeButtonTitle, style: .edit, colorStyle: colorStyle, colorTextButton: colorTextButton, circleIconImage: circleIconImage, animationStyle: animationStyle) |
605 | } | 660 | } |
606 | 661 | ||
607 | // showTitle(view, title, subTitle, style) | 662 | // showTitle(view, title, subTitle, style) |
608 | @discardableResult | 663 | @discardableResult |
609 | open func showTitle(_ title: String, subTitle: String, style: SCLAlertViewStyle, closeButtonTitle:String?=nil, duration:TimeInterval=0.0, colorStyle: UInt?=0x000000, colorTextButton: UInt=0xFFFFFF, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { | 664 | open func showTitle(_ title: String, subTitle: String, style: SCLAlertViewStyle, closeButtonTitle:String?=nil, timeout:SCLTimeoutConfiguration?=nil, colorStyle: UInt?=0x000000, colorTextButton: UInt=0xFFFFFF, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { |
610 | 665 | ||
611 | return showTitle(title, subTitle: subTitle, duration:duration, completeText:closeButtonTitle, style: style, colorStyle: colorStyle, colorTextButton: colorTextButton, circleIconImage: circleIconImage, animationStyle: animationStyle) | 666 | return showTitle(title, subTitle: subTitle, timeout:timeout, completeText:closeButtonTitle, style: style, colorStyle: colorStyle, colorTextButton: colorTextButton, circleIconImage: circleIconImage, animationStyle: animationStyle) |
612 | } | 667 | } |
613 | 668 | ||
614 | // showTitle(view, title, subTitle, duration, style) | 669 | // showTitle(view, title, subTitle, timeout, style) |
615 | @discardableResult | 670 | @discardableResult |
616 | open func showTitle(_ title: String, subTitle: String, duration: TimeInterval?, completeText: String?, style: SCLAlertViewStyle, colorStyle: UInt?=0x000000, colorTextButton: UInt?=0xFFFFFF, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { | 671 | open func showTitle(_ title: String, subTitle: String, timeout: SCLTimeoutConfiguration?, completeText: String?, style: SCLAlertViewStyle, colorStyle: UInt?=0x000000, colorTextButton: UInt?=0xFFFFFF, circleIconImage: UIImage? = nil, animationStyle: SCLAnimationStyle = .topToBottom) -> SCLAlertViewResponder { |
617 | selfReference = self | 672 | selfReference = self |
618 | view.alpha = 0 | 673 | view.alpha = 0 |
674 | view.tag = uniqueTag | ||
675 | view.accessibilityIdentifier = uniqueAccessibilityIdentifier | ||
619 | let rv = UIApplication.shared.keyWindow! as UIWindow | 676 | let rv = UIApplication.shared.keyWindow! as UIWindow |
620 | rv.addSubview(view) | 677 | rv.addSubview(view) |
621 | view.frame = rv.bounds | 678 | view.frame = rv.bounds |
622 | baseView.frame = rv.bounds | 679 | baseView.frame = rv.bounds |
623 | 680 | ||
624 | // Alert colour/icon | 681 | // Alert colour/icon |
625 | viewColor = UIColor() | 682 | viewColor = UIColor() |
626 | var iconImage: UIImage? | 683 | var iconImage: UIImage? |
627 | let colorInt = colorStyle ?? style.defaultColorInt | 684 | let colorInt = colorStyle ?? style.defaultColorInt |
628 | viewColor = UIColorFromRGB(colorInt) | 685 | viewColor = UIColorFromRGB(colorInt) |
629 | // Icon style | 686 | // Icon style |
630 | switch style { | 687 | switch style { |
631 | case .success: | 688 | case .success: |
632 | 689 | ||
633 | iconImage = checkCircleIconImage(circleIconImage, defaultImage: SCLAlertViewStyleKit.imageOfCheckmark) | 690 | iconImage = checkCircleIconImage(circleIconImage, defaultImage: SCLAlertViewStyleKit.imageOfCheckmark) |
634 | 691 | ||
635 | case .error: | 692 | case .error: |
636 | 693 | ||
637 | iconImage = checkCircleIconImage(circleIconImage, defaultImage: SCLAlertViewStyleKit.imageOfCross) | 694 | iconImage = checkCircleIconImage(circleIconImage, defaultImage: SCLAlertViewStyleKit.imageOfCross) |
638 | 695 | ||
639 | case .notice: | 696 | case .notice: |
640 | 697 | ||
641 | iconImage = checkCircleIconImage(circleIconImage, defaultImage:SCLAlertViewStyleKit.imageOfNotice) | 698 | iconImage = checkCircleIconImage(circleIconImage, defaultImage:SCLAlertViewStyleKit.imageOfNotice) |
642 | 699 | ||
643 | case .warning: | 700 | case .warning: |
644 | 701 | ||
645 | iconImage = checkCircleIconImage(circleIconImage, defaultImage:SCLAlertViewStyleKit.imageOfWarning) | 702 | iconImage = checkCircleIconImage(circleIconImage, defaultImage:SCLAlertViewStyleKit.imageOfWarning) |
646 | 703 | ||
647 | case .info: | 704 | case .info: |
648 | 705 | ||
649 | iconImage = checkCircleIconImage(circleIconImage, defaultImage:SCLAlertViewStyleKit.imageOfInfo) | 706 | iconImage = checkCircleIconImage(circleIconImage, defaultImage:SCLAlertViewStyleKit.imageOfInfo) |
650 | 707 | ||
651 | case .edit: | 708 | case .edit: |
652 | 709 | ||
653 | iconImage = checkCircleIconImage(circleIconImage, defaultImage:SCLAlertViewStyleKit.imageOfEdit) | 710 | iconImage = checkCircleIconImage(circleIconImage, defaultImage:SCLAlertViewStyleKit.imageOfEdit) |
654 | 711 | ||
655 | case .wait: | 712 | case .wait: |
656 | iconImage = nil | 713 | iconImage = nil |
714 | |||
715 | case .question: | ||
716 | iconImage = checkCircleIconImage(circleIconImage, defaultImage:SCLAlertViewStyleKit.imageOfQuestion) | ||
657 | } | 717 | } |
658 | 718 | ||
659 | // Title | 719 | // Title |
660 | if !title.isEmpty { | 720 | if !title.isEmpty { |
661 | self.labelTitle.text = title | 721 | self.labelTitle.text = title |
722 | let actualHeight = title.heightWithConstrainedWidth(width: appearance.kWindowWidth - 24, font: self.labelTitle.font) | ||
723 | self.labelTitle.frame = CGRect(x:12, y:appearance.kTitleTop, width: appearance.kWindowWidth - 24, height:actualHeight) | ||
662 | } | 724 | } |
663 | 725 | ||
664 | // Subtitle | 726 | // Subtitle |
665 | if !subTitle.isEmpty { | 727 | if !subTitle.isEmpty { |
666 | viewText.text = subTitle | 728 | viewText.text = subTitle |
667 | // Adjust text view size, if necessary | 729 | // Adjust text view size, if necessary |
668 | let str = subTitle as NSString | 730 | let str = subTitle as NSString |
669 | let attr = [NSFontAttributeName:viewText.font ?? UIFont()] | 731 | let attr = [NSFontAttributeName:viewText.font ?? UIFont()] |
670 | let sz = CGSize(width: appearance.kWindowWidth - 24, height:90) | 732 | let sz = CGSize(width: appearance.kWindowWidth - 24, height:90) |
671 | let r = str.boundingRect(with: sz, options: NSStringDrawingOptions.usesLineFragmentOrigin, attributes:attr, context:nil) | 733 | let r = str.boundingRect(with: sz, options: NSStringDrawingOptions.usesLineFragmentOrigin, attributes:attr, context:nil) |
672 | let ht = ceil(r.size.height) | 734 | let ht = ceil(r.size.height) |
673 | if ht < appearance.kTextHeight { | 735 | if ht < appearance.kTextHeight { |
674 | appearance.kWindowHeight -= (appearance.kTextHeight - ht) | 736 | appearance.kWindowHeight -= (appearance.kTextHeight - ht) |
675 | appearance.setkTextHeight(ht) | 737 | appearance.setkTextHeight(ht) |
676 | } | 738 | } |
677 | } | 739 | } |
678 | 740 | ||
679 | // Done button | 741 | // Done button |
680 | if appearance.showCloseButton { | 742 | if appearance.showCloseButton { |
681 | _ = addButton(completeText ?? "Done", target:self, selector:#selector(SCLAlertView.hideView)) | 743 | _ = addButton(completeText ?? "Done", target:self, selector:#selector(SCLAlertView.hideView)) |
682 | } | 744 | } |
683 | 745 | ||
684 | //hidden/show circular view based on the ui option | 746 | //hidden/show circular view based on the ui option |
685 | circleView.isHidden = !appearance.showCircularIcon | 747 | circleView.isHidden = !appearance.showCircularIcon |
686 | circleBG.isHidden = !appearance.showCircularIcon | 748 | circleBG.isHidden = !appearance.showCircularIcon |
687 | 749 | ||
688 | // Alert view colour and images | 750 | // Alert view colour and images |
689 | circleView.backgroundColor = viewColor | 751 | circleView.backgroundColor = viewColor |
690 | // Spinner / icon | 752 | // Spinner / icon |
691 | if style == .wait { | 753 | if style == .wait { |
692 | let indicator = UIActivityIndicatorView(activityIndicatorStyle: .whiteLarge) | 754 | let indicator = UIActivityIndicatorView(activityIndicatorStyle: .whiteLarge) |
693 | indicator.startAnimating() | 755 | indicator.startAnimating() |
694 | circleIconView = indicator | 756 | circleIconView = indicator |
695 | } | 757 | } |
696 | else { | 758 | else { |
697 | if let iconTintColor = iconTintColor { | 759 | if let iconTintColor = iconTintColor { |
698 | circleIconView = UIImageView(image: iconImage!.withRenderingMode(.alwaysTemplate)) | 760 | circleIconView = UIImageView(image: iconImage!.withRenderingMode(.alwaysTemplate)) |
699 | circleIconView?.tintColor = iconTintColor | 761 | circleIconView?.tintColor = iconTintColor |
700 | } | 762 | } |
701 | else { | 763 | else { |
702 | circleIconView = UIImageView(image: iconImage!) | 764 | circleIconView = UIImageView(image: iconImage!) |
703 | } | 765 | } |
704 | } | 766 | } |
705 | circleView.addSubview(circleIconView!) | 767 | circleView.addSubview(circleIconView!) |
706 | let x = (appearance.kCircleHeight - appearance.kCircleIconHeight) / 2 | 768 | let x = (appearance.kCircleHeight - appearance.kCircleIconHeight) / 2 |
707 | circleIconView!.frame = CGRect( x: x, y: x, width: appearance.kCircleIconHeight, height: appearance.kCircleIconHeight) | 769 | circleIconView!.frame = CGRect( x: x, y: x, width: appearance.kCircleIconHeight, height: appearance.kCircleIconHeight) |
708 | circleIconView?.layer.cornerRadius = circleIconView!.bounds.height / 2 | 770 | circleIconView?.layer.cornerRadius = circleIconView!.bounds.height / 2 |
709 | circleIconView?.layer.masksToBounds = true | 771 | circleIconView?.layer.masksToBounds = true |
710 | 772 | ||
711 | for txt in inputs { | 773 | for txt in inputs { |
712 | txt.layer.borderColor = viewColor.cgColor | 774 | txt.layer.borderColor = viewColor.cgColor |
713 | } | 775 | } |
714 | 776 | ||
715 | for txt in input { | 777 | for txt in input { |
716 | txt.layer.borderColor = viewColor.cgColor | 778 | txt.layer.borderColor = viewColor.cgColor |
717 | } | 779 | } |
718 | 780 | ||
719 | for btn in buttons { | 781 | for btn in buttons { |
720 | if let customBackgroundColor = btn.customBackgroundColor { | 782 | if let customBackgroundColor = btn.customBackgroundColor { |
721 | // Custom BackgroundColor set | 783 | // Custom BackgroundColor set |
722 | btn.backgroundColor = customBackgroundColor | 784 | btn.backgroundColor = customBackgroundColor |
723 | } else { | 785 | } else { |
724 | // Use default BackgroundColor derived from AlertStyle | 786 | // Use default BackgroundColor derived from AlertStyle |
725 | btn.backgroundColor = viewColor | 787 | btn.backgroundColor = viewColor |
726 | } | 788 | } |
727 | 789 | ||
728 | if let customTextColor = btn.customTextColor { | 790 | if let customTextColor = btn.customTextColor { |
729 | // Custom TextColor set | 791 | // Custom TextColor set |
730 | btn.setTitleColor(customTextColor, for:UIControlState()) | 792 | btn.setTitleColor(customTextColor, for:UIControlState()) |
731 | } else { | 793 | } else { |
732 | // Use default BackgroundColor derived from AlertStyle | 794 | // Use default BackgroundColor derived from AlertStyle |
733 | btn.setTitleColor(UIColorFromRGB(colorTextButton ?? 0xFFFFFF), for:UIControlState()) | 795 | btn.setTitleColor(UIColorFromRGB(colorTextButton ?? 0xFFFFFF), for:UIControlState()) |
734 | } | 796 | } |
735 | } | 797 | } |
736 | 798 | ||
737 | // Adding duration | 799 | // Adding timeout |
738 | if duration > 0 { | 800 | if let timeout = timeout { |
739 | self.duration = duration | 801 | self.timeout = timeout |
740 | durationTimer?.invalidate() | 802 | timeoutTimer?.invalidate() |
741 | durationTimer = Timer.scheduledTimer(timeInterval: self.duration, target: self, selector: #selector(SCLAlertView.hideView), userInfo: nil, repeats: false) | 803 | timeoutTimer = Timer.scheduledTimer(timeInterval: timeout.value, target: self, selector: #selector(SCLAlertView.hideViewTimeout), userInfo: nil, repeats: false) |
742 | durationStatusTimer?.invalidate() | 804 | showTimeoutTimer?.invalidate() |
743 | durationStatusTimer = Timer.scheduledTimer(timeInterval: 1.0, target: self, selector: #selector(SCLAlertView.updateDurationStatus), userInfo: nil, repeats: true) | 805 | showTimeoutTimer = Timer.scheduledTimer(timeInterval: 1.0, target: self, selector: #selector(SCLAlertView.updateShowTimeout), userInfo: nil, repeats: true) |
744 | } | 806 | } |
745 | 807 | ||
746 | // Animate in the alert view | 808 | // Animate in the alert view |
747 | self.showAnimation(animationStyle) | 809 | self.showAnimation(animationStyle) |
748 | 810 | ||
749 | // Chainable objects | 811 | // Chainable objects |
750 | return SCLAlertViewResponder(alertview: self) | 812 | return SCLAlertViewResponder(alertview: self) |
751 | } | 813 | } |
752 | 814 | ||
753 | // Show animation in the alert view | 815 | // Show animation in the alert view |
754 | fileprivate func showAnimation(_ animationStyle: SCLAnimationStyle = .topToBottom, animationStartOffset: CGFloat = -400.0, boundingAnimationOffset: CGFloat = 15.0, animationDuration: TimeInterval = 0.2) { | 816 | fileprivate func showAnimation(_ animationStyle: SCLAnimationStyle = .topToBottom, animationStartOffset: CGFloat = -400.0, boundingAnimationOffset: CGFloat = 15.0, animationDuration: TimeInterval = 0.2) { |
755 | 817 | ||
756 | let rv = UIApplication.shared.keyWindow! as UIWindow | 818 | let rv = UIApplication.shared.keyWindow! as UIWindow |
757 | var animationStartOrigin = self.baseView.frame.origin | 819 | var animationStartOrigin = self.baseView.frame.origin |
758 | var animationCenter : CGPoint = rv.center | 820 | var animationCenter : CGPoint = rv.center |
759 | 821 | ||
760 | switch animationStyle { | 822 | switch animationStyle { |
761 | 823 | ||
762 | case .noAnimation: | 824 | case .noAnimation: |
763 | self.view.alpha = 1.0 | 825 | self.view.alpha = 1.0 |
764 | return; | 826 | return; |
765 | 827 | ||
766 | case .topToBottom: | 828 | case .topToBottom: |
767 | animationStartOrigin = CGPoint(x: animationStartOrigin.x, y: self.baseView.frame.origin.y + animationStartOffset) | 829 | animationStartOrigin = CGPoint(x: animationStartOrigin.x, y: self.baseView.frame.origin.y + animationStartOffset) |
768 | animationCenter = CGPoint(x: animationCenter.x, y: animationCenter.y + boundingAnimationOffset) | 830 | animationCenter = CGPoint(x: animationCenter.x, y: animationCenter.y + boundingAnimationOffset) |
769 | 831 | ||
770 | case .bottomToTop: | 832 | case .bottomToTop: |
771 | animationStartOrigin = CGPoint(x: animationStartOrigin.x, y: self.baseView.frame.origin.y - animationStartOffset) | 833 | animationStartOrigin = CGPoint(x: animationStartOrigin.x, y: self.baseView.frame.origin.y - animationStartOffset) |
772 | animationCenter = CGPoint(x: animationCenter.x, y: animationCenter.y - boundingAnimationOffset) | 834 | animationCenter = CGPoint(x: animationCenter.x, y: animationCenter.y - boundingAnimationOffset) |
773 | 835 | ||
774 | case .leftToRight: | 836 | case .leftToRight: |
775 | animationStartOrigin = CGPoint(x: self.baseView.frame.origin.x + animationStartOffset, y: animationStartOrigin.y) | 837 | animationStartOrigin = CGPoint(x: self.baseView.frame.origin.x + animationStartOffset, y: animationStartOrigin.y) |
776 | animationCenter = CGPoint(x: animationCenter.x + boundingAnimationOffset, y: animationCenter.y) | 838 | animationCenter = CGPoint(x: animationCenter.x + boundingAnimationOffset, y: animationCenter.y) |
777 | 839 | ||
778 | case .rightToLeft: | 840 | case .rightToLeft: |
779 | animationStartOrigin = CGPoint(x: self.baseView.frame.origin.x - animationStartOffset, y: animationStartOrigin.y) | 841 | animationStartOrigin = CGPoint(x: self.baseView.frame.origin.x - animationStartOffset, y: animationStartOrigin.y) |
780 | animationCenter = CGPoint(x: animationCenter.x - boundingAnimationOffset, y: animationCenter.y) | 842 | animationCenter = CGPoint(x: animationCenter.x - boundingAnimationOffset, y: animationCenter.y) |
781 | } | 843 | } |
782 | 844 | ||
783 | self.baseView.frame.origin = animationStartOrigin | 845 | self.baseView.frame.origin = animationStartOrigin |
784 | UIView.animate(withDuration: animationDuration, animations: { | 846 | |
785 | self.view.alpha = 1.0 | 847 | if self.appearance.dynamicAnimatorActive { |
786 | self.baseView.center = animationCenter | 848 | UIView.animate(withDuration: animationDuration, animations: { |
849 | self.view.alpha = 1.0 | ||
850 | }) | ||
851 | self.animate(item: self.baseView, center: rv.center) | ||
852 | } else { | ||
853 | UIView.animate(withDuration: animationDuration, animations: { | ||
854 | self.view.alpha = 1.0 | ||
855 | self.baseView.center = animationCenter | ||
787 | }, completion: { finished in | 856 | }, completion: { finished in |
788 | UIView.animate(withDuration: animationDuration, animations: { | 857 | UIView.animate(withDuration: animationDuration, animations: { |
789 | self.view.alpha = 1.0 | 858 | self.view.alpha = 1.0 |
790 | self.baseView.center = rv.center | 859 | self.baseView.center = rv.center |
791 | }) | 860 | }) |
792 | }) | 861 | }) |
862 | } | ||
793 | } | 863 | } |
794 | 864 | ||
795 | open func updateDurationStatus() { | 865 | // DynamicAnimator function |
796 | duration = duration.advanced(by: -1) | 866 | var animator : UIDynamicAnimator? |
797 | for btn in buttons.filter({$0.showDurationStatus}) { | 867 | var snapBehavior : UISnapBehavior? |
798 | let txt = "\(btn.initialTitle) (\(duration))" | 868 | |
869 | fileprivate func animate(item : UIView , center: CGPoint) { | ||
870 | |||
871 | if let snapBehavior = self.snapBehavior { | ||
872 | self.animator?.removeBehavior(snapBehavior) | ||
873 | } | ||
874 | |||
875 | self.animator = UIDynamicAnimator.init(referenceView: self.view) | ||
876 | let tempSnapBehavior = UISnapBehavior.init(item: item, snapTo: center) | ||
877 | self.animator?.addBehavior(tempSnapBehavior) | ||
878 | self.snapBehavior? = tempSnapBehavior | ||
879 | } | ||
880 | |||
881 | // | ||
882 | open func updateShowTimeout() { | ||
883 | |||
884 | guard let timeout = self.timeout else { | ||
885 | return | ||
886 | } | ||
887 | |||
888 | self.timeout?.value = timeout.value.advanced(by: -1) | ||
889 | |||
890 | for btn in buttons { | ||
891 | guard let showTimeout = btn.showTimeout else { | ||
892 | continue | ||
893 | } | ||
894 | |||
895 | let timeoutStr: String = showTimeout.prefix + String(Int(timeout.value)) + showTimeout.suffix | ||
896 | let txt = String(btn.initialTitle) + " " + timeoutStr | ||
799 | btn.setTitle(txt, for: UIControlState()) | 897 | btn.setTitle(txt, for: UIControlState()) |
898 | |||
800 | } | 899 | } |
900 | |||
801 | } | 901 | } |
802 | 902 | ||
803 | // Close SCLAlertView | 903 | // Close SCLAlertView |
804 | open func hideView() { | 904 | open func hideView() { |
805 | UIView.animate(withDuration: 0.2, animations: { | 905 | UIView.animate(withDuration: 0.2, animations: { |
806 | self.view.alpha = 0 | 906 | self.view.alpha = 0 |
807 | }, completion: { finished in | 907 | }, completion: { finished in |
808 | 908 | ||
809 | //Stop durationTimer so alertView does not attempt to hide itself and fire it's dimiss block a second time when close button is tapped | 909 | // Stop timeoutTimer so alertView does not attempt to hide itself and fire it's dimiss block a second time when close button is tapped |
810 | self.durationTimer?.invalidate() | 910 | self.timeoutTimer?.invalidate() |
811 | // Stop StatusTimer | 911 | |
812 | self.durationStatusTimer?.invalidate() | 912 | // Stop showTimeoutTimer |
813 | 913 | self.showTimeoutTimer?.invalidate() | |
814 | if(self.dismissBlock != nil) { | 914 | |
815 | // Call completion handler when the alert is dismissed | 915 | if let dismissBlock = self.dismissBlock { |
816 | self.dismissBlock!() | 916 | // Call completion handler when the alert is dismissed |
817 | } | 917 | dismissBlock() |
818 | 918 | } | |
819 | // This is necessary for SCLAlertView to be de-initialized, preventing a strong reference cycle with the viewcontroller calling SCLAlertView. | 919 | |
820 | for button in self.buttons { | 920 | // This is necessary for SCLAlertView to be de-initialized, preventing a strong reference cycle with the viewcontroller calling SCLAlertView. |
821 | button.action = nil | 921 | for button in self.buttons { |
822 | button.target = nil | 922 | button.action = nil |
823 | button.selector = nil | 923 | button.target = nil |
824 | } | 924 | button.selector = nil |
825 | 925 | } | |
826 | self.view.removeFromSuperview() | 926 | |
827 | self.selfReference = nil | 927 | self.view.removeFromSuperview() |
928 | self.selfReference = nil | ||
828 | }) | 929 | }) |
829 | } | 930 | } |
830 | 931 | ||
932 | open func hideViewTimeout() { | ||
933 | self.timeout?.action() | ||
934 | self.hideView() | ||
935 | } | ||
936 | |||
831 | func checkCircleIconImage(_ circleIconImage: UIImage?, defaultImage: UIImage) -> UIImage { | 937 | func checkCircleIconImage(_ circleIconImage: UIImage?, defaultImage: UIImage) -> UIImage { |
832 | if let image = circleIconImage { | 938 | if let image = circleIconImage { |
833 | return image | 939 | return image |
834 | } else { | 940 | } else { |
835 | return defaultImage | 941 | return defaultImage |
836 | } | 942 | } |
837 | } | 943 | } |
944 | |||
945 | //Return true if a SCLAlertView is already being shown, false otherwise | ||
946 | open func isShowing() -> Bool { | ||
947 | if let subviews = UIApplication.shared.keyWindow?.subviews { | ||
948 | for view in subviews { | ||
949 | if view.tag == uniqueTag && view.accessibilityIdentifier == uniqueAccessibilityIdentifier { | ||
950 | return true | ||
951 | } | ||
952 | } | ||
953 | } | ||
954 | return false | ||
955 | } | ||
838 | } | 956 | } |
839 | 957 | ||
840 | // Helper function to convert from RGB to UIColor | 958 | // Helper function to convert from RGB to UIColor |
841 | func UIColorFromRGB(_ rgbValue: UInt) -> UIColor { | 959 | func UIColorFromRGB(_ rgbValue: UInt) -> UIColor { |
842 | return UIColor( | 960 | return UIColor( |
843 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0, | 961 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0, |
844 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0, | 962 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0, |
845 | blue: CGFloat(rgbValue & 0x0000FF) / 255.0, | 963 | blue: CGFloat(rgbValue & 0x0000FF) / 255.0, |
846 | alpha: CGFloat(1.0) | 964 | alpha: CGFloat(1.0) |
847 | ) | 965 | ) |
848 | } | 966 | } |
849 | 967 | ||
850 | // ------------------------------------ | 968 | // ------------------------------------ |
851 | // Icon drawing | 969 | // Icon drawing |
852 | // Code generated by PaintCode | 970 | // Code generated by PaintCode |
853 | // ------------------------------------ | 971 | // ------------------------------------ |
854 | 972 | ||
855 | class SCLAlertViewStyleKit : NSObject { | 973 | class SCLAlertViewStyleKit : NSObject { |
856 | 974 | ||
857 | // Cache | 975 | // Cache |
858 | struct Cache { | 976 | struct Cache { |
859 | static var imageOfCheckmark: UIImage? | 977 | static var imageOfCheckmark: UIImage? |
860 | static var checkmarkTargets: [AnyObject]? | 978 | static var checkmarkTargets: [AnyObject]? |
861 | static var imageOfCross: UIImage? | 979 | static var imageOfCross: UIImage? |
862 | static var crossTargets: [AnyObject]? | 980 | static var crossTargets: [AnyObject]? |
863 | static var imageOfNotice: UIImage? | 981 | static var imageOfNotice: UIImage? |
864 | static var noticeTargets: [AnyObject]? | 982 | static var noticeTargets: [AnyObject]? |
865 | static var imageOfWarning: UIImage? | 983 | static var imageOfWarning: UIImage? |
866 | static var warningTargets: [AnyObject]? | 984 | static var warningTargets: [AnyObject]? |
867 | static var imageOfInfo: UIImage? | 985 | static var imageOfInfo: UIImage? |
868 | static var infoTargets: [AnyObject]? | 986 | static var infoTargets: [AnyObject]? |
869 | static var imageOfEdit: UIImage? | 987 | static var imageOfEdit: UIImage? |
870 | static var editTargets: [AnyObject]? | 988 | static var editTargets: [AnyObject]? |
989 | static var imageOfQuestion: UIImage? | ||
990 | static var questionTargets: [AnyObject]? | ||
871 | } | 991 | } |
872 | 992 | ||
873 | // Initialization | 993 | // Initialization |
874 | /// swift 1.2 abolish func load | 994 | /// swift 1.2 abolish func load |
875 | // override class func load() { | 995 | // override class func load() { |
876 | // } | 996 | // } |
877 | 997 | ||
878 | // Drawing Methods | 998 | // Drawing Methods |
879 | class func drawCheckmark() { | 999 | class func drawCheckmark() { |
880 | // Checkmark Shape Drawing | 1000 | // Checkmark Shape Drawing |
881 | let checkmarkShapePath = UIBezierPath() | 1001 | let checkmarkShapePath = UIBezierPath() |
882 | checkmarkShapePath.move(to: CGPoint(x: 73.25, y: 14.05)) | 1002 | checkmarkShapePath.move(to: CGPoint(x: 73.25, y: 14.05)) |
883 | checkmarkShapePath.addCurve(to: CGPoint(x: 64.51, y: 13.86), controlPoint1: CGPoint(x: 70.98, y: 11.44), controlPoint2: CGPoint(x: 66.78, y: 11.26)) | 1003 | checkmarkShapePath.addCurve(to: CGPoint(x: 64.51, y: 13.86), controlPoint1: CGPoint(x: 70.98, y: 11.44), controlPoint2: CGPoint(x: 66.78, y: 11.26)) |
884 | checkmarkShapePath.addLine(to: CGPoint(x: 27.46, y: 52)) | 1004 | checkmarkShapePath.addLine(to: CGPoint(x: 27.46, y: 52)) |
885 | checkmarkShapePath.addLine(to: CGPoint(x: 15.75, y: 39.54)) | 1005 | checkmarkShapePath.addLine(to: CGPoint(x: 15.75, y: 39.54)) |
886 | checkmarkShapePath.addCurve(to: CGPoint(x: 6.84, y: 39.54), controlPoint1: CGPoint(x: 13.48, y: 36.93), controlPoint2: CGPoint(x: 9.28, y: 36.93)) | 1006 | checkmarkShapePath.addCurve(to: CGPoint(x: 6.84, y: 39.54), controlPoint1: CGPoint(x: 13.48, y: 36.93), controlPoint2: CGPoint(x: 9.28, y: 36.93)) |
887 | checkmarkShapePath.addCurve(to: CGPoint(x: 6.84, y: 49.02), controlPoint1: CGPoint(x: 4.39, y: 42.14), controlPoint2: CGPoint(x: 4.39, y: 46.42)) | 1007 | checkmarkShapePath.addCurve(to: CGPoint(x: 6.84, y: 49.02), controlPoint1: CGPoint(x: 4.39, y: 42.14), controlPoint2: CGPoint(x: 4.39, y: 46.42)) |
888 | checkmarkShapePath.addLine(to: CGPoint(x: 22.91, y: 66.14)) | 1008 | checkmarkShapePath.addLine(to: CGPoint(x: 22.91, y: 66.14)) |
889 | checkmarkShapePath.addCurve(to: CGPoint(x: 27.28, y: 68), controlPoint1: CGPoint(x: 24.14, y: 67.44), controlPoint2: CGPoint(x: 25.71, y: 68)) | 1009 | checkmarkShapePath.addCurve(to: CGPoint(x: 27.28, y: 68), controlPoint1: CGPoint(x: 24.14, y: 67.44), controlPoint2: CGPoint(x: 25.71, y: 68)) |
890 | checkmarkShapePath.addCurve(to: CGPoint(x: 31.65, y: 66.14), controlPoint1: CGPoint(x: 28.86, y: 68), controlPoint2: CGPoint(x: 30.43, y: 67.26)) | 1010 | checkmarkShapePath.addCurve(to: CGPoint(x: 31.65, y: 66.14), controlPoint1: CGPoint(x: 28.86, y: 68), controlPoint2: CGPoint(x: 30.43, y: 67.26)) |
891 | checkmarkShapePath.addLine(to: CGPoint(x: 73.08, y: 23.35)) | 1011 | checkmarkShapePath.addLine(to: CGPoint(x: 73.08, y: 23.35)) |
892 | checkmarkShapePath.addCurve(to: CGPoint(x: 73.25, y: 14.05), controlPoint1: CGPoint(x: 75.52, y: 20.75), controlPoint2: CGPoint(x: 75.7, y: 16.65)) | 1012 | checkmarkShapePath.addCurve(to: CGPoint(x: 73.25, y: 14.05), controlPoint1: CGPoint(x: 75.52, y: 20.75), controlPoint2: CGPoint(x: 75.7, y: 16.65)) |
893 | checkmarkShapePath.close() | 1013 | checkmarkShapePath.close() |
894 | checkmarkShapePath.miterLimit = 4; | 1014 | checkmarkShapePath.miterLimit = 4; |
895 | 1015 | ||
896 | UIColor.white.setFill() | 1016 | UIColor.white.setFill() |
897 | checkmarkShapePath.fill() | 1017 | checkmarkShapePath.fill() |
898 | } | 1018 | } |
899 | 1019 | ||
900 | class func drawCross() { | 1020 | class func drawCross() { |
901 | // Cross Shape Drawing | 1021 | // Cross Shape Drawing |
902 | let crossShapePath = UIBezierPath() | 1022 | let crossShapePath = UIBezierPath() |
903 | crossShapePath.move(to: CGPoint(x: 10, y: 70)) | 1023 | crossShapePath.move(to: CGPoint(x: 10, y: 70)) |
904 | crossShapePath.addLine(to: CGPoint(x: 70, y: 10)) | 1024 | crossShapePath.addLine(to: CGPoint(x: 70, y: 10)) |
905 | crossShapePath.move(to: CGPoint(x: 10, y: 10)) | 1025 | crossShapePath.move(to: CGPoint(x: 10, y: 10)) |
906 | crossShapePath.addLine(to: CGPoint(x: 70, y: 70)) | 1026 | crossShapePath.addLine(to: CGPoint(x: 70, y: 70)) |
907 | crossShapePath.lineCapStyle = CGLineCap.round; | 1027 | crossShapePath.lineCapStyle = CGLineCap.round; |
908 | crossShapePath.lineJoinStyle = CGLineJoin.round; | 1028 | crossShapePath.lineJoinStyle = CGLineJoin.round; |
909 | UIColor.white.setStroke() | 1029 | UIColor.white.setStroke() |
910 | crossShapePath.lineWidth = 14 | 1030 | crossShapePath.lineWidth = 14 |
911 | crossShapePath.stroke() | 1031 | crossShapePath.stroke() |
912 | } | 1032 | } |
913 | 1033 | ||
914 | class func drawNotice() { | 1034 | class func drawNotice() { |
915 | // Notice Shape Drawing | 1035 | // Notice Shape Drawing |
916 | let noticeShapePath = UIBezierPath() | 1036 | let noticeShapePath = UIBezierPath() |
917 | noticeShapePath.move(to: CGPoint(x: 72, y: 48.54)) | 1037 | noticeShapePath.move(to: CGPoint(x: 72, y: 48.54)) |
918 | noticeShapePath.addLine(to: CGPoint(x: 72, y: 39.9)) | 1038 | noticeShapePath.addLine(to: CGPoint(x: 72, y: 39.9)) |
919 | noticeShapePath.addCurve(to: CGPoint(x: 66.38, y: 34.01), controlPoint1: CGPoint(x: 72, y: 36.76), controlPoint2: CGPoint(x: 69.48, y: 34.01)) | 1039 | noticeShapePath.addCurve(to: CGPoint(x: 66.38, y: 34.01), controlPoint1: CGPoint(x: 72, y: 36.76), controlPoint2: CGPoint(x: 69.48, y: 34.01)) |
920 | noticeShapePath.addCurve(to: CGPoint(x: 61.53, y: 35.97), controlPoint1: CGPoint(x: 64.82, y: 34.01), controlPoint2: CGPoint(x: 62.69, y: 34.8)) | 1040 | noticeShapePath.addCurve(to: CGPoint(x: 61.53, y: 35.97), controlPoint1: CGPoint(x: 64.82, y: 34.01), controlPoint2: CGPoint(x: 62.69, y: 34.8)) |
921 | noticeShapePath.addCurve(to: CGPoint(x: 60.36, y: 35.78), controlPoint1: CGPoint(x: 61.33, y: 35.97), controlPoint2: CGPoint(x: 62.3, y: 35.78)) | 1041 | noticeShapePath.addCurve(to: CGPoint(x: 60.36, y: 35.78), controlPoint1: CGPoint(x: 61.33, y: 35.97), controlPoint2: CGPoint(x: 62.3, y: 35.78)) |
922 | noticeShapePath.addLine(to: CGPoint(x: 60.36, y: 33.22)) | 1042 | noticeShapePath.addLine(to: CGPoint(x: 60.36, y: 33.22)) |
923 | noticeShapePath.addCurve(to: CGPoint(x: 54.16, y: 26.16), controlPoint1: CGPoint(x: 60.36, y: 29.3), controlPoint2: CGPoint(x: 57.65, y: 26.16)) | 1043 | noticeShapePath.addCurve(to: CGPoint(x: 54.16, y: 26.16), controlPoint1: CGPoint(x: 60.36, y: 29.3), controlPoint2: CGPoint(x: 57.65, y: 26.16)) |
924 | noticeShapePath.addCurve(to: CGPoint(x: 48.73, y: 29.89), controlPoint1: CGPoint(x: 51.64, y: 26.16), controlPoint2: CGPoint(x: 50.67, y: 27.73)) | 1044 | noticeShapePath.addCurve(to: CGPoint(x: 48.73, y: 29.89), controlPoint1: CGPoint(x: 51.64, y: 26.16), controlPoint2: CGPoint(x: 50.67, y: 27.73)) |
925 | noticeShapePath.addLine(to: CGPoint(x: 48.73, y: 28.71)) | 1045 | noticeShapePath.addLine(to: CGPoint(x: 48.73, y: 28.71)) |
926 | noticeShapePath.addCurve(to: CGPoint(x: 43.49, y: 21.64), controlPoint1: CGPoint(x: 48.73, y: 24.78), controlPoint2: CGPoint(x: 46.98, y: 21.64)) | 1046 | noticeShapePath.addCurve(to: CGPoint(x: 43.49, y: 21.64), controlPoint1: CGPoint(x: 48.73, y: 24.78), controlPoint2: CGPoint(x: 46.98, y: 21.64)) |
927 | noticeShapePath.addCurve(to: CGPoint(x: 39.03, y: 25.37), controlPoint1: CGPoint(x: 40.97, y: 21.64), controlPoint2: CGPoint(x: 39.03, y: 23.01)) | 1047 | noticeShapePath.addCurve(to: CGPoint(x: 39.03, y: 25.37), controlPoint1: CGPoint(x: 40.97, y: 21.64), controlPoint2: CGPoint(x: 39.03, y: 23.01)) |
928 | noticeShapePath.addLine(to: CGPoint(x: 39.03, y: 9.07)) | 1048 | noticeShapePath.addLine(to: CGPoint(x: 39.03, y: 9.07)) |
929 | noticeShapePath.addCurve(to: CGPoint(x: 32.24, y: 2), controlPoint1: CGPoint(x: 39.03, y: 5.14), controlPoint2: CGPoint(x: 35.73, y: 2)) | 1049 | noticeShapePath.addCurve(to: CGPoint(x: 32.24, y: 2), controlPoint1: CGPoint(x: 39.03, y: 5.14), controlPoint2: CGPoint(x: 35.73, y: 2)) |
930 | noticeShapePath.addCurve(to: CGPoint(x: 25.45, y: 9.07), controlPoint1: CGPoint(x: 28.56, y: 2), controlPoint2: CGPoint(x: 25.45, y: 5.14)) | 1050 | noticeShapePath.addCurve(to: CGPoint(x: 25.45, y: 9.07), controlPoint1: CGPoint(x: 28.56, y: 2), controlPoint2: CGPoint(x: 25.45, y: 5.14)) |
931 | noticeShapePath.addLine(to: CGPoint(x: 25.45, y: 41.47)) | 1051 | noticeShapePath.addLine(to: CGPoint(x: 25.45, y: 41.47)) |
932 | noticeShapePath.addCurve(to: CGPoint(x: 24.29, y: 43.44), controlPoint1: CGPoint(x: 25.45, y: 42.45), controlPoint2: CGPoint(x: 24.68, y: 43.04)) | 1052 | noticeShapePath.addCurve(to: CGPoint(x: 24.29, y: 43.44), controlPoint1: CGPoint(x: 25.45, y: 42.45), controlPoint2: CGPoint(x: 24.68, y: 43.04)) |
933 | noticeShapePath.addCurve(to: CGPoint(x: 9.55, y: 43.04), controlPoint1: CGPoint(x: 16.73, y: 40.88), controlPoint2: CGPoint(x: 11.88, y: 40.69)) | 1053 | noticeShapePath.addCurve(to: CGPoint(x: 9.55, y: 43.04), controlPoint1: CGPoint(x: 16.73, y: 40.88), controlPoint2: CGPoint(x: 11.88, y: 40.69)) |
934 | noticeShapePath.addCurve(to: CGPoint(x: 8, y: 46.58), controlPoint1: CGPoint(x: 8.58, y: 43.83), controlPoint2: CGPoint(x: 8, y: 45.2)) | 1054 | noticeShapePath.addCurve(to: CGPoint(x: 8, y: 46.58), controlPoint1: CGPoint(x: 8.58, y: 43.83), controlPoint2: CGPoint(x: 8, y: 45.2)) |
935 | noticeShapePath.addCurve(to: CGPoint(x: 14.4, y: 55.81), controlPoint1: CGPoint(x: 8.19, y: 50.31), controlPoint2: CGPoint(x: 12.07, y: 53.84)) | 1055 | noticeShapePath.addCurve(to: CGPoint(x: 14.4, y: 55.81), controlPoint1: CGPoint(x: 8.19, y: 50.31), controlPoint2: CGPoint(x: 12.07, y: 53.84)) |
936 | noticeShapePath.addLine(to: CGPoint(x: 27.2, y: 69.56)) | 1056 | noticeShapePath.addLine(to: CGPoint(x: 27.2, y: 69.56)) |
937 | noticeShapePath.addCurve(to: CGPoint(x: 42.91, y: 77.8), controlPoint1: CGPoint(x: 30.5, y: 74.47), controlPoint2: CGPoint(x: 35.73, y: 77.21)) | 1057 | noticeShapePath.addCurve(to: CGPoint(x: 42.91, y: 77.8), controlPoint1: CGPoint(x: 30.5, y: 74.47), controlPoint2: CGPoint(x: 35.73, y: 77.21)) |
938 | noticeShapePath.addCurve(to: CGPoint(x: 43.88, y: 77.8), controlPoint1: CGPoint(x: 43.3, y: 77.8), controlPoint2: CGPoint(x: 43.68, y: 77.8)) | 1058 | noticeShapePath.addCurve(to: CGPoint(x: 43.88, y: 77.8), controlPoint1: CGPoint(x: 43.3, y: 77.8), controlPoint2: CGPoint(x: 43.68, y: 77.8)) |
939 | noticeShapePath.addCurve(to: CGPoint(x: 47.18, y: 78), controlPoint1: CGPoint(x: 45.04, y: 77.8), controlPoint2: CGPoint(x: 46.01, y: 78)) | 1059 | noticeShapePath.addCurve(to: CGPoint(x: 47.18, y: 78), controlPoint1: CGPoint(x: 45.04, y: 77.8), controlPoint2: CGPoint(x: 46.01, y: 78)) |
940 | noticeShapePath.addLine(to: CGPoint(x: 48.34, y: 78)) | 1060 | noticeShapePath.addLine(to: CGPoint(x: 48.34, y: 78)) |
941 | noticeShapePath.addLine(to: CGPoint(x: 48.34, y: 78)) | 1061 | noticeShapePath.addLine(to: CGPoint(x: 48.34, y: 78)) |
942 | noticeShapePath.addCurve(to: CGPoint(x: 71.61, y: 52.08), controlPoint1: CGPoint(x: 56.48, y: 78), controlPoint2: CGPoint(x: 69.87, y: 75.05)) | 1062 | noticeShapePath.addCurve(to: CGPoint(x: 71.61, y: 52.08), controlPoint1: CGPoint(x: 56.48, y: 78), controlPoint2: CGPoint(x: 69.87, y: 75.05)) |
943 | noticeShapePath.addCurve(to: CGPoint(x: 72, y: 48.54), controlPoint1: CGPoint(x: 71.81, y: 51.29), controlPoint2: CGPoint(x: 72, y: 49.72)) | 1063 | noticeShapePath.addCurve(to: CGPoint(x: 72, y: 48.54), controlPoint1: CGPoint(x: 71.81, y: 51.29), controlPoint2: CGPoint(x: 72, y: 49.72)) |
944 | noticeShapePath.close() | 1064 | noticeShapePath.close() |
945 | noticeShapePath.miterLimit = 4; | 1065 | noticeShapePath.miterLimit = 4; |
946 | 1066 | ||
947 | UIColor.white.setFill() | 1067 | UIColor.white.setFill() |
948 | noticeShapePath.fill() | 1068 | noticeShapePath.fill() |
949 | } | 1069 | } |
950 | 1070 | ||
951 | class func drawWarning() { | 1071 | class func drawWarning() { |
952 | // Color Declarations | 1072 | // Color Declarations |
953 | let greyColor = UIColor(red: 0.236, green: 0.236, blue: 0.236, alpha: 1.000) | 1073 | let greyColor = UIColor(red: 0.236, green: 0.236, blue: 0.236, alpha: 1.000) |
954 | 1074 | ||
955 | // Warning Group | 1075 | // Warning Group |
956 | // Warning Circle Drawing | 1076 | // Warning Circle Drawing |
957 | let warningCirclePath = UIBezierPath() | 1077 | let warningCirclePath = UIBezierPath() |
958 | warningCirclePath.move(to: CGPoint(x: 40.94, y: 63.39)) | 1078 | warningCirclePath.move(to: CGPoint(x: 40.94, y: 63.39)) |
959 | warningCirclePath.addCurve(to: CGPoint(x: 36.03, y: 65.55), controlPoint1: CGPoint(x: 39.06, y: 63.39), controlPoint2: CGPoint(x: 37.36, y: 64.18)) | 1079 | warningCirclePath.addCurve(to: CGPoint(x: 36.03, y: 65.55), controlPoint1: CGPoint(x: 39.06, y: 63.39), controlPoint2: CGPoint(x: 37.36, y: 64.18)) |
960 | warningCirclePath.addCurve(to: CGPoint(x: 34.14, y: 70.45), controlPoint1: CGPoint(x: 34.9, y: 66.92), controlPoint2: CGPoint(x: 34.14, y: 68.49)) | 1080 | warningCirclePath.addCurve(to: CGPoint(x: 34.14, y: 70.45), controlPoint1: CGPoint(x: 34.9, y: 66.92), controlPoint2: CGPoint(x: 34.14, y: 68.49)) |
961 | warningCirclePath.addCurve(to: CGPoint(x: 36.22, y: 75.54), controlPoint1: CGPoint(x: 34.14, y: 72.41), controlPoint2: CGPoint(x: 34.9, y: 74.17)) | 1081 | warningCirclePath.addCurve(to: CGPoint(x: 36.22, y: 75.54), controlPoint1: CGPoint(x: 34.14, y: 72.41), controlPoint2: CGPoint(x: 34.9, y: 74.17)) |
962 | warningCirclePath.addCurve(to: CGPoint(x: 40.94, y: 77.5), controlPoint1: CGPoint(x: 37.54, y: 76.91), controlPoint2: CGPoint(x: 39.06, y: 77.5)) | 1082 | warningCirclePath.addCurve(to: CGPoint(x: 40.94, y: 77.5), controlPoint1: CGPoint(x: 37.54, y: 76.91), controlPoint2: CGPoint(x: 39.06, y: 77.5)) |
963 | warningCirclePath.addCurve(to: CGPoint(x: 45.86, y: 75.35), controlPoint1: CGPoint(x: 42.83, y: 77.5), controlPoint2: CGPoint(x: 44.53, y: 76.72)) | 1083 | warningCirclePath.addCurve(to: CGPoint(x: 45.86, y: 75.35), controlPoint1: CGPoint(x: 42.83, y: 77.5), controlPoint2: CGPoint(x: 44.53, y: 76.72)) |
964 | warningCirclePath.addCurve(to: CGPoint(x: 47.93, y: 70.45), controlPoint1: CGPoint(x: 47.18, y: 74.17), controlPoint2: CGPoint(x: 47.93, y: 72.41)) | 1084 | warningCirclePath.addCurve(to: CGPoint(x: 47.93, y: 70.45), controlPoint1: CGPoint(x: 47.18, y: 74.17), controlPoint2: CGPoint(x: 47.93, y: 72.41)) |
965 | warningCirclePath.addCurve(to: CGPoint(x: 45.86, y: 65.35), controlPoint1: CGPoint(x: 47.93, y: 68.49), controlPoint2: CGPoint(x: 47.18, y: 66.72)) | 1085 | warningCirclePath.addCurve(to: CGPoint(x: 45.86, y: 65.35), controlPoint1: CGPoint(x: 47.93, y: 68.49), controlPoint2: CGPoint(x: 47.18, y: 66.72)) |
966 | warningCirclePath.addCurve(to: CGPoint(x: 40.94, y: 63.39), controlPoint1: CGPoint(x: 44.53, y: 64.18), controlPoint2: CGPoint(x: 42.83, y: 63.39)) | 1086 | warningCirclePath.addCurve(to: CGPoint(x: 40.94, y: 63.39), controlPoint1: CGPoint(x: 44.53, y: 64.18), controlPoint2: CGPoint(x: 42.83, y: 63.39)) |
967 | warningCirclePath.close() | 1087 | warningCirclePath.close() |
968 | warningCirclePath.miterLimit = 4; | 1088 | warningCirclePath.miterLimit = 4; |
969 | 1089 | ||
970 | greyColor.setFill() | 1090 | greyColor.setFill() |
971 | warningCirclePath.fill() | 1091 | warningCirclePath.fill() |
972 | 1092 | ||
973 | 1093 | ||
974 | // Warning Shape Drawing | 1094 | // Warning Shape Drawing |
975 | let warningShapePath = UIBezierPath() | 1095 | let warningShapePath = UIBezierPath() |
976 | warningShapePath.move(to: CGPoint(x: 46.23, y: 4.26)) | 1096 | warningShapePath.move(to: CGPoint(x: 46.23, y: 4.26)) |
977 | warningShapePath.addCurve(to: CGPoint(x: 40.94, y: 2.5), controlPoint1: CGPoint(x: 44.91, y: 3.09), controlPoint2: CGPoint(x: 43.02, y: 2.5)) | 1097 | warningShapePath.addCurve(to: CGPoint(x: 40.94, y: 2.5), controlPoint1: CGPoint(x: 44.91, y: 3.09), controlPoint2: CGPoint(x: 43.02, y: 2.5)) |
978 | warningShapePath.addCurve(to: CGPoint(x: 34.71, y: 4.26), controlPoint1: CGPoint(x: 38.68, y: 2.5), controlPoint2: CGPoint(x: 36.03, y: 3.09)) | 1098 | warningShapePath.addCurve(to: CGPoint(x: 34.71, y: 4.26), controlPoint1: CGPoint(x: 38.68, y: 2.5), controlPoint2: CGPoint(x: 36.03, y: 3.09)) |
979 | warningShapePath.addCurve(to: CGPoint(x: 31.5, y: 8.77), controlPoint1: CGPoint(x: 33.01, y: 5.44), controlPoint2: CGPoint(x: 31.5, y: 7.01)) | 1099 | warningShapePath.addCurve(to: CGPoint(x: 31.5, y: 8.77), controlPoint1: CGPoint(x: 33.01, y: 5.44), controlPoint2: CGPoint(x: 31.5, y: 7.01)) |
980 | warningShapePath.addLine(to: CGPoint(x: 31.5, y: 19.36)) | 1100 | warningShapePath.addLine(to: CGPoint(x: 31.5, y: 19.36)) |
981 | warningShapePath.addLine(to: CGPoint(x: 34.71, y: 54.44)) | 1101 | warningShapePath.addLine(to: CGPoint(x: 34.71, y: 54.44)) |
982 | warningShapePath.addCurve(to: CGPoint(x: 40.38, y: 58.16), controlPoint1: CGPoint(x: 34.9, y: 56.2), controlPoint2: CGPoint(x: 36.41, y: 58.16)) | 1102 | warningShapePath.addCurve(to: CGPoint(x: 40.38, y: 58.16), controlPoint1: CGPoint(x: 34.9, y: 56.2), controlPoint2: CGPoint(x: 36.41, y: 58.16)) |
983 | warningShapePath.addCurve(to: CGPoint(x: 45.67, y: 54.44), controlPoint1: CGPoint(x: 44.34, y: 58.16), controlPoint2: CGPoint(x: 45.67, y: 56.01)) | 1103 | warningShapePath.addCurve(to: CGPoint(x: 45.67, y: 54.44), controlPoint1: CGPoint(x: 44.34, y: 58.16), controlPoint2: CGPoint(x: 45.67, y: 56.01)) |
984 | warningShapePath.addLine(to: CGPoint(x: 48.5, y: 19.36)) | 1104 | warningShapePath.addLine(to: CGPoint(x: 48.5, y: 19.36)) |
985 | warningShapePath.addLine(to: CGPoint(x: 48.5, y: 8.77)) | 1105 | warningShapePath.addLine(to: CGPoint(x: 48.5, y: 8.77)) |
986 | warningShapePath.addCurve(to: CGPoint(x: 46.23, y: 4.26), controlPoint1: CGPoint(x: 48.5, y: 7.01), controlPoint2: CGPoint(x: 47.74, y: 5.44)) | 1106 | warningShapePath.addCurve(to: CGPoint(x: 46.23, y: 4.26), controlPoint1: CGPoint(x: 48.5, y: 7.01), controlPoint2: CGPoint(x: 47.74, y: 5.44)) |
987 | warningShapePath.close() | 1107 | warningShapePath.close() |
988 | warningShapePath.miterLimit = 4; | 1108 | warningShapePath.miterLimit = 4; |
989 | 1109 | ||
990 | greyColor.setFill() | 1110 | greyColor.setFill() |
991 | warningShapePath.fill() | 1111 | warningShapePath.fill() |
992 | } | 1112 | } |
993 | 1113 | ||
994 | class func drawInfo() { | 1114 | class func drawInfo() { |
995 | // Color Declarations | 1115 | // Color Declarations |
996 | let color0 = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1.000) | 1116 | let color0 = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1.000) |
997 | 1117 | ||
998 | // Info Shape Drawing | 1118 | // Info Shape Drawing |
999 | let infoShapePath = UIBezierPath() | 1119 | let infoShapePath = UIBezierPath() |
1000 | infoShapePath.move(to: CGPoint(x: 45.66, y: 15.96)) | 1120 | infoShapePath.move(to: CGPoint(x: 45.66, y: 15.96)) |
1001 | infoShapePath.addCurve(to: CGPoint(x: 45.66, y: 5.22), controlPoint1: CGPoint(x: 48.78, y: 12.99), controlPoint2: CGPoint(x: 48.78, y: 8.19)) | 1121 | infoShapePath.addCurve(to: CGPoint(x: 45.66, y: 5.22), controlPoint1: CGPoint(x: 48.78, y: 12.99), controlPoint2: CGPoint(x: 48.78, y: 8.19)) |
1002 | infoShapePath.addCurve(to: CGPoint(x: 34.34, y: 5.22), controlPoint1: CGPoint(x: 42.53, y: 2.26), controlPoint2: CGPoint(x: 37.47, y: 2.26)) | 1122 | infoShapePath.addCurve(to: CGPoint(x: 34.34, y: 5.22), controlPoint1: CGPoint(x: 42.53, y: 2.26), controlPoint2: CGPoint(x: 37.47, y: 2.26)) |
1003 | infoShapePath.addCurve(to: CGPoint(x: 34.34, y: 15.96), controlPoint1: CGPoint(x: 31.22, y: 8.19), controlPoint2: CGPoint(x: 31.22, y: 12.99)) | 1123 | infoShapePath.addCurve(to: CGPoint(x: 34.34, y: 15.96), controlPoint1: CGPoint(x: 31.22, y: 8.19), controlPoint2: CGPoint(x: 31.22, y: 12.99)) |
1004 | infoShapePath.addCurve(to: CGPoint(x: 45.66, y: 15.96), controlPoint1: CGPoint(x: 37.47, y: 18.92), controlPoint2: CGPoint(x: 42.53, y: 18.92)) | 1124 | infoShapePath.addCurve(to: CGPoint(x: 45.66, y: 15.96), controlPoint1: CGPoint(x: 37.47, y: 18.92), controlPoint2: CGPoint(x: 42.53, y: 18.92)) |
1005 | infoShapePath.close() | 1125 | infoShapePath.close() |
1006 | infoShapePath.move(to: CGPoint(x: 48, y: 69.41)) | 1126 | infoShapePath.move(to: CGPoint(x: 48, y: 69.41)) |
1007 | infoShapePath.addCurve(to: CGPoint(x: 40, y: 77), controlPoint1: CGPoint(x: 48, y: 73.58), controlPoint2: CGPoint(x: 44.4, y: 77)) | 1127 | infoShapePath.addCurve(to: CGPoint(x: 40, y: 77), controlPoint1: CGPoint(x: 48, y: 73.58), controlPoint2: CGPoint(x: 44.4, y: 77)) |
1008 | infoShapePath.addLine(to: CGPoint(x: 40, y: 77)) | 1128 | infoShapePath.addLine(to: CGPoint(x: 40, y: 77)) |
1009 | infoShapePath.addCurve(to: CGPoint(x: 32, y: 69.41), controlPoint1: CGPoint(x: 35.6, y: 77), controlPoint2: CGPoint(x: 32, y: 73.58)) | 1129 | infoShapePath.addCurve(to: CGPoint(x: 32, y: 69.41), controlPoint1: CGPoint(x: 35.6, y: 77), controlPoint2: CGPoint(x: 32, y: 73.58)) |
1010 | infoShapePath.addLine(to: CGPoint(x: 32, y: 35.26)) | 1130 | infoShapePath.addLine(to: CGPoint(x: 32, y: 35.26)) |
1011 | infoShapePath.addCurve(to: CGPoint(x: 40, y: 27.67), controlPoint1: CGPoint(x: 32, y: 31.08), controlPoint2: CGPoint(x: 35.6, y: 27.67)) | 1131 | infoShapePath.addCurve(to: CGPoint(x: 40, y: 27.67), controlPoint1: CGPoint(x: 32, y: 31.08), controlPoint2: CGPoint(x: 35.6, y: 27.67)) |
1012 | infoShapePath.addLine(to: CGPoint(x: 40, y: 27.67)) | 1132 | infoShapePath.addLine(to: CGPoint(x: 40, y: 27.67)) |
1013 | infoShapePath.addCurve(to: CGPoint(x: 48, y: 35.26), controlPoint1: CGPoint(x: 44.4, y: 27.67), controlPoint2: CGPoint(x: 48, y: 31.08)) | 1133 | infoShapePath.addCurve(to: CGPoint(x: 48, y: 35.26), controlPoint1: CGPoint(x: 44.4, y: 27.67), controlPoint2: CGPoint(x: 48, y: 31.08)) |
1014 | infoShapePath.addLine(to: CGPoint(x: 48, y: 69.41)) | 1134 | infoShapePath.addLine(to: CGPoint(x: 48, y: 69.41)) |
1015 | infoShapePath.close() | 1135 | infoShapePath.close() |
1016 | color0.setFill() | 1136 | color0.setFill() |
1017 | infoShapePath.fill() | 1137 | infoShapePath.fill() |
1018 | } | 1138 | } |
1019 | 1139 | ||
1020 | class func drawEdit() { | 1140 | class func drawEdit() { |
1021 | // Color Declarations | 1141 | // Color Declarations |
1022 | let color = UIColor(red:1.0, green:1.0, blue:1.0, alpha:1.0) | 1142 | let color = UIColor(red:1.0, green:1.0, blue:1.0, alpha:1.0) |
1023 | 1143 | ||
1024 | // Edit shape Drawing | 1144 | // Edit shape Drawing |
1025 | let editPathPath = UIBezierPath() | 1145 | let editPathPath = UIBezierPath() |
1026 | editPathPath.move(to: CGPoint(x: 71, y: 2.7)) | 1146 | editPathPath.move(to: CGPoint(x: 71, y: 2.7)) |
1027 | editPathPath.addCurve(to: CGPoint(x: 71.9, y: 15.2), controlPoint1: CGPoint(x: 74.7, y: 5.9), controlPoint2: CGPoint(x: 75.1, y: 11.6)) | 1147 | editPathPath.addCurve(to: CGPoint(x: 71.9, y: 15.2), controlPoint1: CGPoint(x: 74.7, y: 5.9), controlPoint2: CGPoint(x: 75.1, y: 11.6)) |
1028 | editPathPath.addLine(to: CGPoint(x: 64.5, y: 23.7)) | 1148 | editPathPath.addLine(to: CGPoint(x: 64.5, y: 23.7)) |
1029 | editPathPath.addLine(to: CGPoint(x: 49.9, y: 11.1)) | 1149 | editPathPath.addLine(to: CGPoint(x: 49.9, y: 11.1)) |
1030 | editPathPath.addLine(to: CGPoint(x: 57.3, y: 2.6)) | 1150 | editPathPath.addLine(to: CGPoint(x: 57.3, y: 2.6)) |
1031 | editPathPath.addCurve(to: CGPoint(x: 69.7, y: 1.7), controlPoint1: CGPoint(x: 60.4, y: -1.1), controlPoint2: CGPoint(x: 66.1, y: -1.5)) | 1151 | editPathPath.addCurve(to: CGPoint(x: 69.7, y: 1.7), controlPoint1: CGPoint(x: 60.4, y: -1.1), controlPoint2: CGPoint(x: 66.1, y: -1.5)) |
1032 | editPathPath.addLine(to: CGPoint(x: 71, y: 2.7)) | 1152 | editPathPath.addLine(to: CGPoint(x: 71, y: 2.7)) |
1033 | editPathPath.addLine(to: CGPoint(x: 71, y: 2.7)) | 1153 | editPathPath.addLine(to: CGPoint(x: 71, y: 2.7)) |
1034 | editPathPath.close() | 1154 | editPathPath.close() |
1035 | editPathPath.move(to: CGPoint(x: 47.8, y: 13.5)) | 1155 | editPathPath.move(to: CGPoint(x: 47.8, y: 13.5)) |
1036 | editPathPath.addLine(to: CGPoint(x: 13.4, y: 53.1)) | 1156 | editPathPath.addLine(to: CGPoint(x: 13.4, y: 53.1)) |
1037 | editPathPath.addLine(to: CGPoint(x: 15.7, y: 55.1)) | 1157 | editPathPath.addLine(to: CGPoint(x: 15.7, y: 55.1)) |
1038 | editPathPath.addLine(to: CGPoint(x: 50.1, y: 15.5)) | 1158 | editPathPath.addLine(to: CGPoint(x: 50.1, y: 15.5)) |
1039 | editPathPath.addLine(to: CGPoint(x: 47.8, y: 13.5)) | 1159 | editPathPath.addLine(to: CGPoint(x: 47.8, y: 13.5)) |
1040 | editPathPath.addLine(to: CGPoint(x: 47.8, y: 13.5)) | 1160 | editPathPath.addLine(to: CGPoint(x: 47.8, y: 13.5)) |
1041 | editPathPath.close() | 1161 | editPathPath.close() |
1042 | editPathPath.move(to: CGPoint(x: 17.7, y: 56.7)) | 1162 | editPathPath.move(to: CGPoint(x: 17.7, y: 56.7)) |
1043 | editPathPath.addLine(to: CGPoint(x: 23.8, y: 62.2)) | 1163 | editPathPath.addLine(to: CGPoint(x: 23.8, y: 62.2)) |
1044 | editPathPath.addLine(to: CGPoint(x: 58.2, y: 22.6)) | 1164 | editPathPath.addLine(to: CGPoint(x: 58.2, y: 22.6)) |
1045 | editPathPath.addLine(to: CGPoint(x: 52, y: 17.1)) | 1165 | editPathPath.addLine(to: CGPoint(x: 52, y: 17.1)) |
1046 | editPathPath.addLine(to: CGPoint(x: 17.7, y: 56.7)) | 1166 | editPathPath.addLine(to: CGPoint(x: 17.7, y: 56.7)) |
1047 | editPathPath.addLine(to: CGPoint(x: 17.7, y: 56.7)) | 1167 | editPathPath.addLine(to: CGPoint(x: 17.7, y: 56.7)) |
1048 | editPathPath.close() | 1168 | editPathPath.close() |
1049 | editPathPath.move(to: CGPoint(x: 25.8, y: 63.8)) | 1169 | editPathPath.move(to: CGPoint(x: 25.8, y: 63.8)) |
1050 | editPathPath.addLine(to: CGPoint(x: 60.1, y: 24.2)) | 1170 | editPathPath.addLine(to: CGPoint(x: 60.1, y: 24.2)) |
1051 | editPathPath.addLine(to: CGPoint(x: 62.3, y: 26.1)) | 1171 | editPathPath.addLine(to: CGPoint(x: 62.3, y: 26.1)) |
1052 | editPathPath.addLine(to: CGPoint(x: 28.1, y: 65.7)) | 1172 | editPathPath.addLine(to: CGPoint(x: 28.1, y: 65.7)) |
1053 | editPathPath.addLine(to: CGPoint(x: 25.8, y: 63.8)) | 1173 | editPathPath.addLine(to: CGPoint(x: 25.8, y: 63.8)) |
1054 | editPathPath.addLine(to: CGPoint(x: 25.8, y: 63.8)) | 1174 | editPathPath.addLine(to: CGPoint(x: 25.8, y: 63.8)) |
1055 | editPathPath.close() | 1175 | editPathPath.close() |
1056 | editPathPath.move(to: CGPoint(x: 25.9, y: 68.1)) | 1176 | editPathPath.move(to: CGPoint(x: 25.9, y: 68.1)) |
1057 | editPathPath.addLine(to: CGPoint(x: 4.2, y: 79.5)) | 1177 | editPathPath.addLine(to: CGPoint(x: 4.2, y: 79.5)) |
1058 | editPathPath.addLine(to: CGPoint(x: 11.3, y: 55.5)) | 1178 | editPathPath.addLine(to: CGPoint(x: 11.3, y: 55.5)) |
1059 | editPathPath.addLine(to: CGPoint(x: 25.9, y: 68.1)) | 1179 | editPathPath.addLine(to: CGPoint(x: 25.9, y: 68.1)) |
1060 | editPathPath.close() | 1180 | editPathPath.close() |
1061 | editPathPath.miterLimit = 4; | 1181 | editPathPath.miterLimit = 4; |
1062 | editPathPath.usesEvenOddFillRule = true; | 1182 | editPathPath.usesEvenOddFillRule = true; |
1063 | color.setFill() | 1183 | color.setFill() |
1064 | editPathPath.fill() | 1184 | editPathPath.fill() |
1065 | } | 1185 | } |
1066 | 1186 | ||
1187 | class func drawQuestion() { | ||
1188 | // Color Declarations | ||
1189 | let color = UIColor(red: CGFloat(1.0), green: CGFloat(1.0), blue: CGFloat(1.0), alpha: CGFloat(1.0)) | ||
1190 | // Questionmark Shape Drawing | ||
1191 | let questionShapePath = UIBezierPath() | ||
1192 | questionShapePath.move(to: CGPoint(x: CGFloat(33.75), y: CGFloat(54.1))) | ||
1193 | questionShapePath.addLine(to: CGPoint(x: CGFloat(44.15), y: CGFloat(54.1))) | ||
1194 | questionShapePath.addLine(to: CGPoint(x: CGFloat(44.15), y: CGFloat(47.5))) | ||
1195 | questionShapePath.addCurve(to: CGPoint(x: CGFloat(51.85), y: CGFloat(37.2)), controlPoint1: CGPoint(x: CGFloat(44.15), y: CGFloat(42.9)), controlPoint2: CGPoint(x: CGFloat(46.75), y: CGFloat(41.2))) | ||
1196 | questionShapePath.addCurve(to: CGPoint(x: CGFloat(61.95), y: CGFloat(19.9)), controlPoint1: CGPoint(x: CGFloat(59.05), y: CGFloat(31.6)), controlPoint2: CGPoint(x: CGFloat(61.95), y: CGFloat(28.5))) | ||
1197 | questionShapePath.addCurve(to: CGPoint(x: CGFloat(41.45), y: CGFloat(2.8)), controlPoint1: CGPoint(x: CGFloat(61.95), y: CGFloat(7.6)), controlPoint2: CGPoint(x: CGFloat(52.85), y: CGFloat(2.8))) | ||
1198 | questionShapePath.addCurve(to: CGPoint(x: CGFloat(25.05), y: CGFloat(5.8)), controlPoint1: CGPoint(x: CGFloat(34.75), y: CGFloat(2.8)), controlPoint2: CGPoint(x: CGFloat(29.65), y: CGFloat(3.8))) | ||
1199 | questionShapePath.addLine(to: CGPoint(x: CGFloat(25.05), y: CGFloat(14.4))) | ||
1200 | questionShapePath.addCurve(to: CGPoint(x: CGFloat(38.15), y: CGFloat(12.3)), controlPoint1: CGPoint(x: CGFloat(29.15), y: CGFloat(13.2)), controlPoint2: CGPoint(x: CGFloat(32.35), y: CGFloat(12.3))) | ||
1201 | questionShapePath.addCurve(to: CGPoint(x: CGFloat(49.65), y: CGFloat(20.8)), controlPoint1: CGPoint(x: CGFloat(45.65), y: CGFloat(12.3)), controlPoint2: CGPoint(x: CGFloat(49.65), y: CGFloat(14.4))) | ||
1202 | questionShapePath.addCurve(to: CGPoint(x: CGFloat(43.65), y: CGFloat(31.7)), controlPoint1: CGPoint(x: CGFloat(49.65), y: CGFloat(26)), controlPoint2: CGPoint(x: CGFloat(47.95), y: CGFloat(28.4))) | ||
1203 | questionShapePath.addCurve(to: CGPoint(x: CGFloat(33.75), y: CGFloat(46.6)), controlPoint1: CGPoint(x: CGFloat(37.15), y: CGFloat(36.9)), controlPoint2: CGPoint(x: CGFloat(33.75), y: CGFloat(39.7))) | ||
1204 | questionShapePath.addLine(to: CGPoint(x: CGFloat(33.75), y: CGFloat(54.1))) | ||
1205 | questionShapePath.close() | ||
1206 | questionShapePath.move(to: CGPoint(x: CGFloat(33.15), y: CGFloat(75.4))) | ||
1207 | questionShapePath.addLine(to: CGPoint(x: CGFloat(45.35), y: CGFloat(75.4))) | ||
1208 | questionShapePath.addLine(to: CGPoint(x: CGFloat(45.35), y: CGFloat(63.7))) | ||
1209 | questionShapePath.addLine(to: CGPoint(x: CGFloat(33.15), y: CGFloat(63.7))) | ||
1210 | questionShapePath.addLine(to: CGPoint(x: CGFloat(33.15), y: CGFloat(75.4))) | ||
1211 | questionShapePath.close() | ||
1212 | color.setFill() | ||
1213 | questionShapePath.fill() | ||
1214 | } | ||
1215 | |||
1067 | // Generated Images | 1216 | // Generated Images |
1068 | class var imageOfCheckmark: UIImage { | 1217 | class var imageOfCheckmark: UIImage { |
1069 | if (Cache.imageOfCheckmark != nil) { | 1218 | if (Cache.imageOfCheckmark != nil) { |
1070 | return Cache.imageOfCheckmark! | 1219 | return Cache.imageOfCheckmark! |
1071 | } | 1220 | } |
1072 | UIGraphicsBeginImageContextWithOptions(CGSize(width: 80, height: 80), false, 0) | 1221 | UIGraphicsBeginImageContextWithOptions(CGSize(width: 80, height: 80), false, 0) |
1073 | SCLAlertViewStyleKit.drawCheckmark() | 1222 | SCLAlertViewStyleKit.drawCheckmark() |
1074 | Cache.imageOfCheckmark = UIGraphicsGetImageFromCurrentImageContext() | 1223 | Cache.imageOfCheckmark = UIGraphicsGetImageFromCurrentImageContext() |
1075 | UIGraphicsEndImageContext() | 1224 | UIGraphicsEndImageContext() |
1076 | return Cache.imageOfCheckmark! | 1225 | return Cache.imageOfCheckmark! |
1077 | } | 1226 | } |
1078 | 1227 | ||
1079 | class var imageOfCross: UIImage { | 1228 | class var imageOfCross: UIImage { |
1080 | if (Cache.imageOfCross != nil) { | 1229 | if (Cache.imageOfCross != nil) { |
1081 | return Cache.imageOfCross! | 1230 | return Cache.imageOfCross! |
1082 | } | 1231 | } |
1083 | UIGraphicsBeginImageContextWithOptions(CGSize(width: 80, height: 80), false, 0) | 1232 | UIGraphicsBeginImageContextWithOptions(CGSize(width: 80, height: 80), false, 0) |
1084 | SCLAlertViewStyleKit.drawCross() | 1233 | SCLAlertViewStyleKit.drawCross() |
1085 | Cache.imageOfCross = UIGraphicsGetImageFromCurrentImageContext() | 1234 | Cache.imageOfCross = UIGraphicsGetImageFromCurrentImageContext() |
1086 | UIGraphicsEndImageContext() | 1235 | UIGraphicsEndImageContext() |
1087 | return Cache.imageOfCross! | 1236 | return Cache.imageOfCross! |
1088 | } | 1237 | } |
1089 | 1238 | ||
1090 | class var imageOfNotice: UIImage { | 1239 | class var imageOfNotice: UIImage { |
1091 | if (Cache.imageOfNotice != nil) { | 1240 | if (Cache.imageOfNotice != nil) { |
1092 | return Cache.imageOfNotice! | 1241 | return Cache.imageOfNotice! |
1093 | } | 1242 | } |
1094 | UIGraphicsBeginImageContextWithOptions(CGSize(width: 80, height: 80), false, 0) | 1243 | UIGraphicsBeginImageContextWithOptions(CGSize(width: 80, height: 80), false, 0) |
1095 | SCLAlertViewStyleKit.drawNotice() | 1244 | SCLAlertViewStyleKit.drawNotice() |
1096 | Cache.imageOfNotice = UIGraphicsGetImageFromCurrentImageContext() | 1245 | Cache.imageOfNotice = UIGraphicsGetImageFromCurrentImageContext() |
1097 | UIGraphicsEndImageContext() | 1246 | UIGraphicsEndImageContext() |
1098 | return Cache.imageOfNotice! | 1247 | return Cache.imageOfNotice! |
1099 | } | 1248 | } |
1100 | 1249 | ||
1101 | class var imageOfWarning: UIImage { | 1250 | class var imageOfWarning: UIImage { |
1102 | if (Cache.imageOfWarning != nil) { | 1251 | if (Cache.imageOfWarning != nil) { |
1103 | return Cache.imageOfWarning! | 1252 | return Cache.imageOfWarning! |
1104 | } | 1253 | } |
1105 | UIGraphicsBeginImageContextWithOptions(CGSize(width: 80, height: 80), false, 0) | 1254 | UIGraphicsBeginImageContextWithOptions(CGSize(width: 80, height: 80), false, 0) |
1106 | SCLAlertViewStyleKit.drawWarning() | 1255 | SCLAlertViewStyleKit.drawWarning() |
1107 | Cache.imageOfWarning = UIGraphicsGetImageFromCurrentImageContext() | 1256 | Cache.imageOfWarning = UIGraphicsGetImageFromCurrentImageContext() |
1108 | UIGraphicsEndImageContext() | 1257 | UIGraphicsEndImageContext() |
1109 | return Cache.imageOfWarning! | 1258 | return Cache.imageOfWarning! |
1110 | } | 1259 | } |
1111 | 1260 | ||
1112 | class var imageOfInfo: UIImage { | 1261 | class var imageOfInfo: UIImage { |
1113 | if (Cache.imageOfInfo != nil) { | 1262 | if (Cache.imageOfInfo != nil) { |
1114 | return Cache.imageOfInfo! | 1263 | return Cache.imageOfInfo! |
1115 | } | 1264 | } |
1116 | UIGraphicsBeginImageContextWithOptions(CGSize(width: 80, height: 80), false, 0) | 1265 | UIGraphicsBeginImageContextWithOptions(CGSize(width: 80, height: 80), false, 0) |
1117 | SCLAlertViewStyleKit.drawInfo() | 1266 | SCLAlertViewStyleKit.drawInfo() |
1118 | Cache.imageOfInfo = UIGraphicsGetImageFromCurrentImageContext() | 1267 | Cache.imageOfInfo = UIGraphicsGetImageFromCurrentImageContext() |
1119 | UIGraphicsEndImageContext() | 1268 | UIGraphicsEndImageContext() |
1120 | return Cache.imageOfInfo! | 1269 | return Cache.imageOfInfo! |
1121 | } | 1270 | } |
1122 | 1271 | ||
1123 | class var imageOfEdit: UIImage { | 1272 | class var imageOfEdit: UIImage { |
1124 | if (Cache.imageOfEdit != nil) { | 1273 | if (Cache.imageOfEdit != nil) { |
1125 | return Cache.imageOfEdit! | 1274 | return Cache.imageOfEdit! |
1126 | } | 1275 | } |
1127 | UIGraphicsBeginImageContextWithOptions(CGSize(width: 80, height: 80), false, 0) | 1276 | UIGraphicsBeginImageContextWithOptions(CGSize(width: 80, height: 80), false, 0) |
1128 | SCLAlertViewStyleKit.drawEdit() | 1277 | SCLAlertViewStyleKit.drawEdit() |
1129 | Cache.imageOfEdit = UIGraphicsGetImageFromCurrentImageContext() | 1278 | Cache.imageOfEdit = UIGraphicsGetImageFromCurrentImageContext() |
1130 | UIGraphicsEndImageContext() | 1279 | UIGraphicsEndImageContext() |
1131 | return Cache.imageOfEdit! | 1280 | return Cache.imageOfEdit! |
1281 | } | ||
1282 | |||
1283 | class var imageOfQuestion: UIImage { | ||
1284 | if (Cache.imageOfQuestion != nil) { | ||
1285 | return Cache.imageOfQuestion! | ||
1286 | } | ||
1287 | UIGraphicsBeginImageContextWithOptions(CGSize(width: 80, height: 80), false, 0) | ||
1288 | SCLAlertViewStyleKit.drawQuestion() | ||
1289 | Cache.imageOfQuestion = UIGraphicsGetImageFromCurrentImageContext() | ||
1290 | UIGraphicsEndImageContext() | ||
1291 | return Cache.imageOfQuestion! |
GeneralUtils/GeneralUtils/libs/SCLAlertView/SCLExtensions.swift
1 | // | 1 | // |
2 | // SCLExtensions.swift | 2 | // SCLExtensions.swift |
3 | // SCLAlertView | 3 | // SCLAlertView |
4 | // | 4 | // |
5 | // Created by Christian Cabarrocas on 16/04/16. | 5 | // Created by Christian Cabarrocas on 16/04/16. |
6 | // Copyright © 2016 Alexey Poimtsev. All rights reserved. | 6 | // Copyright © 2016 Alexey Poimtsev. All rights reserved. |
7 | // | 7 | // |
8 | 8 | ||
9 | import UIKit | 9 | import UIKit |
10 | 10 | ||
11 | extension Int { | 11 | extension Int { |
12 | 12 | ||
13 | func toUIColor() -> UIColor { | 13 | func toUIColor() -> UIColor { |
14 | return UIColor( | 14 | return UIColor( |
15 | red: CGFloat((self & 0xFF0000) >> 16) / 255.0, | 15 | red: CGFloat((self & 0xFF0000) >> 16) / 255.0, |
16 | green: CGFloat((self & 0x00FF00) >> 8) / 255.0, | 16 | green: CGFloat((self & 0x00FF00) >> 8) / 255.0, |
17 | blue: CGFloat(self & 0x0000FF) / 255.0, | 17 | blue: CGFloat(self & 0x0000FF) / 255.0, |
18 | alpha: CGFloat(1.0) | 18 | alpha: CGFloat(1.0) |
19 | ) | 19 | ) |
20 | } | 20 | } |
21 | 21 | ||
22 | func toCGColor() -> CGColor { | 22 | func toCGColor() -> CGColor { |
23 | return self.toUIColor().cgColor | 23 | return self.toUIColor().cgColor |
24 | } | 24 | } |
25 | } | 25 | } |
26 | 26 | ||
27 | extension UInt { | 27 | extension UInt { |
28 | 28 | ||
29 | func toUIColor() -> UIColor { | 29 | func toUIColor() -> UIColor { |
30 | return UIColor( | 30 | return UIColor( |
31 | red: CGFloat((self & 0xFF0000) >> 16) / 255.0, | 31 | red: CGFloat((self & 0xFF0000) >> 16) / 255.0, |
32 | green: CGFloat((self & 0x00FF00) >> 8) / 255.0, | 32 | green: CGFloat((self & 0x00FF00) >> 8) / 255.0, |
33 | blue: CGFloat(self & 0x0000FF) / 255.0, | 33 | blue: CGFloat(self & 0x0000FF) / 255.0, |
34 | alpha: CGFloat(1.0) | 34 | alpha: CGFloat(1.0) |
35 | ) | 35 | ) |
36 | } | 36 | } |
37 | 37 | ||
38 | func toCGColor() -> CGColor { | 38 | func toCGColor() -> CGColor { |
39 | return self.toUIColor().cgColor | 39 | return self.toUIColor().cgColor |
40 | } | 40 | } |
41 | } | ||
42 | |||
43 | extension String { | ||
44 | |||
45 | func heightWithConstrainedWidth(width: CGFloat, font: UIFont) -> CGFloat { | ||
46 | let constraintRect = CGSize(width: width, height: CGFloat.greatestFiniteMagnitude) | ||
47 | |||
48 | let boundingBox = self.boundingRect(with: constraintRect, options: NSStringDrawingOptions.usesLineFragmentOrigin, attributes: [NSFontAttributeName: font], context: nil) | ||
49 | |||
50 | return boundingBox.height | ||
51 | } | ||
52 | |||
41 | } | 53 | } |
Morooka.xcworkspace/xcuserdata/ptran.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type