From 5fdeee277da88f782fcde089c4c487c580a93be0 Mon Sep 17 00:00:00 2001 From: "xianglong.wei" Date: Fri, 5 Mar 2021 06:19:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AELLaunchScreen=E4=B8=BApublic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LLaunchScreen.podspec | 6 ++++-- LLaunchScreen/LLaunchScreen.swift | 4 ++-- _Pods.xcodeproj | 1 - 3 files changed, 6 insertions(+), 5 deletions(-) delete mode 120000 _Pods.xcodeproj diff --git a/LLaunchScreen.podspec b/LLaunchScreen.podspec index c77553f..b3b7ab8 100644 --- a/LLaunchScreen.podspec +++ b/LLaunchScreen.podspec @@ -5,9 +5,11 @@ Pod::Spec.new do |s| s.homepage = 'https://github.com/internetwei/LLaunchScreen' s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { 'internetwei' => 'internetwei@foxmail.com' } - s.source = { :git => 'https://github.com/internetwei/LLaunchScreen.git', :tag => s.version.to_s } + s.source = { :git => 'https://github.com/internetwei/LLaunchScreen', :tag => s.version.to_s } s.ios.deployment_target = '9.0' - s.source_files = 'LLaunchScreen/*' + s.source_files = 'LLaunchScreen/*.swift' + + s.swift_version = '5.0' end diff --git a/LLaunchScreen/LLaunchScreen.swift b/LLaunchScreen/LLaunchScreen.swift index d31bad3..038567c 100644 --- a/LLaunchScreen/LLaunchScreen.swift +++ b/LLaunchScreen/LLaunchScreen.swift @@ -8,7 +8,7 @@ import UIKit -enum LLaunchScreenType: String { +public enum LLaunchScreenType: String { case verticalLight case horizontalLight @@ -30,7 +30,7 @@ private var launchImage_restoreAsBefore = false private var launchImage_repairException = false -class LLaunchScreen: NSObject { +public class LLaunchScreen: NSObject { // MARK: - Public diff --git a/_Pods.xcodeproj b/_Pods.xcodeproj deleted file mode 120000 index 3c5a8e7..0000000 --- a/_Pods.xcodeproj +++ /dev/null @@ -1 +0,0 @@ -Example/Pods/Pods.xcodeproj \ No newline at end of file