Skip to content

Instantly share code, notes, and snippets.

@akuraru
Created March 7, 2014 07:01
Show Gist options
  • Save akuraru/9406640 to your computer and use it in GitHub Desktop.
Save akuraru/9406640 to your computer and use it in GitHub Desktop.
Objective-Cで翌日の9時を取得する
// pod 'NSDate-Escort'
// pod 'AZDateBuilder'
#import "NSDate+Escort.h"
#import "NSDate+AZDateBuilder.h"
NSDate *date = [[[NSDate date] dateByAddingDays:1] AZ_dateByUnit: @{
AZ_DateUnit.hour : @9,
AZ_DateUnit.minute : @0,
AZ_DateUnit.second : @0,
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment