Commit 74d7affe authored by huanglu's avatar huanglu

modify

parent 65756956
......@@ -8,7 +8,6 @@
/* Begin PBXBuildFile section */
DCB1293C23FED058008C6FBD /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = DCB1293B23FED058008C6FBD /* AppDelegate.swift */; };
DCB1293E23FED058008C6FBD /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = DCB1293D23FED058008C6FBD /* SceneDelegate.swift */; };
DCB1294023FED058008C6FBD /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DCB1293F23FED058008C6FBD /* ViewController.swift */; };
DCB1294323FED058008C6FBD /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = DCB1294123FED058008C6FBD /* Main.storyboard */; };
DCB1294523FED058008C6FBD /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = DCB1294423FED058008C6FBD /* Assets.xcassets */; };
......@@ -77,7 +76,6 @@
AAA25E44A7FDFDF8FFF17C5B /* Pods-GeekImageEditor.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-GeekImageEditor.release.xcconfig"; path = "Target Support Files/Pods-GeekImageEditor/Pods-GeekImageEditor.release.xcconfig"; sourceTree = "<group>"; };
DCB1293823FED058008C6FBD /* GeekImageEditor.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GeekImageEditor.app; sourceTree = BUILT_PRODUCTS_DIR; };
DCB1293B23FED058008C6FBD /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
DCB1293D23FED058008C6FBD /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
DCB1293F23FED058008C6FBD /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
DCB1294223FED058008C6FBD /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
DCB1294423FED058008C6FBD /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
......@@ -196,7 +194,6 @@
isa = PBXGroup;
children = (
DCB1293B23FED058008C6FBD /* AppDelegate.swift */,
DCB1293D23FED058008C6FBD /* SceneDelegate.swift */,
DCB1293F23FED058008C6FBD /* ViewController.swift */,
DCB1294123FED058008C6FBD /* Main.storyboard */,
DCB1298123FED084008C6FBD /* ColorCollectionViewCell.swift */,
......@@ -473,7 +470,6 @@
DCB129A723FED085008C6FBD /* UIImage+Crop.swift in Sources */,
DCB1298E23FED085008C6FBD /* StickerCollectionViewCell.swift in Sources */,
DCB129A123FED085008C6FBD /* EmojiCollectionViewCell.swift in Sources */,
DCB1293E23FED058008C6FBD /* SceneDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
......
//
// SceneDelegate.swift
// GeekImageEditor
//
// Created by wenjindu on 2020/2/20.
// Copyright © 2020 wenjindu. All rights reserved.
//
import UIKit
class SceneDelegate: UIResponder, UIWindowSceneDelegate {
var window: UIWindow?
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
// Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
// If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
// This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).
guard let _ = (scene as? UIWindowScene) else { return }
}
func sceneDidDisconnect(_ scene: UIScene) {
// Called as the scene is being released by the system.
// This occurs shortly after the scene enters the background, or when its session is discarded.
// Release any resources associated with this scene that can be re-created the next time the scene connects.
// The scene may re-connect later, as its session was not neccessarily discarded (see `application:didDiscardSceneSessions` instead).
}
func sceneDidBecomeActive(_ scene: UIScene) {
// Called when the scene has moved from an inactive state to an active state.
// Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive.
}
func sceneWillResignActive(_ scene: UIScene) {
// Called when the scene will move from an active state to an inactive state.
// This may occur due to temporary interruptions (ex. an incoming phone call).
}
func sceneWillEnterForeground(_ scene: UIScene) {
// Called as the scene transitions from the background to the foreground.
// Use this method to undo the changes made on entering the background.
}
func sceneDidEnterBackground(_ scene: UIScene) {
// Called as the scene transitions from the foreground to the background.
// Use this method to save data, release shared resources, and store enough scene-specific state information
// to restore the scene back to its current state.
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment