I've built an App for MacOS which sometimes needs to open websites in the Browser. But some URLs contain umlauts (ä, ö, ü, ß) which aren't supported by NSWorkspace.shared.open((URL(string: url)!)) and end in an application crash because it unexpectedly found nil while unwrapping.
A little bit more about the App: A direct and working link is stored in the string "url" and after Pressing a Button it executes the command above. I already tested if "url" has the correct content and tried it with and without umlauts.
Any solution?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hello, I plan to join the HomeKit market and wanted to ask which hardware and software requirements are needed to support HomeKit. And further I wanted to know, how you can test your prototypes. There should be some signing restrictions or am I wrong?
Thanks for your help.