File tree Expand file tree Collapse file tree 1 file changed +1
-37
lines changed Expand file tree Collapse file tree 1 file changed +1
-37
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments