forked from jsonmodel/jsonmodel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStorageViewController.xib
More file actions
84 lines (84 loc) · 6.58 KB
/
StorageViewController.xib
File metadata and controls
84 lines (84 loc) · 6.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="4510" systemVersion="12E55" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment defaultVersion="1280" identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3742"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="StorageViewController">
<connections>
<outlet property="lblTimes" destination="18" id="42"/>
<outlet property="txtContent" destination="4" id="41"/>
<outlet property="view" destination="1" id="3"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="1">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" text="Text ..." translatesAutoresizingMaskIntoConstraints="NO" id="4">
<rect key="frame" x="0.0" y="83" width="319" height="63"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="width" constant="319" id="9"/>
<constraint firstAttribute="height" constant="63" id="62"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
</textView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="14">
<rect key="frame" x="172" y="151" width="127" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<constraints>
<constraint firstAttribute="width" constant="127" id="17"/>
</constraints>
<state key="normal" title="Save">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<connections>
<action selector="actionSave:" destination="-1" eventType="touchUpInside" id="43"/>
</connections>
</button>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Times saved: " lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="18">
<rect key="frame" x="19" y="156" width="145" height="20"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<constraints>
<constraint firstAttribute="height" constant="20" id="46"/>
<constraint firstAttribute="width" constant="145" id="52"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="30">
<rect key="frame" x="0.0" y="0.0" width="320" height="82"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="82" id="48"/>
</constraints>
<string key="text">This screen uses a JSONModel object to save data to the device's disc. The model persists the text that you can edit in the gray box below + the number of times you saved to the file. </string>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
</textView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="4" firstAttribute="leading" secondItem="1" secondAttribute="leading" id="11"/>
<constraint firstItem="14" firstAttribute="centerY" secondItem="18" secondAttribute="centerY" id="21"/>
<constraint firstItem="30" firstAttribute="top" secondItem="1" secondAttribute="top" id="37"/>
<constraint firstItem="30" firstAttribute="leading" secondItem="1" secondAttribute="leading" id="38"/>
<constraint firstItem="30" firstAttribute="trailing" secondItem="1" secondAttribute="trailing" id="39"/>
<constraint firstItem="14" firstAttribute="leading" secondItem="18" secondAttribute="trailing" constant="8" symbolic="YES" id="44"/>
<constraint firstItem="14" firstAttribute="baseline" secondItem="18" secondAttribute="baseline" id="45"/>
<constraint firstItem="18" firstAttribute="leading" secondItem="1" secondAttribute="leading" constant="19" id="54"/>
<constraint firstItem="14" firstAttribute="top" secondItem="1" secondAttribute="top" constant="151" id="65"/>
<constraint firstItem="4" firstAttribute="top" secondItem="1" secondAttribute="top" constant="83" id="67"/>
</constraints>
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
<simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
</view>
</objects>
</document>