Skip to content

Commit 53e7a66

Browse files
Fix
1 parent 555bc4a commit 53e7a66

6 files changed

Lines changed: 75 additions & 87 deletions

File tree

Example/ButtonClickStyle/Base.lproj/Main.storyboard

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
<navigationBar key="navigationBar" contentMode="scaleToFill" id="gBt-LV-vze">
1717
<rect key="frame" x="0.0" y="44" width="375" height="44"/>
1818
<autoresizingMask key="autoresizingMask"/>
19+
<color key="barTintColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
20+
<navigationBarAppearance key="standardAppearance"/>
1921
</navigationBar>
2022
<connections>
2123
<segue destination="BYZ-38-t0r" kind="relationship" relationship="rootViewController" id="3P7-MP-HhB"/>

Example/ButtonClickStyle/UI/ScreenIPhone/ButtonTableList/ButtonTableListViewController.storyboard

Lines changed: 21 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="YTe-EZ-Seo">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="4sU-sg-c5X">
33
<device id="retina5_9" orientation="portrait" appearance="light"/>
44
<dependencies>
55
<deployment identifier="iOS"/>
@@ -9,35 +9,22 @@
99
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
1010
</dependencies>
1111
<scenes>
12-
<!--Navigation Controller-->
13-
<scene sceneID="FZB-CG-Eqe">
14-
<objects>
15-
<navigationController id="YTe-EZ-Seo" sceneMemberID="viewController">
16-
<navigationBar key="navigationBar" contentMode="scaleToFill" id="yhZ-ii-piQ">
17-
<rect key="frame" x="0.0" y="44" width="375" height="44"/>
18-
<autoresizingMask key="autoresizingMask"/>
19-
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
20-
<color key="barTintColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
21-
<navigationBarAppearance key="scrollEdgeAppearance"/>
22-
</navigationBar>
23-
<connections>
24-
<segue destination="4sU-sg-c5X" kind="relationship" relationship="rootViewController" id="Kt3-N1-rum"/>
25-
</connections>
26-
</navigationController>
27-
<placeholder placeholderIdentifier="IBFirstResponder" id="7uL-4R-4N8" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
28-
</objects>
29-
<point key="canvasLocation" x="-268" y="-115"/>
30-
</scene>
31-
<!--Table Buttons Customizable-->
12+
<!--Button Table List View Controller-->
3213
<scene sceneID="Q2b-nP-qfv">
3314
<objects>
15+
<placeholder placeholderIdentifier="IBFirstResponder" id="5m1-gw-Vhp" sceneMemberID="firstResponder"/>
3416
<viewController storyboardIdentifier="ButtonTableListViewController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="4sU-sg-c5X" customClass="ButtonTableListViewController" customModule="ButtonClickStyle" customModuleProvider="target" sceneMemberID="viewController">
3517
<view key="view" contentMode="scaleToFill" id="dR3-qA-oMw">
3618
<rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
3719
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
3820
<subviews>
39-
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ANa-3H-Wjd" customClass="ButtonClickStyleDesignView" customModule="ButtonClickStyle" customModuleProvider="target">
40-
<rect key="frame" x="0.0" y="0.0" width="375" height="194"/>
21+
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="1" sectionFooterHeight="1" translatesAutoresizingMaskIntoConstraints="NO" id="vnZ-DD-rOI" customClass="TableAdapterView" customModule="ButtonClickStyle" customModuleProvider="target">
22+
<rect key="frame" x="0.0" y="44" width="375" height="768"/>
23+
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
24+
<sections/>
25+
</tableView>
26+
<view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ANa-3H-Wjd" customClass="ButtonClickStyleDesignView" customModule="ButtonClickStyle" customModuleProvider="target">
27+
<rect key="frame" x="0.0" y="44" width="375" height="194"/>
4128
<subviews>
4229
<slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.5" minValue="0.0" maxValue="1" translatesAutoresizingMaskIntoConstraints="NO" id="rpt-Pf-R0P">
4330
<rect key="frame" x="8" y="0.0" width="150.33333333333334" height="31"/>
@@ -147,7 +134,7 @@
147134
<rect key="frame" x="10" y="96" width="188.66666666666666" height="31"/>
148135
<subviews>
149136
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ML7-yX-qg9" customClass="ButtonClickStyleDesignView" customModule="ButtonClickStyle" customModuleProvider="target">
150-
<rect key="frame" x="132.66666666666666" y="0.6666666666666714" width="51" height="30"/>
137+
<rect key="frame" x="132.66666666666666" y="0.66666666666665719" width="51" height="30"/>
151138
<subviews>
152139
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Eue-Vc-STp">
153140
<rect key="frame" x="0.0" y="0.0" width="51" height="30"/>
@@ -245,31 +232,31 @@
245232
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
246233
<constraints>
247234
<constraint firstItem="rpt-Pf-R0P" firstAttribute="width" secondItem="ANa-3H-Wjd" secondAttribute="width" multiplier="0.39" id="0hf-TN-NC9"/>
248-
<constraint firstItem="sl7-H4-suC" firstAttribute="top" secondItem="ANa-3H-Wjd" secondAttribute="top" id="2ec-Wz-3NY"/>
249235
<constraint firstItem="DAu-6I-2mP" firstAttribute="width" secondItem="ANa-3H-Wjd" secondAttribute="width" multiplier="0.5" id="52c-OZ-6aq"/>
250236
<constraint firstItem="DAu-6I-2mP" firstAttribute="top" secondItem="aga-qs-eZZ" secondAttribute="bottom" constant="2" id="6FE-r7-hd3"/>
251-
<constraint firstItem="4p8-Vz-7M8" firstAttribute="top" secondItem="ANa-3H-Wjd" secondAttribute="top" id="6JU-XB-9Tn"/>
237+
<constraint firstItem="sl7-H4-suC" firstAttribute="top" secondItem="rpt-Pf-R0P" secondAttribute="top" id="8OS-AE-Yyn"/>
252238
<constraint firstItem="UyY-fk-EXR" firstAttribute="bottom" secondItem="ANa-3H-Wjd" secondAttribute="bottom" id="9V7-dD-zWe"/>
253239
<constraint firstItem="UyY-fk-EXR" firstAttribute="trailing" secondItem="ANa-3H-Wjd" secondAttribute="trailing" id="A9q-b4-NtF"/>
254240
<constraint firstItem="6en-Oj-LeB" firstAttribute="width" secondItem="ANa-3H-Wjd" secondAttribute="width" multiplier="0.5" id="Abb-qy-2L5"/>
255241
<constraint firstItem="aga-qs-eZZ" firstAttribute="leading" secondItem="ANa-3H-Wjd" secondAttribute="leading" constant="10" id="BIY-CP-LjK"/>
256-
<constraint firstItem="rpt-Pf-R0P" firstAttribute="top" secondItem="ANa-3H-Wjd" secondAttribute="top" id="IwR-Uf-Irw"/>
257242
<constraint firstItem="sl7-H4-suC" firstAttribute="width" secondItem="ANa-3H-Wjd" secondAttribute="width" multiplier="0.39" id="Lge-yz-QZc"/>
258-
<constraint firstItem="rpt-Pf-R0P" firstAttribute="top" secondItem="lGT-kK-Quk" secondAttribute="top" id="MwX-gb-49Z"/>
259243
<constraint firstItem="6en-Oj-LeB" firstAttribute="leading" secondItem="ANa-3H-Wjd" secondAttribute="leading" constant="5" id="Nb0-tM-jVP"/>
244+
<constraint firstItem="UyY-fk-EXR" firstAttribute="top" secondItem="4p8-Vz-7M8" secondAttribute="bottom" id="PqU-Ya-uB6"/>
260245
<constraint firstItem="zY0-Yi-aUc" firstAttribute="leading" secondItem="ANa-3H-Wjd" secondAttribute="leading" constant="5" id="RtP-KX-HCl"/>
261246
<constraint firstItem="rpt-Pf-R0P" firstAttribute="leading" secondItem="ANa-3H-Wjd" secondAttribute="leading" constant="10" id="TTT-y6-thU"/>
262247
<constraint firstItem="aga-qs-eZZ" firstAttribute="top" secondItem="AuT-gr-gNr" secondAttribute="bottom" constant="2" id="TfS-Fw-TvL"/>
263248
<constraint firstItem="AuT-gr-gNr" firstAttribute="top" secondItem="6en-Oj-LeB" secondAttribute="bottom" constant="2" id="UI8-kL-rXK"/>
264249
<constraint firstItem="AuT-gr-gNr" firstAttribute="leading" secondItem="ANa-3H-Wjd" secondAttribute="leading" constant="5" id="Wqk-AA-qbt"/>
265250
<constraint firstItem="lGT-kK-Quk" firstAttribute="trailing" secondItem="rpt-Pf-R0P" secondAttribute="trailing" constant="30" id="c8P-fb-yI5"/>
251+
<constraint firstItem="lGT-kK-Quk" firstAttribute="top" secondItem="rpt-Pf-R0P" secondAttribute="top" id="fUc-Gf-bu2"/>
266252
<constraint firstItem="AuT-gr-gNr" firstAttribute="width" secondItem="ANa-3H-Wjd" secondAttribute="width" multiplier="0.5" id="gdt-v0-qUT"/>
267253
<constraint firstItem="zY0-Yi-aUc" firstAttribute="width" secondItem="ANa-3H-Wjd" secondAttribute="width" multiplier="0.5" id="gmQ-Cz-F4c"/>
254+
<constraint firstItem="4p8-Vz-7M8" firstAttribute="top" secondItem="rpt-Pf-R0P" secondAttribute="top" id="huV-jR-Zf3"/>
268255
<constraint firstAttribute="height" constant="194" id="j5d-1T-fuS"/>
269256
<constraint firstItem="DAu-6I-2mP" firstAttribute="leading" secondItem="ANa-3H-Wjd" secondAttribute="leading" constant="5" id="jeq-Nd-8TI"/>
270257
<constraint firstAttribute="trailing" secondItem="4p8-Vz-7M8" secondAttribute="trailing" constant="10" id="mB2-12-EQ8"/>
271258
<constraint firstItem="6en-Oj-LeB" firstAttribute="top" secondItem="rpt-Pf-R0P" secondAttribute="bottom" id="odq-C4-1iv"/>
272-
<constraint firstItem="UyY-fk-EXR" firstAttribute="top" secondItem="4p8-Vz-7M8" secondAttribute="bottom" id="rpj-k9-AOM"/>
259+
<constraint firstItem="rpt-Pf-R0P" firstAttribute="top" secondItem="ANa-3H-Wjd" secondAttribute="top" id="rgb-FA-9gb"/>
273260
<constraint firstItem="zY0-Yi-aUc" firstAttribute="top" secondItem="DAu-6I-2mP" secondAttribute="bottom" constant="2" id="tYq-7Q-Xl3"/>
274261
<constraint firstItem="UyY-fk-EXR" firstAttribute="width" secondItem="ANa-3H-Wjd" secondAttribute="width" multiplier="0.466667" id="uPX-AX-Wjv"/>
275262
<constraint firstAttribute="trailing" secondItem="sl7-H4-suC" secondAttribute="trailing" constant="29" id="urH-ZS-yGF"/>
@@ -289,39 +276,21 @@
289276
</userDefinedRuntimeAttribute>
290277
</userDefinedRuntimeAttributes>
291278
</view>
292-
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" contentViewInsetsToSafeArea="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vnZ-DD-rOI" customClass="TableAdapterView" customModule="ButtonClickStyle" customModuleProvider="target">
293-
<rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
294-
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
295-
<sections/>
296-
</tableView>
297279
</subviews>
298280
<viewLayoutGuide key="safeArea" id="EM1-Yd-xx1"/>
299281
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
300282
<constraints>
301-
<constraint firstItem="vnZ-DD-rOI" firstAttribute="top" secondItem="dR3-qA-oMw" secondAttribute="top" id="653-Jr-QAd"/>
302283
<constraint firstItem="vnZ-DD-rOI" firstAttribute="trailing" secondItem="dR3-qA-oMw" secondAttribute="trailing" id="DJt-e2-4CJ"/>
303-
<constraint firstItem="ANa-3H-Wjd" firstAttribute="top" secondItem="dR3-qA-oMw" secondAttribute="top" id="HDE-DL-NVr"/>
304284
<constraint firstItem="aga-qs-eZZ" firstAttribute="width" secondItem="dR3-qA-oMw" secondAttribute="width" multiplier="0.5" constant="1" id="J6r-11-Ydh"/>
285+
<constraint firstItem="vnZ-DD-rOI" firstAttribute="top" secondItem="EM1-Yd-xx1" secondAttribute="top" id="K00-Dm-Jpf"/>
305286
<constraint firstItem="ANa-3H-Wjd" firstAttribute="leading" secondItem="dR3-qA-oMw" secondAttribute="leading" id="M33-CN-Id9"/>
306287
<constraint firstAttribute="bottom" secondItem="vnZ-DD-rOI" secondAttribute="bottom" id="QoQ-Yc-tJy"/>
288+
<constraint firstItem="ANa-3H-Wjd" firstAttribute="top" secondItem="EM1-Yd-xx1" secondAttribute="top" id="b6h-9v-kQM"/>
307289
<constraint firstAttribute="trailing" secondItem="ANa-3H-Wjd" secondAttribute="trailing" id="g6N-xz-5hF"/>
308290
<constraint firstItem="vnZ-DD-rOI" firstAttribute="leading" secondItem="dR3-qA-oMw" secondAttribute="leading" id="zFq-D7-PmR"/>
309291
</constraints>
310292
</view>
311-
<navigationItem key="navigationItem" title="Table Buttons Customizable" id="tsF-r7-Sgs">
312-
<rightBarButtonItems>
313-
<barButtonItem systemItem="bookmarks" id="Rzp-qn-Qov">
314-
<connections>
315-
<action selector="navBarShowHidePanel" destination="4sU-sg-c5X" id="y0B-Y8-CbZ"/>
316-
</connections>
317-
</barButtonItem>
318-
<barButtonItem systemItem="refresh" id="rLf-pr-XT0">
319-
<connections>
320-
<action selector="navBarButtonReloadAction:" destination="4sU-sg-c5X" id="3Kv-1Z-zJO"/>
321-
</connections>
322-
</barButtonItem>
323-
</rightBarButtonItems>
324-
</navigationItem>
293+
<nil key="simulatedTopBarMetrics"/>
325294
<connections>
326295
<outlet property="addBackgroundColorSwitch" destination="wz3-DO-PUR" id="EKy-fB-YOa"/>
327296
<outlet property="allSubviewsSwitch" destination="rsd-Ug-RsG" id="dkx-JU-5Vo"/>
@@ -335,12 +304,11 @@
335304
<outlet property="colorSelectButton" destination="Eue-Vc-STp" id="hba-WD-Vkd"/>
336305
<outlet property="createStartClick" destination="0bK-F8-Isx" id="NLY-bZ-L7P"/>
337306
<outlet property="debugButtonShow" destination="KOd-4M-tGK" id="4rZ-pg-4rw"/>
338-
<outlet property="panelTop" destination="HDE-DL-NVr" id="Xub-Hj-f0E"/>
339-
<outlet property="tableTop" destination="653-Jr-QAd" id="k75-M2-lCx"/>
307+
<outlet property="panelWidth" destination="j5d-1T-fuS" id="M1s-ry-Cg5"/>
308+
<outlet property="tableTop" destination="K00-Dm-Jpf" id="6qw-f4-Ozp"/>
340309
<outlet property="tableView" destination="vnZ-DD-rOI" id="ht1-S8-s2u"/>
341310
</connections>
342311
</viewController>
343-
<placeholder placeholderIdentifier="IBFirstResponder" id="5m1-gw-Vhp" sceneMemberID="firstResponder"/>
344312
</objects>
345313
<point key="canvasLocation" x="466.39999999999998" y="-116.00985221674877"/>
346314
</scene>

0 commit comments

Comments
 (0)