Application instances
Although somewhat hidden in a modern task switcher, it can be noticed that some operating systems prefer to have just one instance of an application open rather than launching many (for example, one per document). When developing applications for macOS, it's encouraged to only have one copy running at any time-attempting to run a second instance of the same application will normally result in the original window being brought to the front. If your application is aiming to support platforms where the concurrent instances semantics are different, time should be spent deciding how your application should behave. Will your design work the same way on all platforms or adapt to the current environment?
To change behavior according ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access