diff --git a/SDAutoLayout.podspec b/SDAutoLayout.podspec index 1970a91..685ab33 100644 --- a/SDAutoLayout.podspec +++ b/SDAutoLayout.podspec @@ -1,8 +1,8 @@ Pod::Spec.new do |s| s.name = "SDAutoLayout" - s.version = "1.50" - s.summary = "The most easy way for autoLayout. Based Runtime. 1.50版本更新内容:升级了缓存机制,新版本在tableview滑动cell时候流畅度和性能提升20%以上" + s.version = "1.51" + s.summary = "The most easy way for autoLayout. Based Runtime. 1.51版本更新内容:修复宽度自适应label在重用时候偶尔出现的宽度计算不准确的问题" 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 => "1.50"} + s.source = { :git => "https://github.com/gsdios/SDAutoLayout.git", :tag => "1.51"} 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 4fd8c6d..5bc1c73 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 0a89be4..d357d63 100644 --- a/SDAutoLayoutDemo/SDAutoLayout/UITableView+SDAutoTableViewCellHeight.m +++ b/SDAutoLayoutDemo/SDAutoLayout/UITableView+SDAutoTableViewCellHeight.m @@ -251,7 +251,7 @@ - (void)sd_reloadData [self sd_reloadData]; } -- (void)sd_reloadRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation +- (void)sd_reloadRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation { [self.cellAutoHeightManager clearHeightCacheOfIndexPaths:indexPaths]; [self sd_reloadRowsAtIndexPaths:indexPaths withRowAnimation:animation];