Skip to content

Commit

Permalink
调整
Browse files Browse the repository at this point in the history
  • Loading branch information
gsdios committed Aug 12, 2016
1 parent 8cf13cf commit 23aeeed
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions SDAutoLayout.podspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Pod::Spec.new do |s|

s.name = "SDAutoLayout"
s.version = "2.1.3"
s.summary = "The most easy way for autoLayout. 2.1.3版本更新内容:增加设置偏移量offset功能;修复用xib生成的view出现的部分约束失效问题;修复其他bug"
s.version = "2.1.5"
s.summary = "The most easy way for autoLayout. 2.1.5版本更新内容:实现在tableview插入新的cell数据时自动缓存管理"

s.homepage = "https://github.com/gsdios/SDAutoLayout"
# s.screenshots = "https://camo.githubusercontent.com/5d9e879c7006297b3d6e12c20c6cd1e15bf83016/687474703a2f2f7777332e73696e61696d672e636e2f626d6964646c652f39623831343665646777316578346d756b69787236673230396730376c6864742e676966"
Expand All @@ -14,7 +14,7 @@ Pod::Spec.new do |s|
s.platform = :ios
s.platform = :ios, "7.0"

s.source = { :git => "https://github.com/gsdios/SDAutoLayout.git", :tag => "2.1.3"}
s.source = { :git => "https://github.com/gsdios/SDAutoLayout.git", :tag => "2.1.5"}

s.source_files = "SDAutoLayoutDemo/SDAutoLayout/**/*.{h,m}"

Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ - (void)sd_reloadRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITabl
[self sd_reloadRowsAtIndexPaths:indexPaths withRowAnimation:animation];
}

- (void)sd_deleteRowsAtIndexPaths:(NSArray<NSIndexPath *> *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation
- (void)sd_deleteRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation
{
for (NSIndexPath *indexPath in indexPaths) {
[self.cellAutoHeightManager deleteThenResetHeightCache:indexPath];
Expand All @@ -401,7 +401,7 @@ - (void)sd_deleteRowsAtIndexPaths:(NSArray<NSIndexPath *> *)indexPaths withRowAn
}


- (void)sd_insertRowsAtIndexPaths:(NSArray<NSIndexPath *> *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation
- (void)sd_insertRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation
{
[self.cellAutoHeightManager insertNewDataAtIndexPaths:indexPaths];
[self sd_insertRowsAtIndexPaths:indexPaths withRowAnimation:animation];
Expand Down

0 comments on commit 23aeeed

Please sign in to comment.