Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f918e33 commit fb2848dCopy full SHA for fb2848d
MJRefresh/Custom/Header/MJRefreshStateHeader.m
@@ -49,6 +49,12 @@ - (UILabel *)lastUpdatedTimeLabel
49
return _lastUpdatedTimeLabel;
50
}
51
52
+- (void)setLastUpdatedTimeText:(NSString * _Nonnull (^)(NSDate * _Nullable))lastUpdatedTimeText{
53
+ _lastUpdatedTimeText = lastUpdatedTimeText;
54
+ // 重新设置key(重新显示时间)
55
+ self.lastUpdatedTimeKey = self.lastUpdatedTimeKey;
56
+}
57
+
58
#pragma mark - 公共方法
59
- (instancetype)setTitle:(NSString *)title forState:(MJRefreshState)state
60
{
0 commit comments