Skip to content

Commit 21bd486

Browse files
committed
Update pod
1 parent f6490d2 commit 21bd486

File tree

1 file changed

+22
-7
lines changed

1 file changed

+22
-7
lines changed
Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "AnimationSwitchRootViewController"
4-
s.version = "1.0.0"
4+
s.version = "1.0.1"
55
s.summary = "Extension for UIWindow - animation switch rootViewController in UIWindow"
66

77
s.description = <<-DESC
@@ -12,18 +12,33 @@ Support two types animation: CATransition and move shnapshots views.
1212
s.homepage = "https://github.com/ProVir/AnimationSwitchRootViewController"
1313
s.license = { :type => "MIT", :file => "LICENSE" }
1414
s.author = { "ViR (Vitaliy Korotkiy)" => "[email protected]" }
15+
s.source = { :git => "https://github.com/ProVir/AnimationSwitchRootViewController.git", :tag => "#{s.version}" }
1516

16-
s.platform = :ios, "8.0"
17+
s.default_subspec = 'Swift'
1718

1819

19-
s.source = { :git => "https://github.com/ProVir/AnimationSwitchRootViewController.git", :tag => "#{s.version}" }
20+
s.subspec 'Swift' do |ss|
21+
ss.platform = :ios, "8.0"
22+
23+
ss.source_files = 'AnimationSwitchRootViewController/*.{h,m,swift}'
24+
ss.public_header_files = 'AnimationSwitchRootViewController/*.h'
25+
end
2026

2127

22-
s.source_files = [
23-
'AnimationSwitchRootViewController/*.{h,m,swift}'
24-
]
28+
s.subspec 'ObjC' do |ss|
29+
ss.platform = :ios, "6.0"
2530

31+
ss.source_files = [
32+
'AnimationSwitchRootViewControllerObjC/*.h',
33+
'AnimationSwitchRootViewController/UIWindow+PVAnimationSwitchRootViewController.{h,m}',
34+
'AnimationSwitchRootViewController/UIApplication+PVRootWindow.{h,m}'
35+
]
2636

27-
s.public_header_files = 'AnimationSwitchRootViewController/*.h'
37+
ss.public_header_files = [
38+
'AnimationSwitchRootViewControllerObjC/*.h',
39+
'AnimationSwitchRootViewController/UIWindow+PVAnimationSwitchRootViewController.h',
40+
'AnimationSwitchRootViewController/UIApplication+PVRootWindow.h'
41+
]
42+
end
2843

2944
end

0 commit comments

Comments
 (0)