Skip to content
This repository was archived by the owner on Jul 2, 2023. It is now read-only.

Commit

Permalink
Update target build
Browse files Browse the repository at this point in the history
  • Loading branch information
DianQK committed Jan 2, 2016
1 parent 389d23b commit 6e976dd
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 19 deletions.
1 change: 0 additions & 1 deletion TransitionTreasury.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,6 @@
};
26FE2CC11C26D80C005F4DDC = {
CreatedOnToolsVersion = 7.2;
DevelopmentTeam = HY634B3FW2;
};
};
};
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion TransitionTreasury/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<string>1.0.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
4 changes: 2 additions & 2 deletions TransitionTreasuryDemo/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<string>1.0.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>11000</string>
<string>11013</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
Expand Down
30 changes: 15 additions & 15 deletions TransitionTreasuryDemo/MainViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,6 @@ class MainViewController: UIViewController, ModalViewControllerDelegate {

@IBOutlet weak var presentResultLabel: UILabel!

func loadTransition() {
pushTransition.append(PushTransition(name: "OmniFocus", pushMethod: .OMIN(keyView: logoImageView)))
pushTransition.append(PushTransition(name: "IBanTang", pushMethod: .IBanTang(keyView: logoImageView)))
pushTransition.append(PushTransition(name: "Fade", pushMethod: .Fade))
pushTransition.append(PushTransition(name: "Page", pushMethod: .Page))
pushTransition.append(PushTransition(name: "Blixt", pushMethod: .Blixt(keyView: logoImageView, to: CGRect(x: 30, y: 360, width: logoImageView.frame.size.width / 3, height: logoImageView.frame.size.height / 3))))

presentTransition.append(PresentTransition(name: "Twitter", presentMethod: .Twitter))
presentTransition.append(PresentTransition(name: "Fade", presentMethod: .Fade))
presentTransition.append(PresentTransition(name: "PopTip", presentMethod: .PopTip(visibleHeight: 500)))
presentTransition.append(PresentTransition(name: "TaaskyFlip", presentMethod: .TaaskyFlip(blurEffect: true)))
presentTransition.append(PresentTransition(name: "Elevate", presentMethod: .Elevate(maskView: logoImageView, to: UIScreen.mainScreen().center)))

}

override func viewDidLoad() {
super.viewDidLoad()

Expand All @@ -66,6 +51,21 @@ class MainViewController: UIViewController, ModalViewControllerDelegate {
tr_dismissViewController()

}

func loadTransition() {
pushTransition.append(PushTransition(name: "OmniFocus", pushMethod: .OMIN(keyView: logoImageView)))
pushTransition.append(PushTransition(name: "IBanTang", pushMethod: .IBanTang(keyView: logoImageView)))
pushTransition.append(PushTransition(name: "Fade", pushMethod: .Fade))
pushTransition.append(PushTransition(name: "Page", pushMethod: .Page))
pushTransition.append(PushTransition(name: "Blixt", pushMethod: .Blixt(keyView: logoImageView, to: CGRect(x: 30, y: 360, width: logoImageView.frame.size.width / 3, height: logoImageView.frame.size.height / 3))))

presentTransition.append(PresentTransition(name: "Twitter", presentMethod: .Twitter))
presentTransition.append(PresentTransition(name: "Fade", presentMethod: .Fade))
presentTransition.append(PresentTransition(name: "PopTip", presentMethod: .PopTip(visibleHeight: 500)))
presentTransition.append(PresentTransition(name: "TaaskyFlip", presentMethod: .TaaskyFlip(blurEffect: true)))
presentTransition.append(PresentTransition(name: "Elevate", presentMethod: .Elevate(maskView: logoImageView, to: UIScreen.mainScreen().center)))

}

}

Expand Down

0 comments on commit 6e976dd

Please sign in to comment.