diff --git a/SDAutoLayout.podspec b/SDAutoLayout.podspec index 163067f..5340900 100644 --- a/SDAutoLayout.podspec +++ b/SDAutoLayout.podspec @@ -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" @@ -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}" diff --git a/SDAutoLayoutDemo.xcodeproj/project.xcworkspace/xcuserdata/aier.xcuserdatad/UserInterfaceState.xcuserstate b/SDAutoLayoutDemo.xcodeproj/project.xcworkspace/xcuserdata/aier.xcuserdatad/UserInterfaceState.xcuserstate index 8f9f5eb..d2f2555 100644 Binary files a/SDAutoLayoutDemo.xcodeproj/project.xcworkspace/xcuserdata/aier.xcuserdatad/UserInterfaceState.xcuserstate and b/SDAutoLayoutDemo.xcodeproj/project.xcworkspace/xcuserdata/aier.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/SDAutoLayoutDemo/SDAutoLayout/UITableView+SDAutoTableViewCellHeight.m b/SDAutoLayoutDemo/SDAutoLayout/UITableView+SDAutoTableViewCellHeight.m index e184028..0e54a60 100644 --- a/SDAutoLayoutDemo/SDAutoLayout/UITableView+SDAutoTableViewCellHeight.m +++ b/SDAutoLayoutDemo/SDAutoLayout/UITableView+SDAutoTableViewCellHeight.m @@ -392,7 +392,7 @@ - (void)sd_reloadRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITabl [self sd_reloadRowsAtIndexPaths:indexPaths withRowAnimation:animation]; } -- (void)sd_deleteRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation +- (void)sd_deleteRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation { for (NSIndexPath *indexPath in indexPaths) { [self.cellAutoHeightManager deleteThenResetHeightCache:indexPath]; @@ -401,7 +401,7 @@ - (void)sd_deleteRowsAtIndexPaths:(NSArray *)indexPaths withRowAn } -- (void)sd_insertRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation +- (void)sd_insertRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation { [self.cellAutoHeightManager insertNewDataAtIndexPaths:indexPaths]; [self sd_insertRowsAtIndexPaths:indexPaths withRowAnimation:animation];