Skip to content

Commit f74b084

Browse files
committed
Remove testing crap
1 parent c92fa88 commit f74b084

File tree

1 file changed

+1
-37
lines changed

1 file changed

+1
-37
lines changed

FuzzyAutocomplete/FuzzyAutocomplete.m

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -12,43 +12,7 @@ @implementation FuzzyAutocomplete
1212

1313
+ (void)pluginDidLoad:(NSBundle *)plugin
1414
{
15-
DLog(@"Plugin loaded");
16-
[self sharedPlugin];
17-
}
18-
19-
+ (instancetype)sharedPlugin
20-
{
21-
static FuzzyAutocomplete *plugin;
22-
static dispatch_once_t onceToken;
23-
dispatch_once(&onceToken, ^{
24-
plugin = [[self alloc] init];
25-
});
26-
return plugin;
27-
}
28-
29-
- (instancetype)init
30-
{
31-
if (self = [super init]) {
32-
// [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(notificationListener:) name:nil object:nil];
33-
}
34-
return self;
35-
}
36-
37-
- (void)dealloc
38-
{
39-
40-
}
41-
42-
- (void)notificationListener:(NSNotification *)notification {
43-
// let's filter all the "normal" NSxxx events so that we only
44-
// really see the Xcode specific events.
45-
if ([[notification name] rangeOfString:@"NS"].location != NSNotFound)
46-
return;
47-
if ([[notification name] rangeOfString:@"_NS"].location != NSNotFound)
48-
return;
49-
50-
NSLog(@" Notification: %@", [notification name]);
51-
15+
NSLog(@"Fuzzy Autocomplete Plugin loaded");
5216
}
5317

5418
@end

0 commit comments

Comments
 (0)