Skip to content

Commit

Permalink
complete storyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
cjiong committed Aug 21, 2016
1 parent 88070e6 commit 041459d
Show file tree
Hide file tree
Showing 8 changed files with 86 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
195B44C11D6955800099EF4E /* AnimatedLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 195B44C01D6955800099EF4E /* AnimatedLabel.swift */; };
19D8CA1E1D680BC8003F8268 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19D8CA1D1D680BC8003F8268 /* AppDelegate.swift */; };
19D8CA201D680BC8003F8268 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19D8CA1F1D680BC8003F8268 /* ViewController.swift */; };
19D8CA231D680BC8003F8268 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 19D8CA211D680BC8003F8268 /* Main.storyboard */; };
Expand Down Expand Up @@ -34,6 +35,7 @@
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
195B44C01D6955800099EF4E /* AnimatedLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AnimatedLabel.swift; sourceTree = "<group>"; };
19D8CA1A1D680BC8003F8268 /* Project 50 - GradientAnimation.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Project 50 - GradientAnimation.app"; sourceTree = BUILT_PRODUCTS_DIR; };
19D8CA1D1D680BC8003F8268 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
19D8CA1F1D680BC8003F8268 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -100,6 +102,7 @@
19D8CA1D1D680BC8003F8268 /* AppDelegate.swift */,
19D8CA1F1D680BC8003F8268 /* ViewController.swift */,
19D8CA211D680BC8003F8268 /* Main.storyboard */,
195B44C01D6955800099EF4E /* AnimatedLabel.swift */,
19D8CA241D680BC8003F8268 /* Assets.xcassets */,
19D8CA261D680BC8003F8268 /* LaunchScreen.storyboard */,
19D8CA291D680BC8003F8268 /* Info.plist */,
Expand Down Expand Up @@ -256,6 +259,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
195B44C11D6955800099EF4E /* AnimatedLabel.swift in Sources */,
19D8CA201D680BC8003F8268 /* ViewController.swift in Sources */,
19D8CA1E1D680BC8003F8268 /* AppDelegate.swift in Sources */,
);
Expand Down Expand Up @@ -484,6 +488,7 @@
19D8CA441D680BC8003F8268 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
19D8CA451D680BC8003F8268 /* Build configuration list for PBXNativeTarget "Project 50 - GradientAnimationTests" */ = {
isa = XCConfigurationList;
Expand All @@ -492,6 +497,7 @@
19D8CA471D680BC8003F8268 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
19D8CA481D680BC8003F8268 /* Build configuration list for PBXNativeTarget "Project 50 - GradientAnimationUITests" */ = {
isa = XCConfigurationList;
Expand All @@ -500,6 +506,7 @@
19D8CA4A1D680BC8003F8268 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//
// AnimatedLabel.swift
// Project 50 - GradientAnimation
//
// Created by 陈炯 on 16/8/21.
// Copyright © 2016年 Jiong. All rights reserved.
//

import UIKit

Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@
"idiom" : "ipad",
"size" : "76x76",
"scale" : "2x"
},
{
"idiom" : "ipad",
"size" : "83.5x83.5",
"scale" : "2x"
}
],
"info" : {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "background.pdf",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,25 +1,54 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9531" systemVersion="14F27" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="OSK-Ge-l93">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9529"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="tne-QT-ifu">
<scene sceneID="esT-Nt-JaD">
<objects>
<viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
<viewController id="OSK-Ge-l93" customClass="ViewController" customModule="Project_50___GradientAnimation" customModuleProvider="target" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
<viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
<viewControllerLayoutGuide type="top" id="0WB-ml-Wb9"/>
<viewControllerLayoutGuide type="bottom" id="yTP-TK-RP8"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<view key="view" contentMode="scaleToFill" id="zvi-MJ-6MQ">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="background" translatesAutoresizingMaskIntoConstraints="NO" id="Dhk-Uc-jqU">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
</imageView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="oHF-hz-6yM" customClass="AnimatedLabel" customModule="Project_50___GradientAnimation" customModuleProvider="target">
<rect key="frame" x="0.0" y="250" width="600" height="100"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="height" constant="100" id="Jfh-tP-Ee2"/>
<constraint firstAttribute="width" constant="600" id="TXj-UL-zG9"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="string" keyPath="text" value="Learn Swift"/>
</userDefinedRuntimeAttributes>
</view>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="Dhk-Uc-jqU" secondAttribute="trailing" id="3gZ-hn-8o6"/>
<constraint firstItem="yTP-TK-RP8" firstAttribute="top" secondItem="Dhk-Uc-jqU" secondAttribute="bottom" id="KAZ-39-pPu"/>
<constraint firstItem="Dhk-Uc-jqU" firstAttribute="leading" secondItem="zvi-MJ-6MQ" secondAttribute="leading" id="Lko-zz-7JC"/>
<constraint firstItem="oHF-hz-6yM" firstAttribute="centerX" secondItem="zvi-MJ-6MQ" secondAttribute="centerX" id="NvG-8f-7oT"/>
<constraint firstItem="Dhk-Uc-jqU" firstAttribute="top" secondItem="0WB-ml-Wb9" secondAttribute="bottom" constant="-20" id="UIR-ce-Jjg"/>
<constraint firstItem="oHF-hz-6yM" firstAttribute="centerY" secondItem="zvi-MJ-6MQ" secondAttribute="centerY" id="iLt-Nx-jqF"/>
</constraints>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="mNY-0I-N65" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="306" y="317"/>
</scene>
</scenes>
<resources>
<image name="background" width="1200" height="1200"/>
</resources>
</document>

0 comments on commit 041459d

Please sign in to comment.