Twitter | Search | |
Jonathan Grynspan
Beginning in macOS 10.15, LSCopyApplicationURLsForURL(), LSCopyAllHandlersForURLScheme(), LSCopyAllRoleHandlersForContentType(), and LSCopyApplicationURLsForBundleIdentifier() all return sorted lists, *and* it's documented! 🎉 (NSWorkspace's equivalent methods do the same.)
Reply Retweet Like More
pkamb Jun 17
Replying to @grynspan
> In macOS 10.15 and later, the returned array is sorted with the first element containing the best available application for opening the specified URL. Prior to macOS 10.15, the order of elements in the array was undefined. nice 👍
Reply Retweet Like