Skip to content

Commit

Permalink
SKTUtilsExtended is used instead of SKTUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
softdevstory committed Apr 30, 2016
1 parent f0c901b commit 310cf40
Show file tree
Hide file tree
Showing 10 changed files with 33 additions and 21 deletions.
3 changes: 2 additions & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
github "softdevstory/SKTUtils" "57a8617d"
github "softdevstory/SKTUtilsExtended" >= 0.1

30 changes: 19 additions & 11 deletions OhMyPlane.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
A42DE6621CCDD8F80088AD76 /* GameKitHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = A42DE6601CCDD8F80088AD76 /* GameKitHelper.swift */; };
A42DE6651CCE11970088AD76 /* AchivementHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = A42DE6641CCE11970088AD76 /* AchivementHelper.swift */; };
A42DE6671CCF51320088AD76 /* GameKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A42DE6661CCF51320088AD76 /* GameKit.framework */; };
A435C0601CBF4628002EFCCF /* SKTUtils.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A435C05E1CBF45D3002EFCCF /* SKTUtils.framework */; };
A435C0621CBF61DF002EFCCF /* TVControlsScene.swift in Sources */ = {isa = PBXBuildFile; fileRef = A435C0611CBF61DF002EFCCF /* TVControlsScene.swift */; };
A435C0631CBF61DF002EFCCF /* TVControlsScene.swift in Sources */ = {isa = PBXBuildFile; fileRef = A435C0611CBF61DF002EFCCF /* TVControlsScene.swift */; };
A435C0661CBF6248002EFCCF /* GameScene+TVControlsScene.swift in Sources */ = {isa = PBXBuildFile; fileRef = A435C0651CBF6248002EFCCF /* GameScene+TVControlsScene.swift */; };
Expand Down Expand Up @@ -70,6 +69,8 @@
A490077F1CD300AF0046DAC8 /* LeaderBoardHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = A490077D1CD1ED860046DAC8 /* LeaderBoardHelper.swift */; };
A49007801CD300B20046DAC8 /* AchivementHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = A42DE6641CCE11970088AD76 /* AchivementHelper.swift */; };
A49007811CD300B60046DAC8 /* GameStatistics.swift in Sources */ = {isa = PBXBuildFile; fileRef = A490077B1CD09E6A0046DAC8 /* GameStatistics.swift */; };
A49007FE1CD4C9230046DAC8 /* SKTUtilsExtended.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A49007FD1CD4C9230046DAC8 /* SKTUtilsExtended.framework */; };
A49008001CD4C9310046DAC8 /* SKTUtilsExtended.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A49007FF1CD4C9310046DAC8 /* SKTUtilsExtended.framework */; };
A496E8DD1CA228C800A448F5 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = A496E8DC1CA228C800A448F5 /* AppDelegate.swift */; };
A496E8E11CA228C800A448F5 /* GameScene.swift in Sources */ = {isa = PBXBuildFile; fileRef = A496E8E01CA228C800A448F5 /* GameScene.swift */; };
A496E8E31CA228C800A448F5 /* GameViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A496E8E21CA228C800A448F5 /* GameViewController.swift */; };
Expand Down Expand Up @@ -98,15 +99,13 @@
A4C08B2C1CB258C800FD8DAE /* TopThreeRecords.swift in Sources */ = {isa = PBXBuildFile; fileRef = A4C08B2B1CB258C800FD8DAE /* TopThreeRecords.swift */; };
A4C08B2E1CB39AF400FD8DAE /* click3.wav in Resources */ = {isa = PBXBuildFile; fileRef = A4C08B2D1CB39AF400FD8DAE /* click3.wav */; };
A4C08B301CB3A10D00FD8DAE /* TopRecordsScene.swift in Sources */ = {isa = PBXBuildFile; fileRef = A4C08B2F1CB3A10D00FD8DAE /* TopRecordsScene.swift */; };
A4D1BF481CB77895001B455A /* SKTUtils.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A4D1BF471CB77895001B455A /* SKTUtils.framework */; };
A4F66B561CB4EC4B00122830 /* topThreeRecords.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = A4F66B551CB4EC4B00122830 /* topThreeRecords.mp3 */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
A42DE6601CCDD8F80088AD76 /* GameKitHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GameKitHelper.swift; sourceTree = "<group>"; };
A42DE6641CCE11970088AD76 /* AchivementHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AchivementHelper.swift; sourceTree = "<group>"; };
A42DE6661CCF51320088AD76 /* GameKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameKit.framework; path = System/Library/Frameworks/GameKit.framework; sourceTree = SDKROOT; };
A435C05E1CBF45D3002EFCCF /* SKTUtils.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SKTUtils.framework; path = ../Carthage/Build/tvOS/SKTUtils.framework; sourceTree = "<group>"; };
A435C0611CBF61DF002EFCCF /* TVControlsScene.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TVControlsScene.swift; sourceTree = "<group>"; };
A435C0651CBF6248002EFCCF /* GameScene+TVControlsScene.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "GameScene+TVControlsScene.swift"; sourceTree = "<group>"; };
A435C0671CBF62AE002EFCCF /* MainScene+TVControlsScene.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "MainScene+TVControlsScene.swift"; sourceTree = "<group>"; };
Expand All @@ -130,6 +129,8 @@
A48DA0681CBE2AD7000DCCED /* ShareAssets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = ShareAssets.xcassets; path = ../Shared/ShareAssets.xcassets; sourceTree = "<group>"; };
A490077B1CD09E6A0046DAC8 /* GameStatistics.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GameStatistics.swift; sourceTree = "<group>"; };
A490077D1CD1ED860046DAC8 /* LeaderBoardHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LeaderBoardHelper.swift; sourceTree = "<group>"; };
A49007FD1CD4C9230046DAC8 /* SKTUtilsExtended.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SKTUtilsExtended.framework; path = Carthage/Build/tvOS/SKTUtilsExtended.framework; sourceTree = "<group>"; };
A49007FF1CD4C9310046DAC8 /* SKTUtilsExtended.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SKTUtilsExtended.framework; path = Carthage/Build/iOS/SKTUtilsExtended.framework; sourceTree = "<group>"; };
A496E8D91CA228C800A448F5 /* OhMyPlane.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OhMyPlane.app; sourceTree = BUILT_PRODUCTS_DIR; };
A496E8DC1CA228C800A448F5 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; lineEnding = 0; path = AppDelegate.swift; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.swift; };
A496E8E01CA228C800A448F5 /* GameScene.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; lineEnding = 0; name = GameScene.swift; path = ../Shared/GameScene.swift; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.swift; };
Expand Down Expand Up @@ -160,7 +161,6 @@
A4C08B2B1CB258C800FD8DAE /* TopThreeRecords.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = TopThreeRecords.swift; path = Shared/TopThreeRecords.swift; sourceTree = "<group>"; };
A4C08B2D1CB39AF400FD8DAE /* click3.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; name = click3.wav; path = ../Shared/click3.wav; sourceTree = "<group>"; };
A4C08B2F1CB3A10D00FD8DAE /* TopRecordsScene.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = TopRecordsScene.swift; path = ../Shared/TopRecordsScene.swift; sourceTree = "<group>"; };
A4D1BF471CB77895001B455A /* SKTUtils.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SKTUtils.framework; path = ../Carthage/Build/iOS/SKTUtils.framework; sourceTree = "<group>"; };
A4F66B551CB4EC4B00122830 /* topThreeRecords.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = topThreeRecords.mp3; path = ../Shared/topThreeRecords.mp3; sourceTree = "<group>"; };
/* End PBXFileReference section */

