From 961ff598fd624c97025a506f9fefe15cab3ad24c Mon Sep 17 00:00:00 2001 From: JeanLebrument Date: Wed, 28 Oct 2015 17:01:57 +0100 Subject: [PATCH] Add swift support --- SCStringsUtility/SCStringsController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SCStringsUtility/SCStringsController.m b/SCStringsUtility/SCStringsController.m index 56ac6c1..babffb8 100644 --- a/SCStringsUtility/SCStringsController.m +++ b/SCStringsUtility/SCStringsController.m @@ -246,7 +246,7 @@ -(void)executeGenStringsAtPath:(NSString*)path withRoutine:(NSString*)routine po NSString *tempFilePath = NSTemporaryDirectory(); - NSString *argument = [NSString stringWithFormat:@"find ./ -name *.m -print0| xargs -0 genstrings -o %@", tempFilePath]; + NSString *argument = [NSString stringWithFormat:@"find ./ -name *.m -print0 -o -name *.swift -print0 | xargs -0 genstrings -o %@", tempFilePath]; if([routine length]) argument = [argument stringByAppendingString:[NSString stringWithFormat:@" -s %@", routine]]; if(!positionalParameters) argument = [argument stringByAppendingString:@" -noPositionalParameters"];