So far I'm unable to use Regex literals in my Swift Packages. Xcode simply gives a syntax error and has no idea I'm trying to do Regex.
This is with Xcode 14.1 and all the platforms in the Package.swift have been set to the minimum requirement (iOS 16, macOS 13, etc) as well as the swift-tools-version set to 5.7. Using the Regex type directly (try Regex("[a-z]")) does work. It's just the literals that Xcode refuses to recognize.
Regex literals do work in app projects and playgrounds.
Is there a setting in the Package.swift or something I'm forgetting?
Thanks in advance!
Post
Replies
Boosts
Views
Activity
Is there a way to react when your app is opened via home quick actions? You can still enable them via the .plist or via UIApplication.shared.shortcutItems. But with AppDelegate being replace by @main now, I'm having a little trouble finding out when a quick action is selected.
Cheers!