Expand All @@ -169,7 +169,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
A435C0601CBF4628002EFCCF /* SKTUtils.framework in Frameworks */,
A49007FE1CD4C9230046DAC8 /* SKTUtilsExtended.framework in Frameworks */,
A46711BD1CC8BC3D005A0E6A /* GameKit.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -178,7 +178,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
A4D1BF481CB77895001B455A /* SKTUtils.framework in Frameworks */,
A49008001CD4C9310046DAC8 /* SKTUtilsExtended.framework in Frameworks */,
A42DE6671CCF51320088AD76 /* GameKit.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -238,7 +238,6 @@
A48DA01F1CBE222B000DCCED /* Main.storyboard */,
A48DA0221CBE222B000DCCED /* Assets.xcassets */,
A48DA0241CBE222B000DCCED /* Info.plist */,
A435C05E1CBF45D3002EFCCF /* SKTUtils.framework */,
);
path = OhMyPlaneTv;
sourceTree = "<group>";
Expand All @@ -255,15 +254,25 @@
name = Share;
sourceTree = "<group>";
};
A496E8D01CA228C800A448F5 = {
A49008011CD4C9CB0046DAC8 /* framework */ = {
isa = PBXGroup;
children = (
A49007FF1CD4C9310046DAC8 /* SKTUtilsExtended.framework */,
A49007FD1CD4C9230046DAC8 /* SKTUtilsExtended.framework */,
A42DE6661CCF51320088AD76 /* GameKit.framework */,
A46711BC1CC8BC3D005A0E6A /* GameKit.framework */,
);
name = framework;
sourceTree = "<group>";
};
A496E8D01CA228C800A448F5 = {
isa = PBXGroup;
children = (
A48DA0281CBE2261000DCCED /* Share */,
A496E8DB1CA228C800A448F5 /* OhMyPlane */,
A48DA0141CBE222B000DCCED /* OhMyPlaneTv */,
A496E8DA1CA228C800A448F5 /* Products */,
A49008011CD4C9CB0046DAC8 /* framework */,
);
sourceTree = "<group>";
};
Expand All @@ -285,7 +294,6 @@
A496E8E91CA228C900A448F5 /* LaunchScreen.storyboard */,
A496E8EC1CA228C900A448F5 /* Info.plist */,
A496E8E41CA228C800A448F5 /* Main.storyboard */,
A4D1BF471CB77895001B455A /* SKTUtils.framework */,
);
path = OhMyPlane;
sourceTree = "<group>";
Expand Down Expand Up @@ -520,7 +528,7 @@
files = (
);
inputPaths = (
"$(SRCROOT)/Carthage/Build/tvOS/SKTUtils.framework",
"$(SRCROOT)/Carthage/Build/tvOS/SKTUtilsExtended.framework",
);
name = Carthage;
outputPaths = (
Expand All @@ -535,7 +543,7 @@
files = (
);
inputPaths = (
"$(SRCROOT)/Carthage/Build/iOS/SKTUtils.framework",
"$(SRCROOT)/Carthage/Build/iOS/SKTUtilsExtended.framework",
);
name = Carthage;
outputPaths = (
Expand Down
4 changes: 3 additions & 1 deletion OhMyPlane/GameViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ class GameViewController: UIViewController {
NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(GameViewController.showAuthenticationViewController), name: PresentAuthenticationViewController, object: nil)

NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(GameViewController.showGameCenterViewController), name: PresentGameCenterViewController, object: nil)

}

