mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 01:12:31 +00:00
using properties
This commit is contained in:
@@ -59,8 +59,7 @@ NSString *const kMPDocumentSearchResultsKey = @"kMPDocumentSearchResul
|
|||||||
return; // We get called back!
|
return; // We get called back!
|
||||||
}
|
}
|
||||||
MPDocumentWindowController *windowController = [self windowControllers][0];
|
MPDocumentWindowController *windowController = [self windowControllers][0];
|
||||||
NSString *searchString = [windowController.searchField stringValue];
|
self.searchContext.searchString = windowController.searchField.stringValue;
|
||||||
self.searchContext.searchString = searchString;
|
|
||||||
MPDocument __weak *weakSelf = self;
|
MPDocument __weak *weakSelf = self;
|
||||||
dispatch_queue_t backgroundQueue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
|
dispatch_queue_t backgroundQueue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
|
||||||
dispatch_async(backgroundQueue, ^{
|
dispatch_async(backgroundQueue, ^{
|
||||||
|
|||||||
Reference in New Issue
Block a user