Skip to content

Commit d52276d

Browse files
committed
Initial Commit
0 parents  commit d52276d

File tree

13 files changed

+1529
-0
lines changed

13 files changed

+1529
-0
lines changed

Twitch.xcodeproj/project.pbxproj

+498
Large diffs are not rendered by default.

Twitch.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0720"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
</BuildAction>
9+
<TestAction
10+
buildConfiguration = "Debug"
11+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
12+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
13+
shouldUseLaunchSchemeArgsEnv = "YES">
14+
<Testables>
15+
</Testables>
16+
<AdditionalOptions>
17+
</AdditionalOptions>
18+
</TestAction>
19+
<LaunchAction
20+
buildConfiguration = "Debug"
21+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
22+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
23+
launchStyle = "0"
24+
useCustomWorkingDirectory = "NO"
25+
ignoresPersistentStateOnLaunch = "NO"
26+
debugDocumentVersioning = "YES"
27+
debugServiceExtension = "internal"
28+
allowLocationSimulation = "YES">
29+
<AdditionalOptions>
30+
</AdditionalOptions>
31+
</LaunchAction>
32+
<ProfileAction
33+
buildConfiguration = "Release"
34+
shouldUseLaunchSchemeArgsEnv = "YES"
35+
savedToolIdentifier = ""
36+
useCustomWorkingDirectory = "NO"
37+
debugDocumentVersioning = "YES">
38+
</ProfileAction>
39+
<AnalyzeAction
40+
buildConfiguration = "Debug">
41+
</AnalyzeAction>
42+
<ArchiveAction
43+
buildConfiguration = "Release"
44+
revealArchiveInOrganizer = "YES">
45+
</ArchiveAction>
46+
</Scheme>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>SchemeUserState</key>
6+
<dict>
7+
<key>Twitch.xcscheme</key>
8+
<dict>
9+
<key>orderHint</key>
10+
<integer>0</integer>
11+
</dict>
12+
</dict>
13+
<key>SuppressBuildableAutocreation</key>
14+
<dict>
15+
<key>8CE0BEF81C9B445500834179</key>
16+
<dict>
17+
<key>primary</key>
18+
<true/>
19+
</dict>
20+
<key>8CE0BF091C9B445500834179</key>
21+
<dict>
22+
<key>primary</key>
23+
<true/>
24+
</dict>
25+
<key>8CE0BF141C9B445500834179</key>
26+
<dict>
27+
<key>primary</key>
28+
<true/>
29+
</dict>
30+
</dict>
31+
</dict>
32+
</plist>

Twitch/AppDelegate.swift

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
//
2+
// AppDelegate.swift
3+
// Twitch
4+
//
5+
// Created by Adam Holt on 17/03/2016.
6+
// Copyright © 2016 Adam Holt. All rights reserved.
7+
//
8+
9+
import Cocoa
10+
11+
@NSApplicationMain
12+
class AppDelegate: NSObject, NSApplicationDelegate {
13+
14+
15+
16+
func applicationDidFinishLaunching(aNotification: NSNotification) {
17+
// Insert code here to initialize your application
18+
}
19+
20+
func applicationWillTerminate(aNotification: NSNotification) {
21+
// Insert code here to tear down your application
22+
}
23+
24+
25+
}
26+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "mac",
5+
"size" : "16x16",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "mac",
10+
"size" : "16x16",
11+
"scale" : "2x"
12+
},
13+
{
14+
"idiom" : "mac",
15+
"size" : "32x32",
16+
"scale" : "1x"
17+
},
18+
{
19+
"idiom" : "mac",
20+
"size" : "32x32",
21+
"scale" : "2x"
22+
},
23+
{
24+
"idiom" : "mac",
25+
"size" : "128x128",
26+
"scale" : "1x"
27+
},
28+
{
29+
"idiom" : "mac",
30+
"size" : "128x128",
31+
"scale" : "2x"
32+
},
33+
{
34+
"idiom" : "mac",
35+
"size" : "256x256",
36+
"scale" : "1x"
37+
},
38+
{
39+
"idiom" : "mac",
40+
"size" : "256x256",
41+
"scale" : "2x"
42+
},
43+
{
44+
"idiom" : "mac",
45+
"size" : "512x512",
46+
"scale" : "1x"
47+
},
48+
{
49+
"idiom" : "mac",
50+
"size" : "512x512",
51+
"scale" : "2x"
52+
}
53+
],
54+
"info" : {
55+
"version" : 1,
56+
"author" : "xcode"
57+
}
58+
}

