|
17 | 17 | <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
|
18 | 18 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
19 | 19 | <subviews>
|
| 20 | + <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Well done!" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ftA-Dw-yoK"> |
| 21 | + <rect key="frame" x="260" y="275" width="80" height="50"/> |
| 22 | + <constraints> |
| 23 | + <constraint firstAttribute="height" constant="50" id="3Qb-HQ-rhP"/> |
| 24 | + <constraint firstAttribute="width" constant="80" id="3k0-87-n0y"/> |
| 25 | + </constraints> |
| 26 | + <fontDescription key="fontDescription" name="AvenirNext-Medium" family="Avenir Next" pointSize="22"/> |
| 27 | + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> |
| 28 | + <nil key="highlightedColor"/> |
| 29 | + </label> |
20 | 30 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Pxs-2q-fNT">
|
21 | 31 | <rect key="frame" x="539" y="550" width="40" height="40"/>
|
22 | 32 | <constraints>
|
|
48 | 58 | <constraint firstItem="cf0-xi-gZq" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" constant="5" id="89J-fQ-wSr"/>
|
49 | 59 | <constraint firstItem="wfy-db-euE" firstAttribute="top" secondItem="Pxs-2q-fNT" secondAttribute="bottom" constant="10" id="ClZ-pk-clp"/>
|
50 | 60 | <constraint firstItem="wfy-db-euE" firstAttribute="top" secondItem="f4S-GZ-xim" secondAttribute="bottom" constant="100" id="LrO-Ao-8Ez"/>
|
| 61 | + <constraint firstAttribute="centerY" secondItem="ftA-Dw-yoK" secondAttribute="centerY" id="MY0-Q7-OfW"/> |
51 | 62 | <constraint firstItem="wfy-db-euE" firstAttribute="top" secondItem="cf0-xi-gZq" secondAttribute="bottom" constant="10" id="SKv-vl-dod"/>
|
| 63 | + <constraint firstAttribute="centerX" secondItem="ftA-Dw-yoK" secondAttribute="centerX" id="aLo-c1-Rdb"/> |
52 | 64 | <constraint firstItem="f4S-GZ-xim" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" constant="15" id="bwX-NW-RVy"/>
|
53 | 65 | <constraint firstAttribute="trailingMargin" secondItem="f4S-GZ-xim" secondAttribute="trailing" constant="15" id="grb-Ol-acG"/>
|
54 | 66 | <constraint firstAttribute="trailingMargin" secondItem="f4S-GZ-xim" secondAttribute="trailing" constant="30" id="keG-FK-kZk"/>
|
|
64 | 76 | </view>
|
65 | 77 | <connections>
|
66 | 78 | <outlet property="aboutButton" destination="cf0-xi-gZq" id="2bJ-fm-k5i"/>
|
| 79 | + <outlet property="doneLabel" destination="ftA-Dw-yoK" id="PIv-Cb-0xW"/> |
67 | 80 | <outlet property="refreshButton" destination="Pxs-2q-fNT" id="bxG-r5-Jpk"/>
|
68 | 81 | <outlet property="swipeableView" destination="f4S-GZ-xim" id="NNg-cF-iHQ"/>
|
69 | 82 | <segue destination="7sv-Ea-AUj" kind="presentation" identifier="about" id="hDv-lg-x2g"/>
|
|
84 | 97 | <sections>
|
85 | 98 | <tableViewSection id="azs-bn-9AS">
|
86 | 99 | <cells>
|
87 |
| - <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="400" id="z7H-V3-7hT"> |
| 100 | + <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="600" id="z7H-V3-7hT"> |
88 | 101 | <autoresizingMask key="autoresizingMask"/>
|
89 | 102 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="z7H-V3-7hT" id="TOR-3e-SBt">
|
90 | 103 | <autoresizingMask key="autoresizingMask"/>
|
91 | 104 | <subviews>
|
92 | 105 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Hi" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Pa5-fx-isC">
|
93 |
| - <rect key="frame" x="18" y="65" width="564" height="85"/> |
| 106 | + <rect key="frame" x="18" y="48" width="564" height="85"/> |
94 | 107 | <constraints>
|
95 | 108 | <constraint firstAttribute="height" constant="85" id="qUA-Te-1mu"/>
|
96 | 109 | </constraints>
|
|
99 | 112 | <nil key="highlightedColor"/>
|
100 | 113 | </label>
|
101 | 114 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="10" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="j38-I7-dgl">
|
102 |
| - <rect key="frame" x="18" y="150" width="564" height="180"/> |
| 115 | + <rect key="frame" x="18" y="133" width="564" height="240"/> |
103 | 116 | <constraints>
|
104 |
| - <constraint firstAttribute="height" constant="180" id="0FC-Tm-xhv"/> |
| 117 | + <constraint firstAttribute="height" constant="240" id="0FC-Tm-xhv"/> |
105 | 118 | </constraints>
|
106 |
| - <string key="text">This is a demo app I used to introduce Reactive Cocoa. Reactive Cocoa is a powerful iOS framework, that implements functional reactive programming for iOS. It is a large framework, that is why I am using this app for the introduction.</string> |
| 119 | + <string key="text">Thanks for using Reactive Hacker News (RHN)! This is a demo app I used for Reactive Cocoa practice. You can find the complete source code of this app at my github repo: https://github.com/syshen/ReactiveHackerNews . Feel free to contact me if you have more questions about Reactive Cocoa.</string> |
107 | 120 | <fontDescription key="fontDescription" name="AvenirNext-Regular" family="Avenir Next" pointSize="17"/>
|
108 | 121 | <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
109 | 122 | <nil key="highlightedColor"/>
|
110 | 123 | </label>
|
111 | 124 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Follow me at @syshen" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TGa-YK-emw">
|
112 |
| - <rect key="frame" x="178" y="338" width="245" height="23.5"/> |
| 125 | + <rect key="frame" x="178" y="381" width="245" height="23.5"/> |
113 | 126 | <constraints>
|
114 | 127 | <constraint firstAttribute="height" constant="23.5" id="1Wd-LZ-HqM"/>
|
115 | 128 | <constraint firstAttribute="width" constant="245" id="pet-gG-JHC"/>
|
|
125 | 138 | <constraint firstAttribute="trailingMargin" secondItem="Pa5-fx-isC" secondAttribute="trailing" constant="10" id="MHC-dJ-he5"/>
|
126 | 139 | <constraint firstItem="j38-I7-dgl" firstAttribute="top" secondItem="Pa5-fx-isC" secondAttribute="bottom" id="MVZ-qv-cwW"/>
|
127 | 140 | <constraint firstItem="Pa5-fx-isC" firstAttribute="leading" secondItem="TOR-3e-SBt" secondAttribute="leadingMargin" constant="10" id="Qcx-MH-jyB"/>
|
128 |
| - <constraint firstItem="Pa5-fx-isC" firstAttribute="top" secondItem="TOR-3e-SBt" secondAttribute="topMargin" constant="57" id="dsF-8b-Zp4"/> |
| 141 | + <constraint firstItem="Pa5-fx-isC" firstAttribute="top" secondItem="TOR-3e-SBt" secondAttribute="topMargin" constant="40" id="dsF-8b-Zp4"/> |
129 | 142 | <constraint firstItem="j38-I7-dgl" firstAttribute="leading" secondItem="Pa5-fx-isC" secondAttribute="leading" id="jZM-Nm-rhZ"/>
|
130 | 143 | <constraint firstItem="TGa-YK-emw" firstAttribute="leading" secondItem="TOR-3e-SBt" secondAttribute="leadingMargin" constant="170" id="me8-lb-dfR"/>
|
131 | 144 | <constraint firstAttribute="trailingMargin" secondItem="TGa-YK-emw" secondAttribute="trailing" constant="169" id="ox1-J7-dnt"/>
|
|
147 | 160 | <outlet property="delegate" destination="jwB-yA-OVn" id="Znt-aR-FZc"/>
|
148 | 161 | </connections>
|
149 | 162 | </tableView>
|
150 |
| - <navigationItem key="navigationItem" title="About Reactive Hacker News" id="bT8-hf-RjB"> |
| 163 | + <navigationItem key="navigationItem" title="About RHN" id="bT8-hf-RjB"> |
151 | 164 | <barButtonItem key="rightBarButtonItem" title="Done" id="w1c-Yg-Jgv">
|
152 | 165 | <color key="tintColor" red="1" green="0.40000000000000002" blue="0.0039215686269999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
153 | 166 | <connections>
|
|
0 commit comments