Added some more test cases
This commit is contained in:
parent
195d0b86b8
commit
03b9b52125
|
@ -62,7 +62,7 @@
|
||||||
</viewController>
|
</viewController>
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/>
|
<placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/>
|
||||||
</objects>
|
</objects>
|
||||||
<point key="canvasLocation" x="-1" y="-532"/>
|
<point key="canvasLocation" x="115" y="-1368"/>
|
||||||
</scene>
|
</scene>
|
||||||
<!--Title-->
|
<!--Title-->
|
||||||
<scene sceneID="iUm-Up-GyM">
|
<scene sceneID="iUm-Up-GyM">
|
||||||
|
@ -253,6 +253,46 @@
|
||||||
<segue destination="hTe-n6-1ZA" kind="custom" identifier="popoverSegue" customClass="TLYPopoverSegue" id="s1h-bb-Sw1"/>
|
<segue destination="hTe-n6-1ZA" kind="custom" identifier="popoverSegue" customClass="TLYPopoverSegue" id="s1h-bb-Sw1"/>
|
||||||
</connections>
|
</connections>
|
||||||
</tableViewCell>
|
</tableViewCell>
|
||||||
|
<tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" indentationWidth="10" reuseIdentifier="9" textLabel="nv6-up-odg" style="IBUITableViewCellStyleDefault" id="Tds-rP-16P">
|
||||||
|
<rect key="frame" x="0.0" y="482" width="320" height="44"/>
|
||||||
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
|
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Tds-rP-16P" id="kUR-1e-HZz">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="287" height="43"/>
|
||||||
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
|
<subviews>
|
||||||
|
<label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="Barely Long UIScrollView" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="nv6-up-odg">
|
||||||
|
<rect key="frame" x="15" y="0.0" width="270" height="43"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
<fontDescription key="fontDescription" type="system" pointSize="16"/>
|
||||||
|
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
</subviews>
|
||||||
|
</tableViewCellContentView>
|
||||||
|
<connections>
|
||||||
|
<segue destination="0pt-Af-mHb" kind="push" id="veY-Ec-TEN"/>
|
||||||
|
</connections>
|
||||||
|
</tableViewCell>
|
||||||
|
<tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" indentationWidth="10" reuseIdentifier="10" textLabel="Yzg-Td-eok" style="IBUITableViewCellStyleDefault" id="1rn-z9-5BW">
|
||||||
|
<rect key="frame" x="0.0" y="526" width="320" height="44"/>
|
||||||
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
|
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="1rn-z9-5BW" id="o6k-Ys-aqa">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="287" height="43"/>
|
||||||
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
|
<subviews>
|
||||||
|
<label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="Barely Short UIScrollView" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="Yzg-Td-eok">
|
||||||
|
<rect key="frame" x="15" y="0.0" width="270" height="43"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||||
|
<fontDescription key="fontDescription" type="system" pointSize="16"/>
|
||||||
|
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
|
||||||
|
<nil key="highlightedColor"/>
|
||||||
|
</label>
|
||||||
|
</subviews>
|
||||||
|
</tableViewCellContentView>
|
||||||
|
<connections>
|
||||||
|
<segue destination="r3f-g0-85X" kind="push" id="Fgx-4a-cAs"/>
|
||||||
|
</connections>
|
||||||
|
</tableViewCell>
|
||||||
</prototypes>
|
</prototypes>
|
||||||
<connections>
|
<connections>
|
||||||
<outlet property="dataSource" destination="bXL-dd-VeI" id="OLi-uA-4je"/>
|
<outlet property="dataSource" destination="bXL-dd-VeI" id="OLi-uA-4je"/>
|
||||||
|
@ -346,7 +386,7 @@
|
||||||
</viewController>
|
</viewController>
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="PDI-vm-1dr" sceneMemberID="firstResponder"/>
|
<placeholder placeholderIdentifier="IBFirstResponder" id="PDI-vm-1dr" sceneMemberID="firstResponder"/>
|
||||||
</objects>
|
</objects>
|
||||||
<point key="canvasLocation" x="783" y="-532"/>
|
<point key="canvasLocation" x="-381" y="-1316"/>
|
||||||
</scene>
|
</scene>
|
||||||
<!--Collection View Controller-->
|
<!--Collection View Controller-->
|
||||||
<scene sceneID="PhO-85-s6k">
|
<scene sceneID="PhO-85-s6k">
|
||||||
|
@ -394,7 +434,7 @@
|
||||||
</collectionViewController>
|
</collectionViewController>
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="rvW-nN-PLP" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
<placeholder placeholderIdentifier="IBFirstResponder" id="rvW-nN-PLP" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||||
</objects>
|
</objects>
|
||||||
<point key="canvasLocation" x="-1016" y="566"/>
|
<point key="canvasLocation" x="-996" y="666"/>
|
||||||
</scene>
|
</scene>
|
||||||
<!--Table View Controller-->
|
<!--Table View Controller-->
|
||||||
<scene sceneID="XaB-vN-5Qi">
|
<scene sceneID="XaB-vN-5Qi">
|
||||||
|
@ -436,13 +476,21 @@
|
||||||
</constraints>
|
</constraints>
|
||||||
</view>
|
</view>
|
||||||
<navigationItem key="navigationItem" id="l8b-W3-Ehj"/>
|
<navigationItem key="navigationItem" id="l8b-W3-Ehj"/>
|
||||||
|
<userDefinedRuntimeAttributes>
|
||||||
|
<userDefinedRuntimeAttribute type="number" keyPath="numberOfSections">
|
||||||
|
<integer key="value" value="6"/>
|
||||||
|
</userDefinedRuntimeAttribute>
|
||||||
|
<userDefinedRuntimeAttribute type="number" keyPath="numberOfRowsPerSection">
|
||||||
|
<integer key="value" value="5"/>
|
||||||
|
</userDefinedRuntimeAttribute>
|
||||||
|
</userDefinedRuntimeAttributes>
|
||||||
<connections>
|
<connections>
|
||||||
<outlet property="tableView" destination="zXM-Us-jtQ" id="1OR-fS-EoQ"/>
|
<outlet property="tableView" destination="zXM-Us-jtQ" id="1OR-fS-EoQ"/>
|
||||||
</connections>
|
</connections>
|
||||||
</viewController>
|
</viewController>
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="37F-q7-Zc2" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
<placeholder placeholderIdentifier="IBFirstResponder" id="37F-q7-Zc2" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||||
</objects>
|
</objects>
|
||||||
<point key="canvasLocation" x="-538" y="590"/>
|
<point key="canvasLocation" x="-574" y="986"/>
|
||||||
</scene>
|
</scene>
|
||||||
<!--View Controller-->
|
<!--View Controller-->
|
||||||
<scene sceneID="WAx-ee-jTN">
|
<scene sceneID="WAx-ee-jTN">
|
||||||
|
@ -506,7 +554,7 @@
|
||||||
</viewController>
|
</viewController>
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="7sq-nV-lml" sceneMemberID="firstResponder"/>
|
<placeholder placeholderIdentifier="IBFirstResponder" id="7sq-nV-lml" sceneMemberID="firstResponder"/>
|
||||||
</objects>
|
</objects>
|
||||||
<point key="canvasLocation" x="1063" y="208"/>
|
<point key="canvasLocation" x="1003" y="-952"/>
|
||||||
</scene>
|
</scene>
|
||||||
<!--View Controller-->
|
<!--View Controller-->
|
||||||
<scene sceneID="zcE-h0-aq3">
|
<scene sceneID="zcE-h0-aq3">
|
||||||
|
@ -571,7 +619,7 @@
|
||||||
</viewController>
|
</viewController>
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="Wqb-OT-maY" sceneMemberID="firstResponder"/>
|
<placeholder placeholderIdentifier="IBFirstResponder" id="Wqb-OT-maY" sceneMemberID="firstResponder"/>
|
||||||
</objects>
|
</objects>
|
||||||
<point key="canvasLocation" x="1427" y="208"/>
|
<point key="canvasLocation" x="571" y="-1260"/>
|
||||||
</scene>
|
</scene>
|
||||||
<!--View Controller-->
|
<!--View Controller-->
|
||||||
<scene sceneID="bYR-xs-cnr">
|
<scene sceneID="bYR-xs-cnr">
|
||||||
|
@ -632,7 +680,7 @@
|
||||||
</viewController>
|
</viewController>
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="W0g-zW-htj" sceneMemberID="firstResponder"/>
|
<placeholder placeholderIdentifier="IBFirstResponder" id="W0g-zW-htj" sceneMemberID="firstResponder"/>
|
||||||
</objects>
|
</objects>
|
||||||
<point key="canvasLocation" x="363" y="-532"/>
|
<point key="canvasLocation" x="-881" y="-1168"/>
|
||||||
</scene>
|
</scene>
|
||||||
<!--Table View Controller-->
|
<!--Table View Controller-->
|
||||||
<scene sceneID="RYz-v8-651">
|
<scene sceneID="RYz-v8-651">
|
||||||
|
@ -675,7 +723,12 @@
|
||||||
</view>
|
</view>
|
||||||
<navigationItem key="navigationItem" id="uJw-Uj-Sb1"/>
|
<navigationItem key="navigationItem" id="uJw-Uj-Sb1"/>
|
||||||
<userDefinedRuntimeAttributes>
|
<userDefinedRuntimeAttributes>
|
||||||
<userDefinedRuntimeAttribute type="boolean" keyPath="shortScrollView" value="YES"/>
|
<userDefinedRuntimeAttribute type="number" keyPath="numberOfSections">
|
||||||
|
<integer key="value" value="1"/>
|
||||||
|
</userDefinedRuntimeAttribute>
|
||||||
|
<userDefinedRuntimeAttribute type="number" keyPath="numberOfRowsPerSection">
|
||||||
|
<integer key="value" value="5"/>
|
||||||
|
</userDefinedRuntimeAttribute>
|
||||||
</userDefinedRuntimeAttributes>
|
</userDefinedRuntimeAttributes>
|
||||||
<connections>
|
<connections>
|
||||||
<outlet property="tableView" destination="Nlh-YW-jQ7" id="Wk4-94-eKC"/>
|
<outlet property="tableView" destination="Nlh-YW-jQ7" id="Wk4-94-eKC"/>
|
||||||
|
@ -683,7 +736,7 @@
|
||||||
</viewController>
|
</viewController>
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="OFV-VU-PLS" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
<placeholder placeholderIdentifier="IBFirstResponder" id="OFV-VU-PLS" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||||
</objects>
|
</objects>
|
||||||
<point key="canvasLocation" x="733" y="566"/>
|
<point key="canvasLocation" x="1171" y="-266"/>
|
||||||
</scene>
|
</scene>
|
||||||
<!--Table View Controller-->
|
<!--Table View Controller-->
|
||||||
<scene sceneID="q4q-iX-ZDI">
|
<scene sceneID="q4q-iX-ZDI">
|
||||||
|
@ -736,7 +789,7 @@
|
||||||
</viewController>
|
</viewController>
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="aWA-Dt-bp4" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
<placeholder placeholderIdentifier="IBFirstResponder" id="aWA-Dt-bp4" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||||
</objects>
|
</objects>
|
||||||
<point key="canvasLocation" x="369" y="566"/>
|
<point key="canvasLocation" x="281" y="1234"/>
|
||||||
</scene>
|
</scene>
|
||||||
<!--Navigation Controller-->
|
<!--Navigation Controller-->
|
||||||
<scene sceneID="eDW-K0-dXO">
|
<scene sceneID="eDW-K0-dXO">
|
||||||
|
@ -754,7 +807,119 @@
|
||||||
</navigationController>
|
</navigationController>
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="TJg-rO-kzE" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
<placeholder placeholderIdentifier="IBFirstResponder" id="TJg-rO-kzE" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||||
</objects>
|
</objects>
|
||||||
<point key="canvasLocation" x="-163" y="566"/>
|
<point key="canvasLocation" x="-159" y="1234"/>
|
||||||
|
</scene>
|
||||||
|
<!--Table View Controller-->
|
||||||
|
<scene sceneID="7yl-6Q-gfJ">
|
||||||
|
<objects>
|
||||||
|
<viewController id="0pt-Af-mHb" customClass="TLYTableViewController" sceneMemberID="viewController">
|
||||||
|
<layoutGuides>
|
||||||
|
<viewControllerLayoutGuide type="top" id="WY9-SW-ehS"/>
|
||||||
|
<viewControllerLayoutGuide type="bottom" id="rvY-MP-3yD"/>
|
||||||
|
</layoutGuides>
|
||||||
|
<view key="view" contentMode="scaleToFill" id="QT4-hk-MkW">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
|
<subviews>
|
||||||
|
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="HgQ-n4-tiS">
|
||||||
|
<rect key="frame" x="0.0" y="64" width="335" height="504"/>
|
||||||
|
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||||
|
<prototypes>
|
||||||
|
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="Cell" id="A97-Ot-Afn">
|
||||||
|
<rect key="frame" x="0.0" y="92" width="335" height="44"/>
|
||||||
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
|
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="A97-Ot-Afn" id="5eU-e8-uag">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="335" height="43"/>
|
||||||
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
|
</tableViewCellContentView>
|
||||||
|
</tableViewCell>
|
||||||
|
</prototypes>
|
||||||
|
<connections>
|
||||||
|
<outlet property="dataSource" destination="0pt-Af-mHb" id="fzI-Pb-wlX"/>
|
||||||
|
<outlet property="delegate" destination="0pt-Af-mHb" id="qdc-kG-EyD"/>
|
||||||
|
</connections>
|
||||||
|
</tableView>
|
||||||
|
</subviews>
|
||||||
|
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstAttribute="right" secondItem="HgQ-n4-tiS" secondAttribute="rightMargin" id="eZ1-aa-kh8"/>
|
||||||
|
<constraint firstItem="HgQ-n4-tiS" firstAttribute="top" secondItem="WY9-SW-ehS" secondAttribute="bottom" id="fWP-LT-syX"/>
|
||||||
|
<constraint firstItem="HgQ-n4-tiS" firstAttribute="left" secondItem="QT4-hk-MkW" secondAttribute="left" id="gcr-7t-ZO6"/>
|
||||||
|
<constraint firstItem="rvY-MP-3yD" firstAttribute="top" secondItem="HgQ-n4-tiS" secondAttribute="bottom" id="hOA-xN-6RO"/>
|
||||||
|
</constraints>
|
||||||
|
</view>
|
||||||
|
<navigationItem key="navigationItem" id="hf7-8u-Hrv"/>
|
||||||
|
<userDefinedRuntimeAttributes>
|
||||||
|
<userDefinedRuntimeAttribute type="number" keyPath="numberOfSections">
|
||||||
|
<integer key="value" value="1"/>
|
||||||
|
</userDefinedRuntimeAttribute>
|
||||||
|
<userDefinedRuntimeAttribute type="number" keyPath="numberOfRowsPerSection">
|
||||||
|
<integer key="value" value="15"/>
|
||||||
|
</userDefinedRuntimeAttribute>
|
||||||
|
</userDefinedRuntimeAttributes>
|
||||||
|
<connections>
|
||||||
|
<outlet property="tableView" destination="HgQ-n4-tiS" id="fIA-fm-ueV"/>
|
||||||
|
</connections>
|
||||||
|
</viewController>
|
||||||
|
<placeholder placeholderIdentifier="IBFirstResponder" id="yGm-jn-d8f" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||||
|
</objects>
|
||||||
|
<point key="canvasLocation" x="1057" y="406"/>
|
||||||
|
</scene>
|
||||||
|
<!--Table View Controller-->
|
||||||
|
<scene sceneID="66B-x6-fgv">
|
||||||
|
<objects>
|
||||||
|
<viewController id="r3f-g0-85X" customClass="TLYTableViewController" sceneMemberID="viewController">
|
||||||
|
<layoutGuides>
|
||||||
|
<viewControllerLayoutGuide type="top" id="4eE-IA-Zhd"/>
|
||||||
|
<viewControllerLayoutGuide type="bottom" id="n58-cZ-x6B"/>
|
||||||
|
</layoutGuides>
|
||||||
|
<view key="view" contentMode="scaleToFill" id="HRk-yt-Psu">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
|
||||||
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
|
<subviews>
|
||||||
|
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="duV-Qg-DTH">
|
||||||
|
<rect key="frame" x="0.0" y="64" width="335" height="504"/>
|
||||||
|
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||||
|
<prototypes>
|
||||||
|
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="Cell" id="Hg4-Ta-u7s">
|
||||||
|
<rect key="frame" x="0.0" y="92" width="335" height="44"/>
|
||||||
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
|
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Hg4-Ta-u7s" id="CeV-w2-2v9">
|
||||||
|
<rect key="frame" x="0.0" y="0.0" width="335" height="43"/>
|
||||||
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
|
</tableViewCellContentView>
|
||||||
|
</tableViewCell>
|
||||||
|
</prototypes>
|
||||||
|
<connections>
|
||||||
|
<outlet property="dataSource" destination="r3f-g0-85X" id="5va-zS-WRo"/>
|
||||||
|
<outlet property="delegate" destination="r3f-g0-85X" id="H4s-G2-3d3"/>
|
||||||
|
</connections>
|
||||||
|
</tableView>
|
||||||
|
</subviews>
|
||||||
|
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||||
|
<constraints>
|
||||||
|
<constraint firstItem="duV-Qg-DTH" firstAttribute="top" secondItem="4eE-IA-Zhd" secondAttribute="bottom" id="FFw-yN-XAA"/>
|
||||||
|
<constraint firstItem="n58-cZ-x6B" firstAttribute="top" secondItem="duV-Qg-DTH" secondAttribute="bottom" id="YR8-OD-RRr"/>
|
||||||
|
<constraint firstAttribute="right" secondItem="duV-Qg-DTH" secondAttribute="rightMargin" id="kmi-Gr-hMD"/>
|
||||||
|
<constraint firstItem="duV-Qg-DTH" firstAttribute="left" secondItem="HRk-yt-Psu" secondAttribute="left" id="vdr-Ea-lJT"/>
|
||||||
|
</constraints>
|
||||||
|
</view>
|
||||||
|
<navigationItem key="navigationItem" id="6dJ-tj-fsv"/>
|
||||||
|
<userDefinedRuntimeAttributes>
|
||||||
|
<userDefinedRuntimeAttribute type="number" keyPath="numberOfSections">
|
||||||
|
<integer key="value" value="1"/>
|
||||||
|
</userDefinedRuntimeAttribute>
|
||||||
|
<userDefinedRuntimeAttribute type="number" keyPath="numberOfRowsPerSection">
|
||||||
|
<integer key="value" value="14"/>
|
||||||
|
</userDefinedRuntimeAttribute>
|
||||||
|
</userDefinedRuntimeAttributes>
|
||||||
|
<connections>
|
||||||
|
<outlet property="tableView" destination="duV-Qg-DTH" id="nJR-9r-Erv"/>
|
||||||
|
</connections>
|
||||||
|
</viewController>
|
||||||
|
<placeholder placeholderIdentifier="IBFirstResponder" id="mZH-Ma-sB6" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||||
|
</objects>
|
||||||
|
<point key="canvasLocation" x="673" y="986"/>
|
||||||
</scene>
|
</scene>
|
||||||
</scenes>
|
</scenes>
|
||||||
<resources>
|
<resources>
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
|
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
|
||||||
{
|
{
|
||||||
return 9;
|
return 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
|
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
|
||||||
|
|
|
@ -8,7 +8,9 @@
|
||||||
|
|
||||||
#import "TLYPopoverSegue.h"
|
#import "TLYPopoverSegue.h"
|
||||||
|
|
||||||
|
|
||||||
@implementation TLYPopoverSegue
|
@implementation TLYPopoverSegue
|
||||||
|
|
||||||
- (void)perform
|
- (void)perform
|
||||||
{
|
{
|
||||||
UITableViewController *tvc = (UITableViewController *)self.sourceViewController;
|
UITableViewController *tvc = (UITableViewController *)self.sourceViewController;
|
||||||
|
|
|
@ -10,7 +10,8 @@
|
||||||
|
|
||||||
@interface TLYTableViewController () <UITableViewDataSource, UITableViewDelegate>
|
@interface TLYTableViewController () <UITableViewDataSource, UITableViewDelegate>
|
||||||
|
|
||||||
@property (nonatomic, assign) IBInspectable BOOL shortScrollView;
|
@property (nonatomic, assign) IBInspectable int numberOfSections;
|
||||||
|
@property (nonatomic, assign) IBInspectable int numberOfRowsPerSection;
|
||||||
|
|
||||||
@property (nonatomic, weak) IBOutlet UITableView *tableView;
|
@property (nonatomic, weak) IBOutlet UITableView *tableView;
|
||||||
|
|
||||||
|
@ -37,12 +38,12 @@
|
||||||
|
|
||||||
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
|
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
|
||||||
{
|
{
|
||||||
return self.shortScrollView ? 1 : 6;
|
return self.numberOfSections;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
|
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
|
||||||
{
|
{
|
||||||
return 5;
|
return self.numberOfRowsPerSection;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section
|
- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section
|
||||||
|
|
Loading…
Reference in New Issue