UITableView+XHWebImageAutoSize.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. //
  2. // UITableView+XHWebImageAutoSize.h
  3. // XHWebImageAutoSizeExample
  4. //
  5. // Created by zhuxiaohui on 2017/10/25.
  6. // Copyright © 2017年 it7090.com. All rights reserved.
  7. // https://github.com/CoderZhuXH/XHWebImageAutoSize
  8. #import <UIKit/UIKit.h>
  9. #import "XHWebImageAutoSizeConst.h"
  10. @interface UITableView (XHWebImageAutoSize)
  11. /**
  12. Reload tableView
  13. @param url imageURL
  14. */
  15. -(void)xh_reloadDataForURL:(NSURL *)url;
  16. #pragma mark - 过期
  17. /**
  18. * Reload row
  19. *
  20. * @param indexPath indexPath
  21. * @param url imageURL
  22. */
  23. -(void)xh_reloadRowAtIndexPath:(NSIndexPath *)indexPath forURL:(NSURL *)url XHWebImageAutoSizeDeprecated("请使用xh_reloadDataForURL:");
  24. /**
  25. * Reload row withRowAnimation
  26. *
  27. * @param indexPath indexPath
  28. * @param animation UITableViewRowAnimation
  29. * @param url imageURL
  30. */
  31. -(void)xh_reloadRowAtIndexPath:(NSIndexPath *)indexPath withRowAnimation:(UITableViewRowAnimation)animation forURL:(NSURL *)url XHWebImageAutoSizeDeprecated("请使用xh_reloadDataForURL:");
  32. /**
  33. * Reload rows
  34. *
  35. * @param indexPaths indexPaths
  36. * @param url imageURL
  37. */
  38. -(void)xh_reloadRowsAtIndexPaths:(NSArray<NSIndexPath *> *)indexPaths forURL:(NSURL *)url XHWebImageAutoSizeDeprecated("请使用xh_reloadDataForURL:");
  39. ;
  40. @end