mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-24 04:46:05 +08:00
code format
This commit is contained in:
@@ -654,13 +654,15 @@ start_debug_server(am_device_t dev)
|
||||
int index_month = 0;
|
||||
int index_day = 1;
|
||||
int index_time = 2;
|
||||
if ([[words objectAtIndex:index_day] isEqualToString:@""]) {
|
||||
if ([[words objectAtIndex:index_day]
|
||||
isEqualToString:@""]) {
|
||||
index_day++;
|
||||
index_time++;
|
||||
}
|
||||
NSString *str = [NSString stringWithFormat:
|
||||
@"%@ %@ %@", [words objectAtIndex:index_month],
|
||||
[words objectAtIndex:index_day], [words objectAtIndex:index_time]];
|
||||
[words objectAtIndex:index_day],
|
||||
[words objectAtIndex:index_time]];
|
||||
NSDate *date = [NSDate dateWithNaturalLanguageString:
|
||||
str];
|
||||
if ([date compare:app_launch_date]
|
||||
|
||||
Reference in New Issue
Block a user