Skip to content

Commit 5fdeee2

Browse files
committed
设置LLaunchScreen为public
1 parent b11083f commit 5fdeee2

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

LLaunchScreen.podspec

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ Pod::Spec.new do |s|
55
s.homepage = 'https://github.com/internetwei/LLaunchScreen'
66
s.license = { :type => 'MIT', :file => 'LICENSE' }
77
s.author = { 'internetwei' => 'internetwei@foxmail.com' }
8-
s.source = { :git => 'https://github.com/internetwei/LLaunchScreen.git', :tag => s.version.to_s }
8+
s.source = { :git => 'https://github.com/internetwei/LLaunchScreen', :tag => s.version.to_s }
99

1010
s.ios.deployment_target = '9.0'
1111

12-
s.source_files = 'LLaunchScreen/*'
12+
s.source_files = 'LLaunchScreen/*.swift'
13+
14+
s.swift_version = '5.0'
1315
end

LLaunchScreen/LLaunchScreen.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import UIKit
99

1010

11-
enum LLaunchScreenType: String {
11+
public enum LLaunchScreenType: String {
1212
case verticalLight
1313
case horizontalLight
1414

@@ -30,7 +30,7 @@ private var launchImage_restoreAsBefore = false
3030
private var launchImage_repairException = false
3131

3232

33-
class LLaunchScreen: NSObject {
33+
public class LLaunchScreen: NSObject {
3434

3535

3636
// MARK: - Public

_Pods.xcodeproj

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)