Skip to content

Commit

Permalink
demo_swift project cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
racarone committed Jan 30, 2016
1 parent e99e935 commit c45a5f9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions samples/demo_swift/src/Classes/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class ViewController: SPViewController {
override func viewDidLoad() {
super.viewDidLoad()

showStats = true
multitouchEnabled = true
preferredFramesPerSecond = 60
startWithRoot(Game.self, supportHighResolutions: true, doubleOnPad: true)
Expand All @@ -26,4 +27,8 @@ class ViewController: SPViewController {
view.frame = CGRectMake(64, 32, 640, 960)
}
}

override func prefersStatusBarHidden() -> Bool {
return true
}
}
10 changes: 5 additions & 5 deletions samples/demo_swift/src/Demo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@
25C23AFB11EC7FC400A25DF7 /* [email protected] */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = "[email protected]"; sourceTree = "<group>"; };
25C23AFE11EC7FE200A25DF7 /* atlas.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = atlas.png; sourceTree = "<group>"; };
25C23AFF11EC7FE200A25DF7 /* atlas.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = atlas.xml; sourceTree = "<group>"; };
7709F94B1C551CD30084903D /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; };
7709F94C1C551CD30084903D /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = "<group>"; };
7709F94B1C551CD30084903D /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Classes/Main.storyboard; sourceTree = "<group>"; };
7709F94C1C551CD30084903D /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = Classes/LaunchScreen.storyboard; sourceTree = "<group>"; };
7709F94F1C551DA50084903D /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
7721AA781C5BBEF6002EA2E7 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = Demo/Images.xcassets; sourceTree = "<group>"; };
7727CC7D1B73E4DB00D373B8 /* DemoAppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DemoAppDelegate.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -244,8 +244,6 @@
7727CC7D1B73E4DB00D373B8 /* DemoAppDelegate.swift */,
7709F94F1C551DA50084903D /* ViewController.swift */,
7727CC7F1B73E6FA00D373B8 /* Game.swift */,
7709F94B1C551CD30084903D /* Main.storyboard */,
7709F94C1C551CD30084903D /* LaunchScreen.storyboard */,
);
path = Classes;
sourceTree = "<group>";
Expand Down Expand Up @@ -337,14 +335,16 @@
isa = PBXGroup;
children = (
8D1107310486CEB800E47090 /* Demo-Info.plist */,
7721AA781C5BBEF6002EA2E7 /* Images.xcassets */,
7709F94C1C551CD30084903D /* LaunchScreen.storyboard */,
7709F94B1C551CD30084903D /* Main.storyboard */,
);
name = "Other Sources";
sourceTree = "<group>";
};
29B97317FDCFA39411CA2CEA /* Resources */ = {
isa = PBXGroup;
children = (
7721AA781C5BBEF6002EA2E7 /* Images.xcassets */,
DE91024816242E21001FD950 /* system */,
DEF1726C11B01A2100A11DD7 /* audio */,
DE4A3E6110FFB4C100FDA492 /* graphics */,
Expand Down

0 comments on commit c45a5f9

Please sign in to comment.