Relative Content

Tag Archive for swiftmacos

How to use Apple’s DataDetection framework on macOS?

DataDetection is Apple’s new framework for detecting data types. On the top of the page, it says macOS 12.0+ is supported, but all of the APIs like detectPatterns(for:completionHandler:) seem to only support iOS/iPadOS.