Skip to content

Commit c5f0e79

Browse files
committed
首页使用SB
1 parent 6bd3d62 commit c5f0e79

2 files changed

Lines changed: 19 additions & 4 deletions

File tree

CustomTransition/CustomTransition-Swift/CustomTransition-Swift/AppDelegate.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1717

1818
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
1919
// Override point for customization after application launch.
20-
mainViewController = ViewController()
21-
rootNavigationViewController = UINavigationController(rootViewController: mainViewController!)
22-
window?.rootViewController = rootNavigationViewController
2320
return true
2421
}
2522

CustomTransition/CustomTransition-Swift/CustomTransition-Swift/Base.lproj/Main.storyboard

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,26 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9532" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9532" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="Qo9-Kh-49n">
33
<dependencies>
44
<deployment identifier="iOS"/>
55
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530"/>
66
</dependencies>
77
<scenes>
8+
<!--Navigation Controller-->
9+
<scene sceneID="S7F-CT-kHT">
10+
<objects>
11+
<navigationController id="Qo9-Kh-49n" sceneMemberID="viewController">
12+
<navigationBar key="navigationBar" contentMode="scaleToFill" id="GGl-PX-mLj">
13+
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
14+
<autoresizingMask key="autoresizingMask"/>
15+
</navigationBar>
16+
<connections>
17+
<segue destination="BYZ-38-t0r" kind="relationship" relationship="rootViewController" id="yfu-yh-sM2"/>
18+
</connections>
19+
</navigationController>
20+
<placeholder placeholderIdentifier="IBFirstResponder" id="rG3-PB-KNl" userLabel="First Responder" sceneMemberID="firstResponder"/>
21+
</objects>
22+
<point key="canvasLocation" x="-37" y="365"/>
23+
</scene>
824
<!--View Controller-->
925
<scene sceneID="tne-QT-ifu">
1026
<objects>
@@ -18,9 +34,11 @@
1834
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1935
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
2036
</view>
37+
<navigationItem key="navigationItem" id="hag-pO-VIg"/>
2138
</viewController>
2239
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
2340
</objects>
41+
<point key="canvasLocation" x="943" y="365"/>
2442
</scene>
2543
</scenes>
2644
</document>

0 commit comments

Comments
 (0)