Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions SDCycleScrollView.podspec
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


Pod::Spec.new do |s|

s.name = "SDCycleScrollView"
Expand All @@ -14,7 +16,7 @@ s.platform = :ios
s.platform = :ios, "8.0"


s.source = { :git => "https://github.com/gsdios/SDCycleScrollView.git", :tag => "1.80"}
s.source = { :git => "https://github.com/liuaaaddxiaoer/SDCycleScrollView.git", :branch => 'master'}


s.source_files = "SDCycleScrollView/Lib/SDCycleScrollView/**/*.{h,m}"
Expand All @@ -23,6 +25,6 @@ s.source_files = "SDCycleScrollView/Lib/SDCycleScrollView/**/*.{h,m}"
s.requires_arc = true


s.dependency 'SDWebImage', '>= 5.0.0'
s.dependency 'SDWebImage', '4.0.0'

end
6 changes: 3 additions & 3 deletions SDCycleScrollView/Lib/SDCycleScrollView/SDCycleScrollView.m
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
#import "SDCollectionViewCell.h"
#import "UIView+SDExtension.h"
#import "TAPageControl.h"
#import "SDWebImageManager.h"
#import "UIImageView+WebCache.h"
#import <SDWebImage/SDWebImageManager.h>
#import <SDWebImage/UIImageView+WebCache.h>

#define kCycleScrollViewInitialPageControlDotSize CGSizeMake(10, 10)

Expand Down Expand Up @@ -477,7 +477,7 @@ - (void)clearCache

+ (void)clearImagesCache
{
[[[SDWebImageManager sharedManager] imageCache] clearWithCacheType:SDImageCacheTypeDisk completion:nil];
[[[SDWebImageManager sharedManager] imageCache] clearDiskOnCompletion:nil];
}

#pragma mark - life circles
Expand Down