79798354

Date: 2025-10-24 03:46:13
Score: 0.5
Natty:
Report link

The code below works perfectly, both in a sandboxed and non-sandboxed app:

DistributedNotificationCenter.default.post(
    name: .init("com.apple.DownloadFileFinished"),
    object: downloadURL.resolvingSymlinksInPath().path
)

where downloadURL is a URL to a file in the Downloads folder.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: WindowsMEMZ