Skip to content

Commit

Permalink
Fix UIScrollView+MJExtension.h
Browse files Browse the repository at this point in the history
replace "respondsToSelector" by "instancesRespondToSelector"
  • Loading branch information
CoderMJLee committed Aug 20, 2018
1 parent 2be5e51 commit 61e5202
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MJRefresh.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'MJRefresh'
s.version = '3.1.15.5'
s.version = '3.1.15.6'
s.summary = 'An easy way to use pull-to-refresh'
s.homepage = 'https://github.com/CoderMJLee/MJRefresh'
s.license = 'MIT'
Expand Down
2 changes: 1 addition & 1 deletion MJRefresh/UIScrollView+MJExtension.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ + (void)initialize
{
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
respondsToAdjustedContentInset_ = [self respondsToSelector:@selector(adjustedContentInset)];
respondsToAdjustedContentInset_ = [self instancesRespondToSelector:@selector(adjustedContentInset)];
});
}

Expand Down

0 comments on commit 61e5202

Please sign in to comment.