Post

Replies

Boosts

Views

Activity

How to initialize NWUDPSession to listen on a given port?
I’m on an up to date iPad using Swift 5.7 in the Playgrounds app, creating an app, not a playground, so basically doing Xcode lite. I’m baffled by the fact NWUDPSession takes no arguments. By the meagre bits and pieces I find online it looks like it used to in older versions of Swift but not anymore. So can anybody please give me the syntax on how to initialize an NWUDPSession so it listens to a specific port. I’ve been trying for about 7 hours now and getting nowhere. Thanks! PS: NWListener and NWConnection are a no-go for my needs.
9
0
788
Mar ’23
How do I get Swift Playgrounds 4 beta on iPadOS 15?
I’ve installed iPadOS 15 public beta 2 on an iPad Air 2. It didn’t come with Swift Playgrounds 4. I’ve been searching the App Store and have also been trying to find some information on the internet on how to obtain it but haven’t found any clues. Anybody knows how to get it? And if it isn’t yet available, will it become available in a future download of iPadOS 15 beta or will it be a standalone download? Where would I find the latter? It’s my first time trying betas. Thanks! PS: is it supported on iPad Air 2 to begin with?
3
0
5.3k
Jul ’21