Skip to content

Commit dea076d

Browse files
committed
clean up forgotten template code
1 parent ce07461 commit dea076d

File tree

6 files changed

+3
-132
lines changed

6 files changed

+3
-132
lines changed

bk2ch01p039stackViewTest/StackViewTest/AppDelegate.swift

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
//
2-
// AppDelegate.swift
3-
// StackViewTest
4-
//
5-
// Created by Matt Neuburg on 8/20/17.
6-
// Copyright © 2017 Matt Neuburg. All rights reserved.
7-
//
1+
82

93
import UIKit
104

@@ -19,27 +13,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1913
return true
2014
}
2115

22-
func applicationWillResignActive(_ application: UIApplication) {
23-
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
24-
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
25-
}
26-
27-
func applicationDidEnterBackground(_ application: UIApplication) {
28-
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
29-
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
30-
}
31-
32-
func applicationWillEnterForeground(_ application: UIApplication) {
33-
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
34-
}
35-
36-
func applicationDidBecomeActive(_ application: UIApplication) {
37-
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
38-
}
39-
40-
func applicationWillTerminate(_ application: UIApplication) {
41-
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
42-
}
4316

4417

4518
}

bk2ch01p039stackViewTest/StackViewTest/ViewController.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,6 @@ class MyView : UIView {
1212

1313
class ViewController: UIViewController {
1414

15-
override func viewDidLoad() {
16-
super.viewDidLoad()
17-
// Do any additional setup after loading the view, typically from a nib.
18-
}
19-
20-
override func didReceiveMemoryWarning() {
21-
super.didReceiveMemoryWarning()
22-
// Dispose of any resources that can be recreated.
23-
}
2415

2516

2617
}
Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
//
2-
// AppDelegate.swift
3-
// PeekAndPop
4-
//
5-
// Created by Matt Neuburg on 8/12/16.
6-
// Copyright © 2016 Matt Neuburg. All rights reserved.
7-
//
1+
82

93
import UIKit
104

@@ -19,28 +13,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1913
return true
2014
}
2115

22-
func applicationWillResignActive(_ application: UIApplication) {
23-
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
24-
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
25-
}
26-
27-
func applicationDidEnterBackground(_ application: UIApplication) {
28-
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
29-
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
30-
}
31-
32-
func applicationWillEnterForeground(_ application: UIApplication) {
33-
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
34-
}
35-
36-
func applicationDidBecomeActive(_ application: UIApplication) {
37-
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
38-
}
39-
40-
func applicationWillTerminate(_ application: UIApplication) {
41-
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
42-
}
43-
4416

4517
}
4618

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
//
2-
// AppDelegate.swift
3-
// JSAlertTest
4-
//
5-
// Created by Matt Neuburg on 10/4/17.
6-
// Copyright © 2017 Matt Neuburg. All rights reserved.
7-
//
81

92
import UIKit
103

@@ -19,28 +12,5 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1912
return true
2013
}
2114

22-
func applicationWillResignActive(_ application: UIApplication) {
23-
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
24-
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
25-
}
26-
27-
func applicationDidEnterBackground(_ application: UIApplication) {
28-
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
29-
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
30-
}
31-
32-
func applicationWillEnterForeground(_ application: UIApplication) {
33-
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
34-
}
35-
36-
func applicationDidBecomeActive(_ application: UIApplication) {
37-
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
38-
}
39-
40-
func applicationWillTerminate(_ application: UIApplication) {
41-
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
42-
}
43-
44-
4515
}
4616

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
//
2-
// AppDelegate.swift
3-
// AVPlayerVCStoryboard
4-
//
5-
// Created by Matt Neuburg on 10/16/17.
6-
// Copyright © 2017 Matt Neuburg. All rights reserved.
7-
//
81

92
import UIKit
103

@@ -19,28 +12,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1912
return true
2013
}
2114

22-
func applicationWillResignActive(_ application: UIApplication) {
23-
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
24-
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
25-
}
26-
27-
func applicationDidEnterBackground(_ application: UIApplication) {
28-
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
29-
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
30-
}
31-
32-
func applicationWillEnterForeground(_ application: UIApplication) {
33-
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
34-
}
35-
36-
func applicationDidBecomeActive(_ application: UIApplication) {
37-
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
38-
}
39-
40-
func applicationWillTerminate(_ application: UIApplication) {
41-
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
42-
}
43-
4415

4516
}
4617

bk2ch15p662EmbeddedAVKit3Storyboard/AVPlayerVCStoryboard/ViewController.swift

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
//
2-
// ViewController.swift
3-
// AVPlayerVCStoryboard
4-
//
5-
// Created by Matt Neuburg on 10/16/17.
6-
// Copyright © 2017 Matt Neuburg. All rights reserved.
7-
//
1+
82

93
import UIKit
104
import AVKit

0 commit comments

Comments
 (0)