Post

Replies

Boosts

Views

Activity

How to open URLs with Umlauts
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?
1
0
858
Oct ’21
How to open URLs with Umlauts
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?
Replies
1
Boosts
0
Views
858
Activity
Oct ’21
Apple HomeKit requirements and testing
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.
Replies
1
Boosts
0
Views
620
Activity
Mar ’22