diff --git a/identifierconstants/IDStoryboardDumper.m b/identifierconstants/IDStoryboardDumper.m index c2af334..f540fdf 100644 --- a/identifierconstants/IDStoryboardDumper.m +++ b/identifierconstants/IDStoryboardDumper.m @@ -28,7 +28,7 @@ - (void)startWithCompletionHandler:(dispatch_block_t)completionBlock; { self.skipClassDeclaration = YES; NSString *storyboardFilename = [[self.inputURL lastPathComponent] stringByDeletingPathExtension]; - NSString *storyboardName = [storyboardFilename stringByReplacingOccurrencesOfString:@" " withString:@""]; + NSString *storyboardName = [[storyboardFilename stringByReplacingOccurrencesOfString:@" " withString:@""] stringByReplacingOccurrencesOfString:@"~" withString:@"_"]; self.className = [NSString stringWithFormat:@"%@%@StoryboardIdentifiers", self.classPrefix, storyboardName]; NSError *error = nil;