override func viewDidAppear(animated: Bool) {
GameKitHelper.sharedInstance.authenticateLocalPlayer()
}

Expand Down
2 changes: 1 addition & 1 deletion OhMyPlane/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>3</string>
<string>4</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSRequiresIPhoneOS</key>
Expand Down
5 changes: 3 additions & 2 deletions OhMyPlaneTv/GameViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ class GameViewController: UIViewController {
NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(GameViewController.showAuthenticationViewController), name: PresentAuthenticationViewController, object: nil)

NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(GameViewController.showGameCenterViewController), name: PresentGameCenterViewController, object: nil)

}

override func viewDidAppear(animated: Bool) {
GameKitHelper.sharedInstance.authenticateLocalPlayer()

}

override func didReceiveMemoryWarning() {
Expand Down
2 changes: 1 addition & 1 deletion OhMyPlaneTv/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>3</string>
<string>4</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSRequiresIPhoneOS</key>
Expand Down
2 changes: 1 addition & 1 deletion Shared/CreditScene.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

import SpriteKit
import SKTUtils
import SKTUtilsExtended

class CreditScene: SKScene {

Expand Down
2 changes: 1 addition & 1 deletion Shared/GameScene.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import SpriteKit
import GameplayKit
import SKTUtils
import SKTUtilsExtended

struct PhysicsCategory {
static let None: UInt32 = 0
Expand Down
2 changes: 1 addition & 1 deletion Shared/MainScene.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

import SpriteKit
import SKTUtils
import SKTUtilsExtended

class MainScene: SKScene {

Expand Down
2 changes: 1 addition & 1 deletion Shared/TopRecordsScene.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

import SpriteKit
import SKTUtils
import SKTUtilsExtended

class TopRecordsScene: SKScene {

Expand Down

0 comments on commit 310cf40

Please sign in to comment.