From 5dc09fdf0c3b898484921778d03d02c6edacd9a3 Mon Sep 17 00:00:00 2001 From: Jonathan Hersh Date: Mon, 6 Oct 2014 10:20:20 -0700 Subject: [PATCH] Modernized @import syntax --- Shared/CGUCodeGenTool.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/CGUCodeGenTool.m b/Shared/CGUCodeGenTool.m index b40eb32..2a9b2d2 100644 --- a/Shared/CGUCodeGenTool.m +++ b/Shared/CGUCodeGenTool.m @@ -136,7 +136,7 @@ - (void)writeOutputFiles; return [obj1 compare:obj2]; }]; - NSMutableString *interface = [NSMutableString stringWithFormat:@"//\n// This file is generated from %@ by %@.\n// Please do not edit.\n//\n\n#import \n\n\n", self.inputURL.lastPathComponent, self.toolName]; + NSMutableString *interface = [NSMutableString stringWithFormat:@"//\n// This file is generated from %@ by %@.\n// Please do not edit.\n//\n\n@import UIKit;\n\n\n", self.inputURL.lastPathComponent, self.toolName]; if (self.skipClassDeclaration) { [interface appendString:[self.interfaceContents componentsJoinedByString:@""]];