提交 fe60642f 编写于 作者: J John Hampton

Adds Navigation Items

上级 51638b35
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="qli-FJ-LK4">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="Z2J-ha-eLV">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
......@@ -10,7 +10,7 @@
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--Meal Table View Controller-->
<!--Your Meals-->
<scene sceneID="zgg-br-7lU">
<objects>
<tableViewController id="qli-FJ-LK4" customClass="MealTableViewController" customModule="iOSTemplate" customModuleProvider="target" sceneMemberID="viewController">
......@@ -55,12 +55,19 @@
<outlet property="delegate" destination="qli-FJ-LK4" id="YDW-BB-Ku2"/>
</connections>
</tableView>
<navigationItem key="navigationItem" title="Your Meals" id="ZBB-eN-FYG">
<barButtonItem key="rightBarButtonItem" systemItem="add" id="Bop-9v-mjb">
<connections>
<segue destination="R08-W6-RoR" kind="presentation" identifier="AddItem" id="WNa-dE-3at"/>
</connections>
</barButtonItem>
</navigationItem>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="M5T-rl-Lgo" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-914.39999999999998" y="133.5832083958021"/>
<point key="canvasLocation" x="24.800000000000001" y="133.5832083958021"/>
</scene>
<!--Meal View Controller-->
<!--New Meal-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="MealViewController" customModule="iOSTemplate" customModuleProvider="target" sceneMemberID="viewController">
......@@ -69,7 +76,7 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="l36-fK-dfQ">
<rect key="frame" x="0.0" y="40" width="375" height="410"/>
<rect key="frame" x="0.0" y="84" width="375" height="410"/>
<subviews>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter meal name" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="DYv-F4-28V">
<rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
......@@ -104,6 +111,10 @@
</constraints>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
</view>
<navigationItem key="navigationItem" title="New Meal" id="wNP-Ja-rUg">
<barButtonItem key="leftBarButtonItem" systemItem="cancel" id="0cu-qE-5QR"/>
<barButtonItem key="rightBarButtonItem" systemItem="save" id="1zV-vx-9y5"/>
</navigationItem>
<connections>
<outlet property="nameTextField" destination="DYv-F4-28V" id="GJa-MY-QZF"/>
<outlet property="photoImageView" destination="Rhj-yY-68e" id="4Ye-IM-GYI"/>
......@@ -117,7 +128,43 @@
</connections>
</tapGestureRecognizer>
</objects>
<point key="canvasLocation" x="-79.200000000000003" y="133.5832083958021"/>
<point key="canvasLocation" x="1799.2" y="133.5832083958021"/>
</scene>
<!--Navigation Controller-->
<scene sceneID="7Ua-0w-F9J">
<objects>
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="Z2J-ha-eLV" sceneMemberID="viewController">
<toolbarItems/>
<navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="Iw9-YH-GM6">
<rect key="frame" x="0.0" y="20" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
</navigationBar>
<nil name="viewControllers"/>
<connections>
<segue destination="qli-FJ-LK4" kind="relationship" relationship="rootViewController" id="vbP-of-gFw"/>
</connections>
</navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="09D-Vj-kF1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-914.39999999999998" y="133.5832083958021"/>
</scene>
<!--Navigation Controller-->
<scene sceneID="Tr3-UT-SXQ">
<objects>
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="R08-W6-RoR" sceneMemberID="viewController">
<toolbarItems/>
<navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="hAW-Q1-ppT">
<rect key="frame" x="0.0" y="20" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
</navigationBar>
<nil name="viewControllers"/>
<connections>
<segue destination="BYZ-38-t0r" kind="relationship" relationship="rootViewController" id="wYY-10-YzP"/>
</connections>
</navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="GiG-92-fkl" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="860" y="133.5832083958021"/>
</scene>
</scenes>
<resources>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册