@@ -27,7 +27,8 @@ + (NSString *)inputFileExtension;
27
27
- (void )startWithCompletionHandler : (dispatch_block_t )completionBlock ;
28
28
{
29
29
self.skipClassDeclaration =YES ;
30
- NSString *storyboardName = [[[self .inputURLlastPathComponent ]stringByDeletingPathExtension ]stringByReplacingOccurrencesOfString:@" " withString: @" " ];
30
+ NSString *storyboardFilename = [[self .inputURLlastPathComponent ]stringByDeletingPathExtension ];
31
+ NSString *storyboardName = [storyboardFilenamestringByReplacingOccurrencesOfString: @" " withString: @" " ];
31
32
32
33
self.className = [NSString stringWithFormat: @" %@%@ StoryboardIdentifiers" ,self .classPrefix, storyboardName];
33
34
NSError *error =nil ;
@@ -45,6 +46,7 @@ - (void)startWithCompletionHandler:(dispatch_block_t)completionBlock;
45
46
self.implementationContents = [NSMutableArray array ];
46
47
47
48
NSMutableDictionary *uniqueKeys = [NSMutableDictionary dictionary ];
49
+ uniqueKeys[[NSString stringWithFormat: @" %@%@ StoryboardName" ,self .classPrefix, storyboardName]] = storyboardFilename;
48
50
49
51
for (NSString *identifier in identifiers) {
50
52
NSString *key = [NSString stringWithFormat: @" %@%@ Storyboard%@ Identifier" ,self .classPrefix, storyboardName, [identifierIDS_titlecaseString ]];