Search Swift Playgrounds

“Spotlight doesn’t index playground contents. This is a source of endless frustration to me and today I finally had enough.” – Erica Sadun

To work around this issue, Erica wrote a Swift script that:

“…performs a spotlight search for playground bundles and then manually greps their contents for search phrases”

Swift: Searching Playgrounds