Spotlight while running windows modal
Spotlight while running windows modal
- Subject: Spotlight while running windows modal
- From: Kiel Gillard <email@hidden>
- Date: Thu, 18 Feb 2010 16:30:34 +1100
Hi all,
I'm trying to cancel a modal NSAlert when Spotlight determines a file exists in the file system. I create and start the NSMetadataQuery before I run the alert modal. However I do not receive notifications of changes to my metadata query while my application is running modal.
The docs indicate NSMetadataQuery and MDQuery operate on particular modes of an application's run loop however I am required to run the NSAlert modal.
I used an NSAlert with a modal session but that produced strange results. These results did not include the observer receiving the appropriate notifications for changes to my metadata query.
Is there some way I can have the best of both worlds?
Thanks in advance,
Kiel
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden