摘要:
1,最狠的就是 把工程删除 ,然后 重新checkout一份2,尽量 把自己修改的提交了,把范围尽可能的缩小, 阅读全文
摘要:
阅读全文
摘要:
两个像素,调整画布的大小, 阅读全文
摘要:
if (flag == SUCCESS_FLAG) { SharedAppDelegate.user = [[DMUser alloc] initWithDictionary:[JSON objectForKey:@"user"]]; TTLog(@"%lld",SharedAppDelegate.user.remind_uptime); NSUserDefaults *userDefault =[NSUserDefaults standardUserDefaults]; [userDefault setValue:[NSString string... 阅读全文
摘要:
for (NotificationItem *item insortedCommonArray) { if (item.type == 2 && item.time == currentTime) {//血糖检测 if (!item.selected) { continue; }//第一遍 在 timearray里面筛选,第二遍 在 这个地方筛选,漏网之鱼 switch (item.repeatType) { case 1://one time if (item.timeInterva... 阅读全文
摘要:
-(void)dateUtil{ NSDateFormatter *formatter =[[NSDateFormatteralloc] init]; NSDate *date = [NSDate date]; [formatter setTimeStyle:NSDateFormatterMediumStyle]; NSCalendar *calendar = [[NSCalendaralloc] initWithCalendarIdentifier:NSGregorianCalendar]; NSDateComponents *comps = [[NSDateComponents... 阅读全文
摘要:
并且呢 ,如果 不是效果图 显示不同,是 一致的,android 有,那么 ios也是有的。。。 阅读全文
摘要:
// [headerView.mSwitch performSelector:@selector(switchValueChange:) withObject:dic];这个方法是直接去调用的,而, headerView.mSwitch addTarget:self action:@selector(switchValueChange:item) forControlEvents:这个方法是 跟 事件 结合在一块的 阅读全文
摘要:
for (NotificationItem *item insortedCommonArray) { if (item.type == 1 && item.time == currentTime) {//用药 if (!item.parentSelected || !item.selected) { continue; } TNotificationView *notificationView = [[[UINibnibWithNibName:@"TNotificationView"bundle:nil]instantiat... 阅读全文
摘要:
reason: '-[__NSCFNumber isEqualToString:]: unrecognized selector sent to instance 0x8b791e0' 阅读全文