Created
March 7, 2014 07:01
-
-
Save akuraru/9406640 to your computer and use it in GitHub Desktop.
Objective-Cで翌日の9時を取得する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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