1

Expected implementation style

More precisely, I want to implement something like a floating panel in MacOS, it won't cause current window loose focus, just appear silently and close silently like search bar of spotlight or alfred.

I thought the NSPanel may have properties to achive that, but after a few days exploring, i didn't make it.

Roger Oliveira
  • 1,589
  • 1
  • 27
  • 55
branson
  • 55
  • 4
  • Duplicate of [Create Spotlight-like window in Swift 4?](https://stackoverflow.com/questions/54054473/create-spotlight-like-window-in-swift-4) – Willeke Aug 30 '19 at 09:24
  • I have tried that answer, it do have a spotlight-like style, but the point is it takes the system focus, which is not exactly the same as spotlight. Thanks for your answer. – branson Sep 03 '19 at 01:31
  • 1
    Here is the answer [how-to-show-a-window-without-stealing-focus-on-macos](https://stackoverflow.com/questions/46023769/how-to-show-a-window-without-stealing-focus-on-macos) – branson Sep 03 '19 at 01:32

0 Answers0