Skip to content

Commit

Permalink
Fixed table header click event; Update Gif.
Browse files Browse the repository at this point in the history
  • Loading branch information
tinymind committed Jul 18, 2017
1 parent 79b480f commit db36dba
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 81 deletions.
5 changes: 2 additions & 3 deletions LSUnusedResources/Model/ResourceStringSearcher.m
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ - (NSArray *)createDefaultResourcePatternsWithResourceSuffixs:(NSArray *)resSuff

- (NSDictionary *)createEmptyResourcePattern {
return @{kPatternIdentifyEnable: @(1),
kPatternIdentifySuffix: @"todo",
kPatternIdentifySuffix: @"tmp",
kPatternIdentifyRegex: @"(.+)",
kPatternIdentifyGroupIndex: @(1)};
}
Expand Down Expand Up @@ -244,8 +244,7 @@ - (void)parseFileAtPath:(NSString *)path withResourcePattern:(NSDictionary *)res
}
}

- (NSArray *)getMatchStringWithContent:(NSString *)content pattern:(NSString*)pattern groupIndex:(NSInteger)index
{
- (NSArray *)getMatchStringWithContent:(NSString *)content pattern:(NSString*)pattern groupIndex:(NSInteger)index {
NSRegularExpression* regexExpression = [NSRegularExpression regularExpressionWithPattern:pattern options:NSRegularExpressionCaseInsensitive error:nil];
NSArray* matchs = [regexExpression matchesInString:content options:0 range:NSMakeRange(0, content.length)];

Expand Down
Loading

0 comments on commit db36dba

Please sign in to comment.