Twitch/Base.lproj/Main.storyboard

+681
Large diffs are not rendered by default.

Twitch/Info.plist

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIconFile</key>
10+
<string></string>
11+
<key>CFBundleIdentifier</key>
12+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
13+
<key>CFBundleInfoDictionaryVersion</key>
14+
<string>6.0</string>
15+
<key>CFBundleName</key>
16+
<string>$(PRODUCT_NAME)</string>
17+
<key>CFBundlePackageType</key>
18+
<string>APPL</string>
19+
<key>CFBundleShortVersionString</key>
20+
<string>1.0</string>
21+
<key>CFBundleSignature</key>
22+
<string>????</string>
23+
<key>CFBundleVersion</key>
24+
<string>1</string>
25+
<key>LSMinimumSystemVersion</key>
26+
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
27+
<key>NSHumanReadableCopyright</key>
28+
<string>Copyright © 2016 Adam Holt. All rights reserved.</string>
29+
<key>NSMainStoryboardFile</key>
30+
<string>Main</string>
31+
<key>NSPrincipalClass</key>
32+
<string>NSApplication</string>
33+
</dict>
34+
</plist>

Twitch/ViewController.swift

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
//
2+
// ViewController.swift
3+
// Twitch
4+
//
5+
// Created by Adam Holt on 17/03/2016.
6+
// Copyright © 2016 Adam Holt. All rights reserved.
7+
//
8+
9+
import Cocoa
10+
11+
class ViewController: NSViewController {
12+
13+
override func viewDidLoad() {
14+
super.viewDidLoad()
15+
16+
// Do any additional setup after loading the view.
17+
}
18+
19+
override var representedObject: AnyObject? {
20+
didSet {
21+
// Update the view, if already loaded.
22+
}
23+
}
24+
25+
26+
}
27+

TwitchTests/Info.plist

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>BNDL</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleSignature</key>
20+
<string>????</string>
21+
<key>CFBundleVersion</key>
22+
<string>1</string>
23+
</dict>
24+
</plist>

TwitchTests/TwitchTests.swift

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
//
2+
// TwitchTests.swift
3+
// TwitchTests
4+
//
5+
// Created by Adam Holt on 17/03/2016.
6+
// Copyright © 2016 Adam Holt. All rights reserved.
7+
//
8+
9+
import XCTest
10+
@testable import Twitch
11+
12+
class TwitchTests: XCTestCase {
13+
14+
override func setUp() {
15+
super.setUp()
16+
// Put setup code here. This method is called before the invocation of each test method in the class.
17+
}
18+
19+
override func tearDown() {
20+
// Put teardown code here. This method is called after the invocation of each test method in the class.
21+
super.tearDown()
22+
}
23+
24+
func testExample() {
25+
// This is an example of a functional test case.
26+
// Use XCTAssert and related functions to verify your tests produce the correct results.
27+
}
28+
29+
func testPerformanceExample() {
30+
// This is an example of a performance test case.
31+
self.measureBlock {
32+
// Put the code you want to measure the time of here.
33+
}
34+
}
35+
36+
}

TwitchUITests/Info.plist

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>BNDL</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleSignature</key>
20+
<string>????</string>
21+
<key>CFBundleVersion</key>
22+
<string>1</string>
23+
</dict>
24+
</plist>

TwitchUITests/TwitchUITests.swift

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
//
2+
// TwitchUITests.swift
3+
// TwitchUITests
4+
//
5+
// Created by Adam Holt on 17/03/2016.
6+
// Copyright © 2016 Adam Holt. All rights reserved.
7+
//
8+
9+
import XCTest
10+
11+
class TwitchUITests: XCTestCase {
12+
13+
override func setUp() {
14+
super.setUp()
15+
16+
// Put setup code here. This method is called before the invocation of each test method in the class.
17+
18+
// In UI tests it is usually best to stop immediately when a failure occurs.
19+
continueAfterFailure = false
20+
// UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
21+
XCUIApplication().launch()
22+
23+
// In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
24+
}
25+
26+
override func tearDown() {
27+
// Put teardown code here. This method is called after the invocation of each test method in the class.
28+
super.tearDown()
29+
}
30+
31+
func testExample() {
32+
// Use recording to get started writing UI tests.
33+
// Use XCTAssert and related functions to verify your tests produce the correct results.
34+
}
35+
36+
}

0 commit comments

Comments
 (0)