Skip to content

Commit

Permalink
for pods
Browse files Browse the repository at this point in the history
  • Loading branch information
alanwangmodify committed Jan 19, 2017
1 parent c64fc78 commit 83be4c2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.3
8 changes: 4 additions & 4 deletions WXSTransition.podspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Pod::Spec.new do |s|
s.name = 'WXSTransition'
s.summary = 'A library for transition animations between view controlles.'
s.version = '1.1.0'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.version = '1.1.1'
s.license = "MIT"
s.authors = { 'alanwangmodify' => 'alanwangmodify@126.com' }
s.homepage = 'https://github.com/alanwangmodify/WXSTransition'

Expand All @@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/alanwangmodify/WXSTransition.git', :tag => s.version.to_s }

s.requires_arc = true
s.source_files = 'WXSTransition/*.{h,m}'
s.public_header_files = 'WXSTransition/*.{h}'
s.source_files = 'WXSTransition/WXSTransition/*.{h,m}'


end
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ - (void)brickOpenBackWithType:(WXSTransitionAnimationType)type andTransitionCont
}];


__weak UIViewController *weakFromVC = fromVC;
__weak UIViewController *weakToVC = toVC;

self.willEndInteractiveBlock = ^(BOOL sucess) {
Expand Down Expand Up @@ -292,7 +291,6 @@ - (void)brickCloseBackWithType:(WXSTransitionAnimationType)type andTransitionCon
}];


__weak UIViewController *weakFromVC = fromVC;
__weak UIViewController *weakToVC = toVC;

self.willEndInteractiveBlock = ^(BOOL sucess) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "WXSTransitionManager.h"

@interface WXSTransitionManager (TypeTool)
@interface WXSTransitionManager (TypeTool)<CAAnimationDelegate>
-(void)backAnimationTypeFromAnimationType:(WXSTransitionAnimationType)type;
-(CATransition *)getSysTransitionWithType:(WXSTransitionAnimationType )type;
@end

0 comments on commit 83be4c2

Please sign in to comment.