Jobs

Results 48 comments of Jobs

我还是不行 ![ECPrivacyCheckTools_2](https://user-images.githubusercontent.com/13795605/103403903-6956e200-4b84-11eb-9660-87c6b412b513.png)

解决方案: data.minDistanceToEdges = KWidth(30);// 距离屏幕边缘的最小间距

// // TimeModel.m // JobsIM // // Created by Jobs on 2020/11/11. // #import "TimeModel.h" @implementation TimeModel /* * 为了防止溢出,基本上时间戳传给后台或者后台返回给我们的都是字符串类型的。 * 时间戳定义:从1970年1月1日开始计时到现在所经过的时间 */ #pragma mark —— 当前时间:来源iOS系统Api -(NSDate *)currentDate{ if...

调用 TimeModel *timeModel = TimeModel.new; [timeModel makeSpecificTime];//赋值 _yearLabel.text = [NSString stringWithFormat:@"%ld",timeModel.currentYear];

作者啊 你把这个封装进去嘛,因为是一体的,别人不要这个可以不传数据啊,外界自己定义,不解耦啊。

你这个还是写在m文件里面的,我两条路,要么手动导入,要么runtime 来改

你要是 固执己见 不加的话 ,这里贴上我的代码: Ivar ivar = class_getInstanceVariable([BRDatePickerView class], "_monthNames");//必须是下划线接属性 NSArray *_monthNames = @[@"一月份", @"二月份", @"三月份", @"四月份", @"五月份", @"六月份", @"七月份", @"八月份", @"九月份", @"十月份", @"十一月份", @"十二月份"]; object_setIvar(self.datePickerView, ivar, _monthNames);

下次版本更新的时候,把这一句加上。 ![image](https://user-images.githubusercontent.com/13795605/112286583-0a55c480-8cbe-11eb-8ddc-e7998d99dded.png) 必须加载这里。 #import "UINavigationController+FDFullscreenPopGesture.h"和他有冲突,方法交换了。你这个HXPhotoViewController没有暴露出去

还有,在HXPhotoViewProtocol.h这个文件前面包含一下:#import 因为编译期的顺序问题,某些情况会爆红。因为里面涉及到PHAsset