Skip to content

Commit

Permalink
修正优化
Browse files Browse the repository at this point in the history
升版本
  • Loading branch information
文昌 陈 committed Sep 25, 2020
1 parent 1bbb6cb commit d9cfc45
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DNChannelPage.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'DNChannelPage'
s.version = '1.0.1.2'
s.version = '1.0.1.3'
s.summary = 'A short description of DNChannelPage.'

# This description is used to generate tags and improve search results.
Expand Down
5 changes: 3 additions & 2 deletions DNChannelPage/Classes/DNCPChannelPageView.m
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ - (void)proceseSelectedIndex:(NSInteger)selectedIndex {
}

- (__kindof UIViewController<DNCPPageChildViewControllerDelegate> *)dequeueReusableCellWithReuseIdentifier:(NSString *)identifier forIndex:(NSInteger)index {
if (self.pageView) {
return [self.pageView dequeueReusableCellWithReuseIdentifier:identifier forIndex:index];
if (self.pageView && self.parentViewController.childViewControllers.count > index) {
return self.parentViewController.childViewControllers[index];

}
return nil;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

0 comments on commit d9cfc45

Please sign in to comment.