finished restoring storyboard

This commit is contained in:
Okechi 2016-01-28 20:04:13 -05:00
parent 61b0e4d250
commit d36abc8763
2 changed files with 102 additions and 4 deletions

View File

@ -386,13 +386,108 @@
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
</navigationBar> </navigationBar>
<connections> <connections>
<segue destination="VGZ-6j-3c9" kind="relationship" relationship="rootViewController" id="WWe-xh-RNw"/> <segue destination="ujk-l5-hlK" kind="relationship" relationship="rootViewController" id="bSN-z1-AZk"/>
</connections> </connections>
</navigationController> </navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="HEP-xE-pJM" userLabel="First Responder" sceneMemberID="firstResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="HEP-xE-pJM" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects> </objects>
<point key="canvasLocation" x="1868" y="-630"/> <point key="canvasLocation" x="1868" y="-630"/>
</scene> </scene>
<!--Test Invite Friends Controller-->
<scene sceneID="cok-AG-Wp3">
<objects>
<viewController id="ujk-l5-hlK" customClass="TestInviteFriendsController" customModule="GetHip" customModuleProvider="target" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="ST3-nM-tvc"/>
<viewControllerLayoutGuide type="bottom" id="l3V-w7-kEv"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="Jzb-Yh-jPx">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="I0x-SG-Vbs">
<rect key="frame" x="0.0" y="528" width="320" height="40"/>
<state key="normal" backgroundImage="Send Invites Button.png">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<connections>
<action selector="sendInvites:" destination="ujk-l5-hlK" eventType="touchUpInside" id="Kzv-L7-FD3"/>
<segue destination="VGZ-6j-3c9" kind="show" identifier="selectSongSegue" id="za9-44-cTX"/>
</connections>
</button>
<tableView clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" translatesAutoresizingMaskIntoConstraints="NO" id="n64-qL-raO">
<rect key="frame" x="0.0" y="64" width="320" height="456"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<searchBar key="tableHeaderView" contentMode="redraw" id="fQ0-dw-Xa4">
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<textInputTraits key="textInputTraits"/>
<connections>
<outlet property="delegate" destination="ujk-l5-hlK" id="9Kw-ib-2HS"/>
</connections>
</searchBar>
<prototypes>
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="TestInviteCell" rowHeight="64" id="Fh8-OZ-AqN" customClass="TestInviteFriendsCell" customModule="GetHip" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Fh8-OZ-AqN" id="uSi-Wb-bLf">
<autoresizingMask key="autoresizingMask"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="78a-BT-21T">
<rect key="frame" x="252" y="17" width="46" height="30"/>
<state key="normal" backgroundImage="Tap Circle.png">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
</button>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="4k6-G5-geO">
<rect key="frame" x="14" y="7" width="50" height="50"/>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Friend" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xqN-Id-qka">
<rect key="frame" x="72" y="21" width="127" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</tableViewCellContentView>
<connections>
<outlet property="friendName" destination="xqN-Id-qka" id="LO0-es-faf"/>
<outlet property="proImage" destination="4k6-G5-geO" id="QjZ-dx-1m2"/>
<outlet property="rdioButton" destination="78a-BT-21T" id="CPF-tb-xW0"/>
</connections>
</tableViewCell>
</prototypes>
</tableView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</view>
<navigationItem key="navigationItem" id="BXQ-Vn-Hhz">
<barButtonItem key="rightBarButtonItem" systemItem="stop" id="atn-om-8hU">
<color key="tintColor" red="1" green="0.18659413420000001" blue="0.1031019395" alpha="1" colorSpace="calibratedRGB"/>
<connections>
<action selector="cancelInvites:" destination="ujk-l5-hlK" id="5oZ-Cy-yIy"/>
</connections>
</barButtonItem>
</navigationItem>
<simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
<connections>
<outlet property="searchDisplayController" destination="t2O-06-meT" id="3Ul-WL-nmZ"/>
<outlet property="table" destination="n64-qL-raO" id="eX4-wx-XQc"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="Pxc-QH-RWr" userLabel="First Responder" sceneMemberID="firstResponder"/>
<searchDisplayController id="t2O-06-meT">
<connections>
<outlet property="delegate" destination="ujk-l5-hlK" id="tHt-Aa-C3S"/>
<outlet property="searchBar" destination="fQ0-dw-Xa4" id="Cb4-To-vgM"/>
<outlet property="searchContentsController" destination="ujk-l5-hlK" id="OZ2-Eb-eWQ"/>
<outlet property="searchResultsDataSource" destination="ujk-l5-hlK" id="zeb-sF-fix"/>
<outlet property="searchResultsDelegate" destination="ujk-l5-hlK" id="naC-GS-VQI"/>
</connections>
</searchDisplayController>
</objects>
<point key="canvasLocation" x="2346" y="-630"/>
</scene>
<!--Song Selection View Controller--> <!--Song Selection View Controller-->
<scene sceneID="IkJ-pX-wAP"> <scene sceneID="IkJ-pX-wAP">
<objects> <objects>
@ -446,7 +541,8 @@
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</view> </view>
<navigationItem key="navigationItem" id="jFE-GF-LuN"> <navigationItem key="navigationItem" id="jFE-GF-LuN">
<barButtonItem key="leftBarButtonItem" systemItem="stop" id="jhr-4N-WL1"> <barButtonItem key="rightBarButtonItem" systemItem="stop" id="jhr-4N-WL1">
<color key="tintColor" red="1" green="0.18659413420000001" blue="0.1031019395" alpha="1" colorSpace="calibratedRGB"/>
<connections> <connections>
<action selector="cancelInvites:" destination="VGZ-6j-3c9" id="csb-hX-8ic"/> <action selector="cancelInvites:" destination="VGZ-6j-3c9" id="csb-hX-8ic"/>
</connections> </connections>
@ -459,7 +555,7 @@
</viewController> </viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="f9E-Q6-Co1" userLabel="First Responder" sceneMemberID="firstResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="f9E-Q6-Co1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects> </objects>
<point key="canvasLocation" x="2346" y="-630"/> <point key="canvasLocation" x="2804" y="-630"/>
</scene> </scene>
<!--Display Detail View Controller--> <!--Display Detail View Controller-->
<scene sceneID="Fj7-DJ-PIm"> <scene sceneID="Fj7-DJ-PIm">
@ -613,8 +709,10 @@
<resources> <resources>
<image name="Create@3x.png" width="471" height="93"/> <image name="Create@3x.png" width="471" height="93"/>
<image name="Friends@3x.png" width="219" height="126"/> <image name="Friends@3x.png" width="219" height="126"/>
<image name="Send Invites Button.png" width="375" height="46"/>
<image name="Settings@3x.png" width="116" height="113"/> <image name="Settings@3x.png" width="116" height="113"/>
<image name="Star@3x.png" width="172" height="166"/> <image name="Star@3x.png" width="172" height="166"/>
<image name="Tap Circle.png" width="28" height="27"/>
<image name="Turntable@3x.png" width="434" height="434"/> <image name="Turntable@3x.png" width="434" height="434"/>
</resources> </resources>
</document> </document>

View File

@ -55,8 +55,8 @@ class TestInviteFriendsController: UIViewController, UITableViewDelegate, UITabl
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
self.table.delegate = self
self.table.dataSource = self self.table.dataSource = self
self.table.delegate = self
// Uncomment the following line to preserve selection between presentations // Uncomment the following line to preserve selection between presentations
// self.clearsSelectionOnViewWillAppear = false // self.clearsSelectionOnViewWillAppear = false