Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
@邻家的橘猫
Iosswift
提交
fe60642f
I
Iosswift
项目概览
@邻家的橘猫
/
Iosswift
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
Iosswift
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
fe60642f
编写于
3月 06, 2019
作者:
J
John Hampton
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Adds Navigation Items
上级
51638b35
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
53 addition
and
6 deletion
+53
-6
iOSTemplate/Base.lproj/Main.storyboard
iOSTemplate/Base.lproj/Main.storyboard
+53
-6
未找到文件。
iOSTemplate/Base.lproj/Main.storyboard
浏览文件 @
fe60642f
<?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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录