Skip to content

Commit

Permalink
Life Saver for tvOS (#15)
Browse files Browse the repository at this point in the history
* rename main folders

* rename screensaver folder

* tvos ui

* rename file

* move some stuff around

* move more stuff around

* cleanup

* add tvos app icons

* add top shelf image and other stuff

* fix picker bug

* add fade in from black on startup

* this fade in works in the simulator but not the apple tv itself...

* pressing menu shows menu

* slicker menu button behavior

* was putting too much stuff in view did appear it seems

* update app icon

* fix macos/screensaver builds

* fix menu button shenanigans
  • Loading branch information
amiantos authored Jun 30, 2019
1 parent b740243 commit d4f323c
Show file tree
Hide file tree
Showing 92 changed files with 2,528 additions and 386 deletions.
6 changes: 6 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
disabled_rules:
- trailing_comma

excluded: # paths to ignore during linting. Takes precedence over `included`.
- Carthage
- Pods
Expand All @@ -6,5 +9,8 @@ line_length:
- 150 # warning
- 200 # error

type_body_length:
- 250

cyclomatic_complexity:
ignores_case_statements: true
35 changes: 0 additions & 35 deletions Life Saver tvOS/AppDelegate.swift

This file was deleted.

47 changes: 0 additions & 47 deletions Life Saver tvOS/GameViewController.swift

This file was deleted.

209 changes: 134 additions & 75 deletions Life Saver.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B492215E2291F59C00D5DEA4"
BlueprintIdentifier = "B49CB72422C3047500A53FB7"
BuildableName = "Life Saver tvOS.app"
BlueprintName = "Life Saver tvOS"
ReferencedContainer = "container:Life Saver.xcodeproj">
Expand All @@ -32,7 +32,7 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B492215E2291F59C00D5DEA4"
BlueprintIdentifier = "B49CB72422C3047500A53FB7"
BuildableName = "Life Saver tvOS.app"
BlueprintName = "Life Saver tvOS"
ReferencedContainer = "container:Life Saver.xcodeproj">
Expand All @@ -55,7 +55,7 @@
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B492215E2291F59C00D5DEA4"
BlueprintIdentifier = "B49CB72422C3047500A53FB7"
BuildableName = "Life Saver tvOS.app"
BlueprintName = "Life Saver tvOS"
ReferencedContainer = "container:Life Saver.xcodeproj">
Expand All @@ -74,7 +74,7 @@
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B492215E2291F59C00D5DEA4"
BlueprintIdentifier = "B49CB72422C3047500A53FB7"
BuildableName = "Life Saver tvOS.app"
BlueprintName = "Life Saver tvOS"
ReferencedContainer = "container:Life Saver.xcodeproj">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1020"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B49CB72422C3047500A53FB7"
BuildableName = "Life Saver tvOS.app"
BlueprintName = "Life Saver tvOS"
ReferencedContainer = "container:Life Saver.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B49CB72422C3047500A53FB7"
BuildableName = "Life Saver tvOS.app"
BlueprintName = "Life Saver tvOS"
ReferencedContainer = "container:Life Saver.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Release"
selectedDebuggerIdentifier = ""
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B49CB72422C3047500A53FB7"
BuildableName = "Life Saver tvOS.app"
BlueprintName = "Life Saver tvOS"
ReferencedContainer = "container:Life Saver.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B49CB72422C3047500A53FB7"
BuildableName = "Life Saver tvOS.app"
BlueprintName = "Life Saver tvOS"
ReferencedContainer = "container:Life Saver.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@
<key>orderHint</key>
<integer>0</integer>
</dict>
<key>macOS Debug.xcscheme_^#shared#^_</key>
<key>Life Saver macOS Debug.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
</dict>
<key>tvOS Debug.xcscheme_^#shared#^_</key>
<key>Life Saver tvOS Debug.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>3</integer>
<integer>7</integer>
</dict>
<key>tvOS.xcscheme</key>
<key>Life Saver tvOS.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>2</integer>
<integer>6</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
Expand Down
2 changes: 1 addition & 1 deletion Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ target 'Life Saver tvOS' do
use_frameworks!

# Pods for Life Saver tvOS

pod 'SwiftLint'
end
2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ SPEC REPOS:
SPEC CHECKSUMS:
SwiftLint: fed9c66336e41fc74dc48a73678380718f0c8b0e

PODFILE CHECKSUM: 05e9ba66064aab2784708b41bc20d5018f76cf98
PODFILE CHECKSUM: 4e098b7aa804dffdefce9b1afb1a86d385d687ae

COCOAPODS: 1.7.2
2 changes: 1 addition & 1 deletion Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d4f323c

Please sign in to comment.