轻松加减你的NSDate值
废话不多,先上github链接:https://github.com/codegefluester/CGFDateModifier
然后上使用方法代码:
1 NSDate *oneWeekFromNow = [CGFDateModifier dateByModifiyingDate:[NSDate date] 2 withModifier:@"+1 week"];
废话不多,先上github链接:https://github.com/codegefluester/CGFDateModifier
然后上使用方法代码:
1 NSDate *oneWeekFromNow = [CGFDateModifier dateByModifiyingDate:[NSDate date] 2 withModifier:@"+1 week"];