Skip to content

Commit a04e991

Browse files
committed
Moving Notifications to its own Storyboard
1 parent 0bfc0c9 commit a04e991

File tree

2 files changed

+76
-37
lines changed

2 files changed

+76
-37
lines changed
Lines changed: 12 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="MVm-eA-hqC">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="MVm-eA-hqC">
33
<device id="retina4_7" orientation="portrait">
44
<adaptation id="fullscreen"/>
55
</device>
66
<dependencies>
7-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
8-
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
7+
<deployment identifier="iOS"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
99
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
1010
</dependencies>
1111
<scenes>
@@ -23,47 +23,22 @@
2323
<connections>
2424
<segue destination="jeN-XS-2qG" kind="relationship" relationship="viewControllers" id="SC7-CG-XND"/>
2525
<segue destination="eDI-91-edj" kind="relationship" relationship="viewControllers" id="71l-Q1-bEB"/>
26-
<segue destination="rba-5x-dGo" kind="relationship" relationship="viewControllers" id="BbB-sd-RmO"/>
26+
<segue destination="VMd-nd-2gL" kind="relationship" relationship="viewControllers" id="I5c-0D-HBd"/>
2727
</connections>
2828
</tabBarController>
2929
<placeholder placeholderIdentifier="IBFirstResponder" id="nhY-3q-fRh" userLabel="First Responder" sceneMemberID="firstResponder"/>
3030
</objects>
3131
<point key="canvasLocation" x="-724" y="134"/>
3232
</scene>
3333
<!--Notifications-->
34-
<scene sceneID="EJ6-1r-6MA">
34+
<scene sceneID="HkD-nF-E4c">
3535
<objects>
36-
<viewController id="U6u-1O-1OL" userLabel="Notifications" customClass="NotificationsViewController" customModule="WooCommerce" customModuleProvider="target" sceneMemberID="viewController">
37-
<view key="view" contentMode="scaleToFill" id="D1b-1l-L6F">
38-
<rect key="frame" x="0.0" y="0.0" width="375" height="618"/>
39-
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
40-
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
41-
<viewLayoutGuide key="safeArea" id="Ii7-x3-0Ts"/>
42-
</view>
43-
<navigationItem key="navigationItem" title="Notifications" id="DXK-kQ-5Wi"/>
44-
</viewController>
45-
<placeholder placeholderIdentifier="IBFirstResponder" id="BHQ-gQ-EAs" userLabel="First Responder" sceneMemberID="firstResponder"/>
46-
</objects>
47-
<point key="canvasLocation" x="1558" y="-507"/>
48-
</scene>
49-
<!--Notifications-->
50-
<scene sceneID="43x-Kq-Ktt">
51-
<objects>
52-
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="rba-5x-dGo" sceneMemberID="viewController">
53-
<tabBarItem key="tabBarItem" title="Notifications" id="ptG-a1-GOP"/>
54-
<toolbarItems/>
55-
<navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="M0j-pN-s2E">
56-
<rect key="frame" x="0.0" y="20" width="375" height="44"/>
57-
<autoresizingMask key="autoresizingMask"/>
58-
</navigationBar>
59-
<nil name="viewControllers"/>
60-
<connections>
61-
<segue destination="U6u-1O-1OL" kind="relationship" relationship="rootViewController" id="Gx7-Me-gA3"/>
62-
</connections>
63-
</navigationController>
64-
<placeholder placeholderIdentifier="IBFirstResponder" id="IXB-cK-n9k" userLabel="First Responder" sceneMemberID="firstResponder"/>
36+
<viewControllerPlaceholder storyboardName="Notifications" id="VMd-nd-2gL" sceneMemberID="viewController">
37+
<tabBarItem key="tabBarItem" title="Item" id="8Hc-T2-dpT"/>
38+
</viewControllerPlaceholder>
39+
<placeholder placeholderIdentifier="IBFirstResponder" id="lNt-Bh-d2U" userLabel="First Responder" sceneMemberID="firstResponder"/>
6540
</objects>
66-
<point key="canvasLocation" x="524.79999999999995" y="-506.44677661169419"/>
41+
<point key="canvasLocation" x="-54" y="133"/>
6742
</scene>
6843
<!--Orders-->
6944
<scene sceneID="LpB-yt-3zf">
@@ -73,7 +48,7 @@
7348
</viewControllerPlaceholder>
7449
<placeholder placeholderIdentifier="IBFirstResponder" id="W3N-OO-li0" userLabel="First Responder" sceneMemberID="firstResponder"/>
7550
</objects>
76-
<point key="canvasLocation" x="109" y="133"/>
51+
<point key="canvasLocation" x="-83" y="-15"/>
7752
</scene>
7853
<!--Dashboard-->
7954
<scene sceneID="jh0-Br-aHk">
@@ -83,7 +58,7 @@
8358
</viewControllerPlaceholder>
8459
<placeholder placeholderIdentifier="IBFirstResponder" id="cFJ-6J-T54" userLabel="First Responder" sceneMemberID="firstResponder"/>
8560
</objects>
86-
<point key="canvasLocation" x="-725" y="630"/>
61+
<point key="canvasLocation" x="-64" y="-154"/>
8762
</scene>
8863
</scenes>
8964
</document>
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="611-pP-eI3">
3+
<device id="retina4_7" orientation="portrait">
4+
<adaptation id="fullscreen"/>
5+
</device>
6+
<dependencies>
7+
<deployment identifier="iOS"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
9+
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
10+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
11+
</dependencies>
12+
<scenes>
13+
<!--Notifications-->
14+
<scene sceneID="47z-8R-JgL">
15+
<objects>
16+
<viewController id="twY-WG-a6J" userLabel="Notifications" customClass="NotificationsViewController" customModule="WooCommerce" customModuleProvider="target" sceneMemberID="viewController">
17+
<view key="view" contentMode="scaleToFill" id="FHu-UQ-IDk">
18+
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
19+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
20+
<subviews>
21+
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="Xeu-Xa-kge">
22+
<rect key="frame" x="0.0" y="64" width="375" height="603"/>
23+
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
24+
</tableView>
25+
</subviews>
26+
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
27+
<constraints>
28+
<constraint firstItem="Xeu-Xa-kge" firstAttribute="top" secondItem="mdw-WF-tPO" secondAttribute="top" id="B1t-gb-3Xh"/>
29+
<constraint firstItem="mdw-WF-tPO" firstAttribute="bottom" secondItem="Xeu-Xa-kge" secondAttribute="bottom" id="KfG-Zw-aVH"/>
30+
<constraint firstItem="Xeu-Xa-kge" firstAttribute="leading" secondItem="mdw-WF-tPO" secondAttribute="leading" id="ROB-ft-nxo"/>
31+
<constraint firstItem="mdw-WF-tPO" firstAttribute="trailing" secondItem="Xeu-Xa-kge" secondAttribute="trailing" id="YfA-Gf-FIr"/>
32+
</constraints>
33+
<viewLayoutGuide key="safeArea" id="mdw-WF-tPO"/>
34+
</view>
35+
<navigationItem key="navigationItem" title="Notifications" id="V9G-Sx-xMy"/>
36+
<connections>
37+
<outlet property="tableView" destination="Xeu-Xa-kge" id="Gy0-KZ-BM3"/>
38+
</connections>
39+
</viewController>
40+
<placeholder placeholderIdentifier="IBFirstResponder" id="lEp-4f-Ifi" userLabel="First Responder" sceneMemberID="firstResponder"/>
41+
</objects>
42+
<point key="canvasLocation" x="1558" y="-507"/>
43+
</scene>
44+
<!--Notifications-->
45+
<scene sceneID="wER-bJ-hJ2">
46+
<objects>
47+
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="611-pP-eI3" sceneMemberID="viewController">
48+
<tabBarItem key="tabBarItem" title="Notifications" id="lf4-mx-07a"/>
49+
<toolbarItems/>
50+
<navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="Zqq-ZI-omZ">
51+
<rect key="frame" x="0.0" y="20" width="375" height="44"/>
52+
<autoresizingMask key="autoresizingMask"/>
53+
</navigationBar>
54+
<nil name="viewControllers"/>
55+
<connections>
56+
<segue destination="twY-WG-a6J" kind="relationship" relationship="rootViewController" id="oac-UY-TmU"/>
57+
</connections>
58+
</navigationController>
59+
<placeholder placeholderIdentifier="IBFirstResponder" id="shI-NL-zqW" userLabel="First Responder" sceneMemberID="firstResponder"/>
60+
</objects>
61+
<point key="canvasLocation" x="524.79999999999995" y="-506.44677661169419"/>
62+
</scene>
63+
</scenes>
64+
</document>

0 commit comments

Comments
 (0)